Skip to content

Show on-demand hyperlinks sooner after the mouse rests - #4583

Merged
merks merged 1 commit into
eclipse-platform:masterfrom
vogella:hyperlink-detection-delay
Nov 21, 2026
Merged

merks merged 1 commit into
eclipse-platform:masterfrom
vogella:hyperlink-detection-delay

Conversation

@vogella

@vogella vogella commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Since #4410, on-demand hyperlink detection waits until the mouse has rested for 200 ms while the modifier is held, and every mouse move restarts that timer. On macOS the pointer keeps reporting moves while it stays within the same character, so the link appears late or not at all until the pointer is completely still. Detection is now only rescheduled when the text offset under the mouse changes, and the rest delay is lowered to 30 ms. A key press such as Ctrl+C cancels a pending detection, but held keys are deliberately not tracked: moving the pointer while Ctrl+C is still down can detect after the delay, because tracking key state across widgets added more edge cases than it prevented.

Fixes eclipse-platform/eclipse.platform.swt#3879

Loading
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

Successfully merging this pull request may close these issues.

performance regression for mouse over menu (go to definition)

5 participants