microsoft / vscode

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

History graph diff always shows horizontal scroll bar #225514

Open klaussner opened 2 months ago

klaussner commented 2 months ago

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

Steps to Reproduce:

  1. Open a Git repository.
  2. Go to the source control view.
  3. Click on a commit in the Incoming/Outgoing section.
  4. A horizontal scroll bar is shown at the bottom, but scrolling has no effect.

https://github.com/user-attachments/assets/d65726ef-a9cd-45bf-9fdc-7f5bc43b12fa

lszomoru commented 2 months ago

@klaussner, are you able to reproduce this with the latest VS Code Insiders release? Thanks!

klaussner commented 2 months ago

Hi @lszomoru! Yes, the scroll bar is still there in the latest Insiders release (8b7eb51f54d7e1492d9baf70454ab6547a4ff9df, 2024-09-10).

lszomoru commented 2 months ago

@klaussner, do you mind sharing a recording while using the latest Insiders release? Thanks!

klaussner commented 2 months ago

Sure, here's a video of the latest version:

https://github.com/user-attachments/assets/4b48ebbf-a255-4556-b3b2-66139b2cfa89

The issue only occurs in the inline diff editor ("diffEditor.renderSideBySide": false), but changing my other diff editor settings (like "diffEditor.experimental.useTrueInlineView": true) didn't make a difference.

lszomoru commented 2 months ago

@hediet could you please take a look? Thanks!