microsoft / vscode

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

`Load More Stack Frames` renders poorly when horizontalScrolling enabled #225594

Open HolyBlackCat opened 1 month ago

HolyBlackCat commented 1 month ago

Does this issue occur when all extensions are disabled?: N/A (need some debugger extension to test)

Steps to Reproduce:

  1. Open the debugger for any language.
  2. Pause on a breakpoint. Either with a deep enough stack so that it doesn't load fully and shows Show N More Stack Frames message. OR some debugger extensions apparently don't load the stack at all by default, and display Load More Stack Frames after the first entry.
  3. Make sure the stack frames already shown have very long names.
  4. Observe that the Load More Stack Frames (or Show N More Stack Frames) is centered relative to the longest frame name, making it completely invisible if frame names are long and the panel is narrow. See picture:

Completely invisible on small panel widths: pic

Only starts appearing on large panel widths: pic

I suggest that this text should be centered based on the physical panel width (ignoring the scroll).

roblourens commented 1 month ago

Is this with workbench.list.horizontalScrolling enabled? Or no?

HolyBlackCat commented 4 weeks ago

Yep! Doesn't happen with "workbench.list.horizontalScrolling": false.

HolyBlackCat commented 3 weeks ago

@roblourens I have provided the information requested, friendly ping to update the issue status.