vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Revision Navigation bar disappeared

Open natajacks opened this issue 1 year ago • 11 comments

Description

Hi,

I don't see the revision navigation buttons in VS Code that I have seen in the past from GitLens.

Thank you,

Natalie

GitLens Version

13.5.0

VS Code Version

Version: 1.77.3 (user setup) Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710 Date: 2023-04-12T09:16:02.548Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: Yes

Git Version

git version 2.39.1.windows.1

Logs, Screenshots, Screen Captures, etc

image

natajacks avatar Apr 18 '23 16:04 natajacks

Hi Natajacks,

Could you please confirm for us that you the "Add revision history navigation commands" option is enabled in the Gitlens "Menus & Toolbars" section of the Settings page in the "add to the editor group toolbar" options?

image

Roberto-Vizcarra avatar Apr 18 '23 21:04 Roberto-Vizcarra

@natajacks Can you please enable debug logging by running the GitLens: Enable Debug Logging command from the Command Palette (F1 or ctrl/cmd+shift+p). This will enable logging to the GitLens & GitLens (Git) channels in the Output pane.

Once enabled, please reproduce the issue, and attach the logs from the GitLens and GitLens (Git) channels.

Thank you!

eamodio avatar Apr 27 '23 19:04 eamodio

Hi @Roberto-Vizcarra I'm not seeing that option in my settings.

@eamodio is this the log you're looking for?

vs_code_terminal_output_gitlens_debug_logging_enabled.txt

I'm wondering if my problem is related to the network drive settings rather than git/gitlens.

Thank you both for your help.

natajacks avatar Apr 27 '23 20:04 natajacks

Having this issue out of the blue. Yesterday everything was where it used to be, today it's missing. I did not update VSCode and my revision history commands are enabled in gitlens settings.

m-shum avatar Aug 14 '23 21:08 m-shum

On my end the navigation buttons are present in the file view, but when I navigate to the previous revision they disappear. However there is a three-dot button on the right, and it contains these navigation options, looks like there are too many toolbar actions when revision is shown and vscode hides some of the actions under this three-dot button.

There is an option to choose which actions we want to see by right-clicking on the three-dot button. So I was able to uncheck some of the actions and hopefully the revision navigation options became visible.

snax4a avatar Aug 28 '23 11:08 snax4a

Tried to find a setting to increase the maximum of 8 actions, but did not find anything. With tab wrapping there is more than enough space there.

Disabled a few things via the context menu on the actions to get previous/next back. image

brunnerh avatar Sep 29 '23 10:09 brunnerh

Tried to find a setting to increase the maximum of 8 actions, but did not find anything. With tab wrapping there is more than enough space there.

Disabled a few things via the context menu on the actions to get previous/next back. image

This was the solution for me. Disable a bunch if features until the important one comes back. So stupid

MylesWardell avatar Jan 05 '24 05:01 MylesWardell

Agreed. Please open an issue with VS Code on this as there isn't anything extensions can do to get around that limit.

eamodio avatar Jan 05 '24 05:01 eamodio

I have a similar issue. Although mine disappears after hitting the first click, so I can only review last change vs current. Last versions are in all extensions and VS Code.

Previously I do remember being able to navigate back through all commits.

Screenshot 2024-02-02 at 4 57 09 PM

Uploading Screenshot 2024-02-02 at 4.59.47 PM.png…

leopascual avatar Feb 02 '24 23:02 leopascual

Same for me. I did not update VSCode or anything. It was working totally well until yesterday but it disappeared today.

image

image

If i access the diff window through GitLens Inspect in the activity bar, the toolbar then appears.

image

imYourChoi avatar Jul 26 '24 04:07 imYourChoi

@imYourChoi this should be fixed in tomorrow 's pre-release version and if all looks good tomorrow we'll release a patch for the main version right after.

eamodio avatar Jul 26 '24 04:07 eamodio