editor.hover.delay
setting not used by new windows
#571
Labels
conclusion: resolved
Issue was resolved
criticality: medium
Of moderate impact
priority: low
Resolution is a low priority
topic: code
Related to content of the project itself
topic: theia
Related to the Theia IDE framework
type: imperfection
Perceived defect in any part of project
Describe the problem
When the mouse pointer is hovered over a code item, a pop up called the "editor hover" appears that provides information supplied by the language server about that item:
The "editor hover" appears after a delay. The timing of this delay is critical to the user experience of the IDE. Too short of a delay will result in distracting unintentional appearances of the hover caused by the mouse pointer passing over random bits of code. Too long of a delay will make the hover annoyingly unresponsive. The appropriate delay duration is subjective and the default 300 ms will not be to the liking of some users. This can be adjusted according to their preference via the
editor.hover.delay
setting in the IDE's advanced settings.🐛 The
editor.hover.delay
configuration setting is not used to determine hover delay duration after opening a new IDE window.To reproduce
editor.hover.delay
value in~/.arduinoIDE/settings.json
and save the file. For example, to set the delay to 5000 ms:setup
in the demo sketch above) and wait for the hover UI element to appear.🙂 The delay between the start of hovering the mouse pointer over the code and the appearance of the hover UI element matches the custom
editor.hover.delay
setting.Note: the issue is not specific to File > New. It occurs any time a new window is opened, including when opening existing sketches or restarting the IDE.
🐛 This time the hover delay is the default 300 ms rather than the expected custom duration.
Expected behavior
Hover delay duration is always according by the
editor.hover.delay
setting.Arduino IDE version
Original report
2.0.0-beta.12-nightly.20211021
Last verified with
2.0.1-snapshot-96cf09d
Operating system
Windows, Linux
Operating system version
Windows 10, Ubuntu 20.04
Additional context
The same bug also occurs with the
editor.scrollbar.scrollByPage
andeditor.find.addExtraSpaceOnTop
settings.The bug does not occur with the
editor.autoClosingBrackets
andeditor.dragAndDrop
settings.I did not do a comprehensive survey, but I note the keys of affected settings have three levels while the unaffected have two levels.
I can reproduce the bug in Theia Blueprint 1.25.0 (the version of Theia currently used by Arduino IDE) and 1.29.0 (the latest version).
I can not reproduce the bug in VS Code.
Originally reported at https://forum.arduino.cc/t/issues-with-pop-up-info/698527/6
Issue checklist
The text was updated successfully, but these errors were encountered: