Skip to content

Fix overlay scrollbar intercepting clicks on selection handles at image edges (#2200)#2201

Open
AoMas17 wants to merge 1 commit into
PintaProject:masterfrom
AoMas17:master
Open

Fix overlay scrollbar intercepting clicks on selection handles at image edges (#2200)#2201
AoMas17 wants to merge 1 commit into
PintaProject:masterfrom
AoMas17:master

Conversation

@AoMas17

@AoMas17 AoMas17 commented Jun 21, 2026

Copy link
Copy Markdown

This PR fixes #2200 by preventing overlay scrollbars from capturing pointer events when the current tool is interacting with a selection resize handle near the canvas edge.

When a rectangle or ellipse selection reaches the image boundary and the canvas is zoomed in enough for scrollbars to appear, the scrollbar can overlap the resize handle and block interaction. With this change, the selection tool temporarily keeps the scrollbar from targeting pointer events while the cursor is over an active handle, so the handle remains draggable as expected.

I also attached a before/after video showing the problem and the fix in action.

This is my first contribution to Pinta, so I'm not yet familiar with the project's roadmap or preferred development practices. I'm very open to feedback and happy to rework any part of this PR if needed.

before.mp4
after.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overlay scrollbar intercepts clicks on selection handles at image edges when zoomed in

1 participant