microsoft / vscode

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

[ux] `window.titleBarStyle: "custom"` causes rightmost pixels to resize window instead of actioning scrollbar #203734

Open ronjouch opened 7 months ago

ronjouch commented 7 months ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce

  1. Set pref window.titleBarStyle to "custom"
  2. Tile VSCode to the right of the screen (under Windows or GNOME Shell: Meta+Right)
  3. Try to scroll by clicking the right scrollbar at the right edge of the screen (the right-most column of pixels of the screen)

Expected: the scrollbar gets clicked and the buffer viewport scrolls up/down.

Actual: a window border gets clicked and the window resizes. This is annoying because it breaks "throw mouse to very right and click", said differently it breaks Fitt's Law, by increasing distance/difficulty to hit the right scrollbar.

Screencast

https://github.com/microsoft/vscode/assets/522085/8a634c57-ec98-42f1-94a9-6c1863623279

ronjouch commented 4 months ago

Hi @sbatten. Our bot friend VSCodeTriageBot assigned this to you for triage several months ago. Any chance you look into it, or re-assign to someone for triage?

This bug remains reproducible today, and I updated the description to reflect today's versions of everything.

(This will be my only follow-up. I understand you might be busy and I don't wish to harrass. I'm doing this one-time ping because this VSCodeTriageBot assignment means you do have a process, so here’s a single follow-up in case this issue slipped through the cracks).

Thank you.