Bug 443599 - Changing the window size while viewing images on <100% makes zoom jump to 100
Summary: Changing the window size while viewing images on <100% makes zoom jump to 100
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-10-11 15:27 UTC by Gabriel
Modified: 2021-10-15 12:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Showcasing two cases that trigger the zoom change (1.36 MB, video/mp4)
2021-10-11 15:27 UTC, Gabriel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel 2021-10-11 15:27:43 UTC
Created attachment 142334 [details]
Showcasing two cases that trigger the zoom change

SUMMARY
If you view an image in Gwenview, zoomed to any amount less than 100%, and then resize the view area, the zoom will pop back to 100%. This happens for example when opening the side panel or resizing the window.

STEPS TO REPRODUCE
1. Open a picture in Gwenview
2. Set the zoom to any number less than 100%
3. Decrease the window size a bit or open the sidebar

OBSERVED RESULT
The zoom changes to 100%

EXPECTED RESULT
The zoom stays consistent

SOFTWARE
OS: KDE neon Testing Edition
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3 

ADDITIONAL INFORMATION
I guess that this is as a result of trying to keep the image from being smaller than the minimum fit. It shouldn't be triggered unless really needed though.
Comment 1 Gabriel 2021-10-15 12:28:13 UTC
I forgot to add: Tested with Gwenview version 21.08.2