Bug 169114

Summary: Gwenview cache does not get refreshed
Product: [Applications] gwenview Reporter: Unai Garro <ugarro>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Unai Garro 2008-08-14 12:01:00 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.3  
OS:                Linux

If one displays an image using gwenview (either in gwenview app or in the kpart), the image gets cached and even if the image is edited, it does not get refreshed anymore until the application is restarted.

Straightforward steps to reproduce:

1) In Konqueror with kparts:
   - Open any folder containing images, in konqueror
   - Click on the image and open it (make sure konqueror is configured to open images using gwenview part, first)
   - Return to the same folder
   - Edit the image in gimp (or any other editor) and save it
   - Click on the image again in konqueror. The image is not updated

2) In Gwenview:
   - Open any image using gwenview
   - Edit the image in gimp (or any other editor) and save it
   - In gwenview, press File->Reload. The image is not updated


Out of curiosity, you can open a new konqueror instance, and check the image. It gets refreshed, but go back to the previous instance of konqueror... and the image is still cached and does not refreshed. So each instance of the kpart is caching images separately in memory.
Comment 1 Aurelien Gateau 2008-10-17 20:57:57 UTC
SVN commit 872659 by gateau:

Support reload in KPart.
BUG:169114


 M  +3 -0      gvpart.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=872659
Comment 2 Aurelien Gateau 2008-10-17 21:03:00 UTC
SVN commit 872665 by gateau:

Support reload in KPart.
BUG:169114


 M  +3 -0      gvpart.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=872665