Inconsistent Zoom Out behavior using CTRL + Mouse Wheel Scroll Down
Description Previously, I always use CTRL + Mouse Wheel to quickly zoom in and out of images in Pinta.
But right now after compiling latest from source with pinta-git package on Arch Linux AUR, zoom out behavior is inconsistent, either:
- It zooms out the image just fine
- It scrolls across the entire image height (Y-axis) first before zooming out
To Reproduce
- Open Pinta
- Paste any image that have quite decent height (I just took screenshot of Pinta's README.md, 1455x996 image)
- Zoom in anywhere on the image using CTRL + Scroll Wheel Up
- Release CTRL
- Vertically scroll the image (up/down) a bit using the scroll wheel (avoid scrolling to the vertical edges)
- Zoom out using CTRL + Scroll Wheel Down
- The Problem: Pinta tries to vertically scroll down the image before attempting to zoom out
Additional Info Here's a video showing the issue (Vertically scrolling the image before zooming out):
https://github.com/user-attachments/assets/6d111126-9600-4935-a9f2-e5c1115a185e
Here's a video showing the usual behavior (I didn't vertically scroll the image this time):
https://github.com/user-attachments/assets/704a63f7-95c8-4921-95f5-b3a12a7e1f9b
Tried to recompile from source again just in case of a bad compilation, still same issue.
Version OS: Arch Linux 6.17.1-zen, KDE Plasma 6.4.5 (X11) Pinta: 3.1
I'm new to this software, but having a similar issue Linux Mint 22.2 (Cinnamon 6.4.8)
I think this can probably be merged with #1027, but you mention that the behaviour seemed different in the latest version of Pinta - which version were you previously using where things behaved differently?
@cameronwhite I'm not exactly sure which version (the usual case of "Didn't notice until it breaks" + "Let's just wait, probably will be fixed the next month I do system update"), so right now I have no idea at all which version introduces the bug.
But going back through branches, here's what I found:
release-3.0(Pinta 3.0.4) - Bug occurred ❌release-2.1(Pinta 2.1.2) - Bug didn't occur ✔️
Going back through releases:
- Pinta 3.0 - Bug occurred ❌
- Pinta 3.0 Beta 1 - Bug occured ❌
- Pinta 2.1.2 - Bug didn't occur ✔️
Unfortunately due to time constraints, I didn't have time to go through random commits between 2.1.2 -> 3.0-beta1.
But if you can pick commits for me to test, just @ me 👍🏻
Friendly ping (I noticed the info needed label wasn't updated for ~4 days): @cameronwhite
Thanks! There's a good chance it was some change in the GTK4 port for Pinta 3.0, so it's probably not worth tracking down the commit further