Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse doubleclick stops continous pressed events. #3404

Open
tig opened this issue Apr 14, 2024 · 2 comments · May be fixed by #3837
Open

Mouse doubleclick stops continous pressed events. #3404

tig opened this issue Apr 14, 2024 · 2 comments · May be fixed by #3837
Labels
Milestone

Comments

@tig
Copy link
Collaborator

tig commented Apr 14, 2024

I can reproduce in the Buttons scenario:

  • Hold the mouse perfectly still and press-release then press-hold again. Increments once, but then does not repeat:

https://i.imgur.com/eE3BSgr.gif

Using the Mouse scenario the issue has to do with the doubleclick logic.

Here, I just pressed-hold-released:

image

Here, I pressed-released-pressed-hold:

image

Originally posted by @tig in #3323 (comment)

@BDisp
Copy link
Collaborator

BDisp commented Apr 14, 2024

Double clicking on the second image is controlled by the Win32 API which sends the double click flag and there is no way to avoid this, even if the button is pressed.

@sillycowvalley
Copy link

Any progress on this issue: I can easily repro : if you click a 2nd time without moving the mouse, you get no 2nd click event.
This is where I got stuck on the road to processing double clicks. Happy to provide more testing and feedback.

@tig tig moved this to 🆕 Not Triaged in Terminal.Gui V2 Alpha May 20, 2024
@tig tig moved this from 🆕 Not Triaged to 📋 Approved - Need Owner in Terminal.Gui V2 Alpha May 20, 2024
@tig tig added this to the V2 Alpha milestone May 25, 2024
@tig tig moved this to 📋 Approved - Need Owner in Terminal.Gui V2 Initial Release Jul 11, 2024
@tig tig modified the milestones: V2 Alpha, V2 Beta Jul 11, 2024
@tig tig linked a pull request Nov 23, 2024 that will close this issue
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Approved - Need Owner
Status: 📋 Approved - Need Owner
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants