keyviz icon indicating copy to clipboard operation
keyviz copied to clipboard

"DRAG" Continuously on

Open PhlOuros opened this issue 2 years ago • 3 comments

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.

PhlOuros avatar Dec 05 '23 13:12 PhlOuros

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?

mulaRahul avatar Jan 11 '24 10:01 mulaRahul

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.

petoncle avatar Jan 25 '24 14:01 petoncle

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

mulaRahul avatar Apr 21 '24 15:04 mulaRahul