Pinta icon indicating copy to clipboard operation
Pinta copied to clipboard

Inconsistent Zoom Out behavior using CTRL + Mouse Wheel Scroll Down

Open TIRTAGT opened this issue 2 months ago • 5 comments

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

  1. Open Pinta
  2. Paste any image that have quite decent height (I just took screenshot of Pinta's README.md, 1455x996 image)
Image

  1. Zoom in anywhere on the image using CTRL + Scroll Wheel Up
  2. Release CTRL
  3. Vertically scroll the image (up/down) a bit using the scroll wheel (avoid scrolling to the vertical edges)
  4. Zoom out using CTRL + Scroll Wheel Down
  5. 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

TIRTAGT avatar Oct 18 '25 14:10 TIRTAGT

I'm new to this software, but having a similar issue Linux Mint 22.2 (Cinnamon 6.4.8)

VirtualScallop avatar Oct 31 '25 07:10 VirtualScallop

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 avatar Nov 01 '25 16:11 cameronwhite

@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:

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 👍🏻

TIRTAGT avatar Nov 02 '25 13:11 TIRTAGT

Friendly ping (I noticed the info needed label wasn't updated for ~4 days): @cameronwhite

TIRTAGT avatar Nov 06 '25 19:11 TIRTAGT

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

cameronwhite avatar Nov 07 '25 03:11 cameronwhite