Skip to content

Conversation

@Theo-Dann-Muirhead-Renesas
Copy link
Contributor

@Theo-Dann-Muirhead-Renesas Theo-Dann-Muirhead-Renesas commented Jul 9, 2025

Fixes #344.

Running snippet 62 and double clicking used to register two up events but only one down event when there should also have been two. This was due to the use of SWT.MouseDoubleClick instead of SWT.MouseDown. I have modified it such that in the event SWT.MouseDoubleClick fails, SWT.MouseDown is tried instead. This keeps the double click as an option for the future if support is added.

I also changed the behaviour so triple clicks and higher are now treated as double clicks rather than being ignored.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 9, 2025

Test Results

   545 files  ±0     545 suites  ±0   27m 2s ⏱️ - 3m 7s
 4 406 tests ±0   4 388 ✅ ±0   18 💤 ±0  0 ❌ ±0 
16 745 runs  ±0  16 603 ✅ ±0  142 💤 ±0  0 ❌ ±0 

Results for commit b3dd614. ± Comparison against base commit ee60a45.

@akurtakov
Copy link
Member

Thanks for the patch. Merging as it's step in the right direction even if there is a lot more to support.

@akurtakov akurtakov merged commit 4a27cde into eclipse-platform:master Jul 9, 2025
17 checks passed
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.

[GTK4] Double click registers as one DOWN and two UP events instead of two of each

2 participants