[Bug 284136] New: After moving images the old thumbnails remain there.

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 284136] New: After moving images the old thumbnails remain there.

pochini
https://bugs.kde.org/show_bug.cgi?id=284136

           Summary: After moving images the old thumbnails remain there.
           Product: digikam
           Version: 2.2.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Albums GUI
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.2.0 (using KDE 4.6.5)
OS:                Linux

This bug was not present in 2.1.1. When I move one image it is actually moved
to the destination folder or trash, but sometimes its thumbnail also remains in
the old place. Since the old thumbnail hasn't the associated image anymore it
cannot be moved or deleted again. F5 does not help. This happens more often
when many images are moved at once.

Reproducible: Sometimes

Steps to Reproduce:
Select some pics and hit DEL.

Actual Results:  
Pics are moved to trash, but their thumbs stay.

Expected Results:  
The thumbs should go too.

Since the bug is not reliably reproduceable, I thought is was caused by some
sort of race condition. I also guessed it had to do with the notify mechanism.
Digging into the diff from 2.1.1 I noticed this change:

-----
2011-09-17  Marcel Wiesweg <[hidden email]>
    [...]Instead of imageInfosDeleted, use an interval based notify
    method which has no overhead (imageInfosDeleted can be slow
    because the list needs to be built)
-----

So I tried to revert all the changes in:

core/libs/models/imagemodel.cpp
core/libs/models/imagemodel.h
core/libs/models/imagethumbnailmodel.cpp
core/libs/models/imagethumbnailmodel.h

and the problem doesn't show up anymore.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284136] After moving images the old thumbnails remain there.

Marcel Wiesweg
https://bugs.kde.org/show_bug.cgi?id=284136





--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-11-05 13:14:39 ---
What does help: Going to another album and going back? Quitting digikam and
restarting?
Does it only happen with move-to-trash or also with a normal move to another
album?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284136] After moving images the old thumbnails remain there.

pochini
In reply to this post by pochini
https://bugs.kde.org/show_bug.cgi?id=284136





--- Comment #2 from  <pochini shiny it>  2011-11-13 20:13:05 ---
On Sat, 05 Nov 2011 13:14:39 +0000
Marcel Wiesweg <[hidden email]> wrote:

> https://bugs.kde.org/show_bug.cgi?id=284136
>
>
>
>
>
> --- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-11-05 13:14:39 ---
> What does help: Going to another album and going back? Quitting digikam and
> restarting?
> Does it only happen with move-to-trash or also with a normal move to another
> album?

Sorry for the late answer...

No, the thumbmail is still in the db after those operations. It looks like
they are never deleted.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284136] After moving images the old thumbnails remain there.

pochini
In reply to this post by pochini
https://bugs.kde.org/show_bug.cgi?id=284136





--- Comment #3 from  <pochini shiny it>  2011-12-10 17:01:49 ---
It seems this problem in Digikan 2.4.1 does not occur anymore. I'm using this
version for three days and all the images I moved to the trash or to other
folders didn't leave any ghost in the source folder. Furthermore, it looks like
those operations are much faster than before.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284136] After moving images the old thumbnails remain there.

Gilles Caulier-4
In reply to this post by pochini
https://bugs.kde.org/show_bug.cgi?id=284136


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284136] After moving images the old thumbnails remain there.

Gilles Caulier-4
In reply to this post by pochini
https://bugs.kde.org/show_bug.cgi?id=284136

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.5.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 284136] After moving images the old thumbnails remain there.

bugzilla_noreply
In reply to this post by pochini
https://bugs.kde.org/show_bug.cgi?id=284136

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|AlbumsView                  |Thumbs-Engine

--
You are receiving this mail because:
You are the assignee for the bug.