| Summary: | Zoom 100% and back to Fit window broken since spin box commit | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | Leszek Lesner <leszek.lesner> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | antonio.prcela, nate |
| Priority: | HI | Keywords: | regression |
| Version First Reported In: | Git (add output of "git log -1 --oneline" to description) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/gwenview/commit/dcf34b852e58d0ba1a32d2d94889d7392e731918 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Leszek Lesner
2021-01-25 08:03:57 UTC
Antonio, can you investigate? Thanks! (In reply to Nate Graham from comment #1) > Antonio, can you investigate? Thanks! Yes, i hope to fix it until friday. A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/32 (In reply to Bug Janitor Service from comment #3) > A possibly relevant merge request was started @ > https://invent.kde.org/graphics/gwenview/-/merge_requests/32 This should do the trick. I've tested and it works as it used to. Can you also test? This seems to fix it for me aswell. Thank you for the quick fix. Git commit dcf34b852e58d0ba1a32d2d94889d7392e731918 by Antonio Prcela. Committed on 27/01/2021 at 17:49. Pushed by ngraham into branch 'master'. Fix zoom with F or middle mouse click caused by the introduction of the spinbox in 2cdaca95 With the introduction of the spin box, the F button / middle mouse click don't work properly anymore. Problem caused because the spinbox did an emitZoomChanged even tho the zoom was changed by something else than the spinbox. In the case from the bug report it is 'Fit to window'. Spin box emits now only after it had focus - either by mouse scroll change or manually typing a value into it. M +3 -1 lib/zoomwidget.cpp https://invent.kde.org/graphics/gwenview/commit/dcf34b852e58d0ba1a32d2d94889d7392e731918 |