arduino / arduino/Arduino

Triple-click highlighting issue--Mac v1.6.6

Open
#4,135 3 comments 0 reactions 0 assignees View on GitHub
Component: IDE user interface Help wanted OS: OSX Type: Bug Type: Regression
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Triple-click mouse line highlighting functionality is broken in 1.6.6

In prior versions the triple-click appears to have been detected on mouse button_down, which made it possible to highlight an entire line, keep the button down and highlight whole sections without having to carefully position the cursor. This is the standard behavior in other Mac programs.

Now it appears that mouse button_release is used, making it impossible to do this. Triple-click does highlight the line, but it can now only be used for one line. If you triple-click on a variable name, it wants to drag the text, not select the line. Using four-clicks does not fix the issue as it then wants to drag a whole line of text.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. First reproduce the triple-click behavior in Arduino IDE 1.6.6 and compare it with an earlier version, then trace the mouse button-down and button-release handling in the editor. Done means triple-clicking selects a line while the button remains down and allows extending the selection across lines without dragging text.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.