Bug 293919

Summary: Viewed image not updated when flipping image
Product: [Applications] gwenview Reporter: Frederik Schwarzer <schwarzer>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: benni, nate
Priority: NOR    
Version First Reported In: 2.7   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Frederik Schwarzer 2012-02-12 18:08:21 UTC
Version:           2.7
OS:                Linux

When I use
Plugins -> Images -> Flip -> *
the image is not updated. Neither is the preview in the Browser view. Even when I then select the image again to be shown, it shows the old image. I have to restart Gwenview to see the updated image (the preview remains the old one though).

Reproducible: Always

Steps to Reproduce:
1) Open an image folder and click on an image to have it shown
2) Select Plugins -> Images -> Flip -> Horizontally
(nothing happens)
3) Switch back to the Browse view
(preview still the old one)
4) Click on the image again
(image still the old one)
5) Quit Gwenview
6) Re-open it with the same folder
(preview still the old one)
7) Click on the image again
(image is the new one)


Expected Results:  
Lorem ipsum ... I hate that this field it mandatory ...

OS: Linux (i686) release 3.2.4-fs
Compiler: gcc
Comment 1 Benni Hill 2012-12-08 21:16:09 UTC
As a workaround you can use F5 to reload the previews and the whole image, but this should of course been fixed.
Comment 2 Benni Hill 2013-05-27 18:34:19 UTC
Git commit 909a06a66685a6f2599bedd56b76e2d905acf7ad by Benjamin Löwe.
Committed on 27/05/2013 at 20:29.
Pushed by bennihill into branch 'master'.

ThumbnailView:
Detect changed images with the help of the file size. (This is
necessary when the modification time doesn't change.)
REVIEW: 110652

M  +8    -5    lib/thumbnailprovider/thumbnailprovider.cpp
M  +4    -1    lib/thumbnailprovider/thumbnailprovider.h
M  +13   -7    lib/thumbnailview/thumbnailview.cpp
M  +1    -1    lib/thumbnailview/thumbnailview.h

http://commits.kde.org/gwenview/909a06a66685a6f2599bedd56b76e2d905acf7ad
Comment 3 Benni Hill 2013-05-27 18:38:51 UTC
Starting with 4.11.0 the preview image should automatically reloaded after flipping, rotating, etc.
Comment 4 Nate Graham 2017-09-10 03:36:32 UTC
Yup, it does.