Bug 168837

Summary: icons that display an image preview on desktop do not update after the image is modified
Product: [I don't know] kde Reporter: Ron <linuxed7>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andresbajotierra, finex, mumismo
Priority: NOR Keywords: needs_verification
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: this is a screenshot of the bug described
screenshot of dolphin window with preview enabled

Description Ron 2008-08-10 08:54:35 UTC
Version:            (using KDE 4.1.0)
Installed from:    Ubuntu Packages
OS:                Linux

Steps to reproduce:

1. Install imagemagick
2. Create a 24-bit image (jpeg or png) and save it to your desktop
3. Run the following from your terminal

cd /home/username/Desktop
imagemagick -monochrome *.png

4. The image preview that is displayed on the desktop icon remains the same even after the image is modified.  You can hover the mouse cursor over the file which will display a popup containing the correct black/white image, but the icon itself never changes.
Comment 1 Ron 2008-08-10 11:02:39 UTC
Created attachment 26765 [details]
this is a screenshot of the bug described

the image preview that is displayed on the icon is different from the preview
that is displayed in the popup when the mouse cursor hovers over the file.
Comment 2 Ron 2008-08-10 13:22:30 UTC
Ignore the imagemagick command above.  The correct command is listed below.

mogrify -monochrome *.png
Comment 3 FiNeX 2008-08-13 10:34:19 UTC
What does it happen if, for example, you modify the image using an external software like The Gimp?

Does it happen even on dolphin with previews enabled?
Comment 4 Jordi Polo 2008-11-27 08:07:00 UTC
I am confused. Do you use kde4 or kde3.
You stated kde4 but the image looks like kde3.
Comment 5 Ron 2008-11-27 19:45:00 UTC
Sorry for the confusion.  I incorrectly posted v4 instead of v3.  I've since updated to KDE4 so I haven't been able to perform the test mentioned by FiNeX above.
Comment 6 FiNeX 2008-11-28 13:09:29 UTC
So you cannot reproduce this problem using KDE 4?
Try to enable tooltips and test it on a folder view plasmoid. Thanks!
Comment 7 Ron 2008-11-28 23:06:23 UTC
Created attachment 28906 [details]
screenshot of dolphin window with preview enabled

I originally filed this bug thinking it was specifically related to the desktop thumbnail previews.  The images that I posted above were taken of the KDE3 desktop.  Since I'm now using KDE4 I wasn't aware that it was even possible to enable thumbnail previews in a folder view widget.  If I right click in a folder view widget and click 'folder view settings' it doesn't give me any option to enable previews so I'm not able to test this bug on the KDE4 desktop.  Is it possible to enable 'folder view widget' thumbnail previews?

However as it turns out it also occurs in Dolphin with Preview enabled.  If I open a folder in Dolphin (with Preview enabled) that contains a 24-bit png file and then type "mogrify -monochrome *.png" from the terminal then the thumbnail image never updates.  I can hover over it to show the correct black and white image in the preview area to the right, but the thumbnail never updates unless I click reload in the Dolphin window.  I've also tried converting a 24-bit png image to b/w from within GIMP and the same issue occurs.
Comment 8 Dario Andres 2009-05-01 14:59:11 UTC
The original bug can't be reproduced.
The last comment is bug 168666. 
Closing as WORKSFORME.
Thanks