microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.91k stars 28.76k forks source link

Annoying UI with easy(?) fix #147403

Closed bjornallvin closed 2 years ago

bjornallvin commented 2 years ago

Issue Type: Feature Request

When you hover over some underlined problem and a popup appears with options. I tend to move my mouse in a straight line towards the option I'd like to click on. But since this takes the mouse outside the popup box for a fraction of a second, the option disapears just when the pointer reaches the option. Please add a timer of roughly 200ms before you hide the popup. In the old jQuery days this effect was called 'hoverIntent'. Would be a huge improvment on this UX.

image

VS Code version: Code 1.66.0 (e18005f0f1b33c29e81d732535d8c0e47cafb0b5, 2022-03-30T05:50:04.419Z) OS version: Darwin x64 21.4.0 Restricted Mode: No

gjsjohnmurray commented 2 years ago

See also #120016

PositiveUser commented 2 years ago

Include "editor.hover.sticky": true in Settings.json and see if your issue fixes. I had the same issue.

bjornallvin commented 2 years ago

Include "editor.hover.sticky": true in Settings.json and see if your issue fixes. I had the same issue.

Thanks @PositiveUser but does not adress the issue. That setting (which I have turned on) says to keep the popup open as long as you hover over it. The issue is that the popup dissapears while I move from the underlined section towards an link inside the popup. And on the way there the mouse cursor is not on top of either the underlined section or the popup. If there was a small delay when hiding the popup it would allow the mouse cursor time to "bridge" the gap.

clenemt commented 2 years ago

This is the most annoying thing so far with vscode hover. Gitlens uses them extensively when in blame mode, and it takes me sometime 5 interaction to be able to click some of those buttons inside the hover. I understand this is a vscode issue hence this comment. Pinging @eamodio just in case. It became event worst since the last May update. image