Skip to content

Use a drag gesture for mouse events#1891

Merged
cameronwhite merged 5 commits into
masterfrom
fix/drag-gesture
Dec 19, 2025
Merged

Use a drag gesture for mouse events#1891
cameronwhite merged 5 commits into
masterfrom
fix/drag-gesture

Conversation

@cameronwhite

@cameronwhite cameronwhite commented Dec 18, 2025

Copy link
Copy Markdown
Member

This seems to be more robust than using a separate click gesture and mouse move event controller, avoiding the issue in the referenced bug report where the mouse up event is not triggered

I still need to do some more testing on other platforms, but with a trackpad on macOS I could no longer reproduce the issue with the mouse-up not working

  • Update the canvas widget
  • Update ColorGradientWidget
  • Update ColorPickerDialog
  • Update CurvesDialog

Fixes: #1456

This seems to be more robust than using a separate click gesture and mouse move event controller, avoiding the issue in the referenced bug report where the mouse up event is lost

Fixes: #1456
@cameronwhite cameronwhite marked this pull request as ready for review December 19, 2025 17:31
@cameronwhite cameronwhite merged commit 580ca10 into master Dec 19, 2025
7 checks passed
@cameronwhite cameronwhite deleted the fix/drag-gesture branch December 19, 2025 17:31
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.

Mouse-Up not registered if mouse is moving

1 participant