Created attachment 86959 [details] screenshot of gwenview showing the problem instead of the actual zoom level, gwenview sometimes just shows "0%" although the image is correctly shown to reproduce: 1. run gwenview and open a folder with at least two images 2. open the first image by clicking on it 3. change zoom level to 200% 4. step to the next image 5. step back to return to the first image after those steps gwenview has remembered to show the first image at 200% and displays it accordingly, but says that the zoom level is 0%
The reason this happens is that q->zoomChanged() is not called from within DocumentViewPrivate::setCurrentAdapter(). I am attaching a fix for this bug (as run against the current Git tree).
Created attachment 87656 [details] Fix for bug 335675
John, thanks for the investigation and patch! I suggest to create a review request at https://git.reviewboard.kde.org/ Please replace tabs with spaces before posting it there.
John, any success with comment #3?
Ignore my last comment, this is supposed to be fixed with your other patch. *** This bug has been marked as a duplicate of bug 337262 ***