microsoft / vscode

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

Explorer hover text can become sticky when primary side bar is positioned on the right #174547

Open gjsjohnmurray opened 1 year ago

gjsjohnmurray commented 1 year ago

Type: Bug

When hover is too long to fit exactly over the tree item it gets relocated left, but then is no longer under the mouse. This means it remains on screen.

junk

VS Code version: Code - Insiders 1.76.0-insider (dc619de8d9efdabd781fc5658d0051813c347055, 2023-02-16T05:23:44.671Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: Yes

gjsjohnmurray commented 1 year ago

/assign @lramos15

gjsjohnmurray commented 1 year ago

Latest Insiders defaults to old style hover tips. 👍

Version: 1.76.0-insider (user setup) Commit: 96a795cc0b1cd62f9ff66c347637f917c6dde3da Date: 2023-02-17T22:22:55.538Z

After re-enabling the new style ones:

"explorer.experimental.hover": true

I am pleased that the click-through and mousewheel-scroll-through issues reported elsewhere seem to have been fixed.

This shift-left issue remains, and the displaced tip now mostly disappears under the editor:

image

lramos15 commented 1 year ago

This shift-left issue remains, and the displaced tip now mostly disappears under the editor:

Yeah that's why we're not ready to ship this just yet. It seems like the fix for scroll and mouse click (which involves making the hover a child element of the list item) causes the hover to get bound to the list making it useless for long file names. You can see this even on the left hand side with a long file name. The whole text won't be visible.