Skip to content

Double-clicking does not select words under the cursor as expected (when using tablet) #10612

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

Open
Kromster80 opened this issue Aug 8, 2020 · 2 comments
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE Type: Bug

Comments

@Kromster80
Copy link

Setup:

  • Have a tablet pointing device instead of a mouse
  • Open Arduino IDE and any code sketch in it
  • Double-click (double tap with pen) any word in the IDE

Expected behavior:

  • Whole word gets selected

Encountered behavior:

  • Word gets selected not in full, but only from its first letter to the cursor

Hardware "mouse" device - Wacom Tablet
Latest version tested on - 1.8.9

Description:
I'm using a Wacom Tablet instead of a mouse and "double-click to select a word in the IDE" does not work nice for me.
Tablets have this "thing" that when you click (double tap with pen) the cursor jumps 1-2px around (due the grip and motion of the pen tip not being perfectly vertical). This seems to be caused/related by the issue #824 where it starts to select the word on "double-click and drag".

Proposed solutions:
A. Allow for small 2px cursor jitter before the "double-click and drag" word selection starts (and possibly other similar "double-click and something" features)
B. Same as A, but do it only if there's a tablet pointing device detected
C. Allow to turn off the "double-click and drag" from IDE options

@Kromster80 Kromster80 changed the title Double-clicking does not select words under the cursor as expected Double-clicking does not select words under the cursor as expected (when using tablet) Aug 8, 2020
@dsyleixa
Copy link

dsyleixa commented Aug 13, 2020

I can confirm this issue as well for my Windows Notebook since a very long time using a common WL mouse (1.8.8, 1.8.9) .

@leftCoast
Copy link

And same for Mac OS, drive me crazy!

@per1234 per1234 added Component: IDE The Arduino IDE Component: IDE user interface The Arduino IDE's user interface Type: Bug labels Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface Component: IDE The Arduino IDE Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants