Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimap keeps disappearing #116060

Closed
danini-the-panini opened this issue Feb 7, 2021 · 29 comments
Closed

Minimap keeps disappearing #116060

danini-the-panini opened this issue Feb 7, 2021 · 29 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release insiders-released Patch has been released in VS Code Insiders regression Something that used to work is now broken verified Verification succeeded

Comments

@danini-the-panini
Copy link

Issue Type: Bug

No idea how it started happening. Everything was fine and now all of a sudden my minimap is gone. I can bring it back by toggling it off and on, but then as soon as I switch to another file it is gone again.

VS Code version: Code 1.53.0 (8490d3d, 2021-02-03T20:36:38.611Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs AMD Ryzen 7 5800X 8-Core Processor (16 x 3793)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.92GB (22.35GB free)
Process Argv --crash-reporter-id acedcadc-a884-4359-95e3-f31b91b81fac
Screen Reader no
VM 0%
Extensions (19)
Extension Author (truncated) Version
vscode-custom-css be5 4.0.1
dart-code Dar 3.19.2
flutter Dar 3.19.0
vscode-eslint dba 2.1.14
vscode-wasm dts 1.3.1
csharp ms- 1.23.9
vscode-edge-devtools ms- 1.1.3
remote-ssh ms- 0.63.0
remote-ssh-edit ms- 0.63.0
atom-keybindings ms- 3.0.9
cmake-tools ms- 1.5.3
cpptools ms- 1.2.0
powershell ms- 2020.6.0
debugger-for-edge msj 1.0.15
vetur oct 0.32.0
indent-rainbow ode 7.5.0
slim sia 0.1.2
vscode-nginx wil 0.7.2
vscode-ruby win 0.28.0

(24 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
vstry914:30250197
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30251590

@spmeesseman
Copy link

same here. i thought i was going crazy lol

@GibsDev
Copy link

GibsDev commented Feb 8, 2021

I'm also experiencing this issue

@sarimarton
Copy link

sarimarton commented Feb 8, 2021

Confirmed. 1.53.0 / mac

@godliked
Copy link

godliked commented Feb 8, 2021

same

Version: 1.53.0 (user setup)
Commit: 8490d3d
Date: 2021-02-03T20:36:38.611Z
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.18363

@alexdima
Copy link
Member

alexdima commented Feb 8, 2021

Does this reproduce when disabling all extensions? (I have tried, but cannot reproduce using a vanilla install of 1.53.0)

@alexdima alexdima added the info-needed Issue requires more information from poster label Feb 8, 2021
@devstardude
Copy link

Same issue here.

@jcmcclorey
Copy link

I'm also having the same issue, can get the minimap back by closing and reopening the editor.

@ElenaVerdy
Copy link

@alexdima I turned all of the extensions off and on again and can't reproduce after that. Does this make any sense?
Simple restarting vscode didn't do it though

@RMacfarlane
Copy link
Contributor

@ElenaVerdy Do you mean that you disabled all of them and then re-enabled them? Did you still see the problem when they were all disabled?

Can others please comment on whether or not after running Extensions: Disable All Extensions you still see the problem?

@ElenaVerdy
Copy link

@RMacfarlane Yup, exactly. The problem went away when I disabled all extensions. I now have them all running and the minimap works too. I will let you know if it breaks again.

@sarimarton
Copy link

Disabling all extensions in itself didn't solve the issue, but disabling + quit and restart solved it. I then re-enabled my extensions and so far I can't reproduce the issue with enabled extensions.

@alexdima
Copy link
Member

alexdima commented Feb 9, 2021

Given the above comments, it appears that an extension you have installed decides to change the minimap editor option. You can try to narrow down which one it is using Extension Bisect:

  • run F1 > Help: Start Extension Bisect
  • (this will restart VS Code with half of your extensions disabled)
  • try to do the steps which reproduce the problem
  • if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
  • if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
  • these steps will repeat until the problematic extension is found
initial step final
image image image

@JanuszCh
Copy link

JanuszCh commented Feb 9, 2021

I had the same issue.

VSCode: 1.53.0
Mac: BigSur 11.1

I did the steps described above by @alexdima.

Result:

Extension Bisect is done and has identified zhuangtongfa.material-theme as the extension causing the problem.

This extension is One Dark Pro Theme.

The minimap issue has been resolved after disabling this extension.

EDIT 10 Feb 2020

After updating VSCode to version 1.53.1, I encountered a minimap problem again.

Extension Bisect is done and has identified xr0master.webstorm-intellij-darcula-theme as the extension causing the problem.

Extension: Webstorm IntelliJ Darcula Theme

And agin disabling that extension resolved problem with minimap.

EDIT 11 Feb 2020

Issue is still there.
It can be reproduce as @ChristianHecker said:
#116060 (comment)

After restart VSCode minimap is working fine until bug happened again

@ChristianHecker
Copy link

ChristianHecker commented Feb 9, 2021

At the last update 1.53.0 i switched to wrap editor tabs in the workbench instead of having a scrollbar.
I reversed it and haven't had any problems for 2 hours.
I will let you know when the problem occurs again.

10.Feb 2020
Problem is back
I don' t use Dracula or One Dark Pro Theme
I disabled all extensions and then re-enabled them.
Now it works. let's see how long.

@danini-the-panini
Copy link
Author

danini-the-panini commented Feb 10, 2021

I think I solved it by removing the vscode-custom-css extension, even though I'm sure I didn't have any custom CSS added at the time. Oh well ¯\_(ツ)_/¯

@brunottonurb
Copy link

brunottonurb commented Feb 10, 2021

For me it was apparently caused by Sort lines. Isn't it weird that so many different extensions cause issues with the minimap? Maybe the problem lies elsewhere...

@danini-the-panini
Copy link
Author

I think I solved it by removing the vscode-custom-css extension, even though I'm sure I didn't have any custom CSS added at the time. Oh well ¯\_(ツ)_/¯

Scratch that, it started happening again. I'm going to have to bisect my extensions now 😑

@IceTDrinker
Copy link

IceTDrinker commented Feb 10, 2021

Is this confirmed to be linked to extensions ? It feels like it started with the latest vscode update more than anything else
EDIT : I have no theme linked extensions
Here are the installed ones :

EditorConfig.EditorConfig
matklad.rust-analyzer
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode-remote.remote-wsl
ms-vscode-remote.vscode-remote-extensionpack
ms-vscode.cpptools
VisualStudioExptTeam.vscodeintellicode

@IceTDrinker
Copy link

When the bug started to trigger, I was able to reliably reproduce the issue by switching between two files, a .sh and a .py file while the scrollbar for editors is active, no idea if the scrollbar is relevant. The minimap would disappear every time

@ChristianHecker
Copy link

It must have something todo with the last update.
I just disabled all my extensions and the problem is still there.

I can reproduce the issue (no extensions are enabled):

  1. I change and save something on the page.
  2. Then I discard the changes via GIT.
    (Not in the source control panel. Directly by clicking on the color bars close to the line numbers.)
  3. If I now change the page by clicking on another tab the minimap is gone.

@IceTDrinker
Copy link

That would make sense, I sometimes use this too, I’ll check if I can repro

@Oskenso
Copy link

Oskenso commented Feb 11, 2021

I experienced this bug today, seems to happen everytime I switch tabs. The "Show Minimap" button also stays checked even if it is not shown

@sfertman
Copy link

Same here, everything worked fine until the last update.

OS

macOS Mojave 10.14.2

VSCode

Version: 1.53.1
Commit: 5d424b828ada08e1eb9f95d6cb41120234ef57c7
Date: 2021-02-08T23:35:15.302Z (2 days ago)
Electron: 11.2.1
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 18.2.0

@IceTDrinker
Copy link

Can confirm that using the inline git tools (reverting changes by using the colored tools on the left of the document) and then switching to a new file triggers the bug

@alexdima alexdima added candidate Issue identified as probable candidate for fixing in the next release and removed info-needed Issue requires more information from poster labels Feb 11, 2021
@alexdima alexdima added this to the January 2021 Recovery 2 milestone Feb 11, 2021
@alexdima alexdima added bug Issue identified by VS Code Team member as probable bug regression Something that used to work is now broken labels Feb 11, 2021
@alexdima
Copy link
Member

Thank you @IceTDrinker . I can reproduce with your steps:

TO_UPLOAD

@edi
Copy link

edi commented Feb 11, 2021

Same. Used bisect, came to the conclusion that it might be VSCode's fault.
With no extensions after a quick reload, you can simply use the UI's git diff checker, it will hide the minimap.

Only workaround is to disable "View -> Show Minimap" then enable it again. Still, it gets hidden every single time when using diffs.

@alexdima
Copy link
Member

Caused by 82fe1e7

@danini-the-panini
Copy link
Author

Thanks @alexdima 🎉

@ShockwaveDev
Copy link

I was having the same issue with minimap disappearing.
I managed to fix it by turning off the "Show Minimap" option under view.
Then I restarted VSC and then turned "Show Minimap" back on.

@rzhao271 rzhao271 added the verified Verification succeeded label Mar 25, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release insiders-released Patch has been released in VS Code Insiders regression Something that used to work is now broken verified Verification succeeded
Projects
None yet
Development

No branches or pull requests