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

"DRAG" Continuously on #218

Open
PhlOuros opened this issue Dec 5, 2023 · 3 comments
Open

"DRAG" Continuously on #218

PhlOuros opened this issue Dec 5, 2023 · 3 comments

Comments

@PhlOuros
Copy link

PhlOuros commented Dec 5, 2023

Describe the bug
There is a constant display of the DRAG mouse event even though there are no clicks, or drags.

Version: v2.0.0.alpha

To Reproduce
Steps to reproduce the behavior:

  1. Click
  2. Let go of left click
  3. Move mouse
  4. See error

Expected behavior
Display Left Click and not DRAG.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows 10/11

Additional context
Add any other context about the problem here.

@mulaRahul
Copy link
Owner

Hey @PhlOuros, I couldn't reproduce the same with your given steps. Can you share more details like the settings you're using (screenshot will do) and if possible a screen recording of the process?

@petoncle
Copy link

Hi @mulaRahul, I've also experienced the same problem with the drag key sometimes not going away (other keys too, actually). Right now, I can systematically reproduce it with keyviz 2.0.0-alpha, Windows 11, on Firefox:

  1. Press middle button: now Firefox shows the wheel cursor indicating that moving the mouse will scroll the page.
  2. Release middle button.
  3. Mouse the mouse: keyviz now starts showing the drag "key" as pressed. This is probably already incorrect since the middle button was released.
  4. Click left button: now the wheel cursor disappear and moving the mouse does not scroll the page anymore.
  5. Keyviz still shows the drag key as pressed.

There are other scenarios not involving the middle mouse button that caused the drag "key" to be stuck in keyviz but I couldn't find the exact reproduction steps yet.

@mulaRahul
Copy link
Owner

I've added a minimum threshold for a mouse move event to be considered drag in the v2.0.0a2.

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

No branches or pull requests

3 participants