https://bugs.kde.org/show_bug.cgi?id=432075
Bug ID: 432075 Summary: Zoom 100% and back to Fit window broken since spin box commit Product: gwenview Version: Git (add output of "git log -1 --oneline" to description) Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: gwenview-bugs-n...@kde.org Reporter: leszek.les...@web.de Target Milestone: --- SUMMARY Middle clicking or pressing F key to zoom 100% into an image works not when invoking the first time. Only second time. Zoom to fit window shows the same behavior and only works when invoked a second time. Also keys for navigation are not working when zoom to fit window is only invoked once as the image is not fully zoomed out to fit the window. STEPS TO REPRODUCE 1. Open Photo that is bigger than window (and have default fit to window set) 2. Press F or middle mouse click to zoom into image 3. Press again to zoom fit into window OBSERVED RESULT You need to multiple times press F / middle mouse click for the zoom to work. Fit to window zoom out does not really zoom out completely which makes left and right arrow keys not work anymore to switch to the next / previous image. EXPECTED RESULT It should work on first invoke of F / middle mouse click SOFTWARE/OS VERSIONS Linux/KDE Plasma: git master (5.21.80) (available in About System) KDE Plasma Version: 5.21.80 (git master 24.01.2021) KDE Frameworks Version: 5.79 (git master 24.01.2021) Qt Version: 5.15.2 ADDITIONAL INFORMATION The following commit is causing the issue: https://invent.kde.org/graphics/gwenview/-/commit/2cdaca95c1303c69466917398ef6e47b0f3de920 Reverting it fixes the issue. -- You are receiving this mail because: You are watching all bug changes.