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

Background Wont GO AWAY #177

Open
altimmons opened this issue Nov 6, 2019 · 22 comments
Open

Background Wont GO AWAY #177

altimmons opened this issue Nov 6, 2019 · 22 comments

Comments

@altimmons
Copy link

Once Disabled, the background stays. In other workspaces where the extension isnt used then background comes on. When uninstalled the background stays.

And the DEFAULT PICTURE IS HORRIBLE. If it were more normal then it would be tolerable. But I cant have some underage hentai girl always popping up in the background. Please make it behave.

@altimmons
Copy link
Author

Seriously. Even after uninstalling, it stays. Im gonna have to delete the entire application

@shalldie
Copy link
Owner

shalldie commented Nov 9, 2019

#173

Sry, but u can find why and how to fix it in readme.
Perhaps it help u.

@altimmons
Copy link
Author

altimmons commented Nov 9, 2019 via email

@willstocks
Copy link

I have the same issue:
image

I have run as admin, I have uninstalled the extension, I have restarted VSCode numerous times... I don't understand how this image can persist if the extension is uninstalled...

@willstocks
Copy link

I just started VSCode with DevTools open and on the Network tab and I can see that this is a data url (base64 png) that is being cached by VSCode...
image

I tried clearing all VSCode caches... nothing! I'd prefer to not have to fully uninstall and reinstall VSCode where possible.

@shalldie - what can we do to remove this image? I use VSCode in both a personal and professional environment and this image is not professional.

@shalldie
Copy link
Owner

Case1: when extension installed

steps:

  1. set "background.enabled": false
  2. then uninstall the extension

Case2: when extension uninstalled before set the config

there's two ways:

  1. install this extension, then goto Case1.
  2. reinstall vscode.

@willstocks
Copy link

Hi @shalldie
What do you do when you complete Case1, but it still does not work?
I set "background.enabled": false before uninstall and still I'm seeing the background.
Do I just have to do Case2 item 2? Is that the only option?

@shalldie
Copy link
Owner

It's strange, i've tried macos and windows just now, it works.

when set "background.enabled": false , then save ,it should notice u to restart, like this:

clearbg

@willstocks is there any message in DevTools's console panel?


If you don't wan't to reinstall (i think reinstall is the fastest way,,,which waste only 1 minute.), you can edit Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css,

delete code from /*css-background-start*/ to /*css-background-end*/

@eXvimmer
Copy link

eXvimmer commented Dec 6, 2019

@willstocks It's the same problem that I had . I think I solved it this way: Search the workbench.desktop.main.css file in the folder that you've installed the vscode, open it in vscode and then using Ctrl + F find /*css-background-start*/ then select it and delete all the lines until /*css-background-end*/ . Then reinstall vscode. I think it worked for me, but I'm not sure if this was the solution or not.

@Korywon
Copy link

Korywon commented Mar 24, 2020

I don't understand the design decision, but when you uninstall the extension, it doesn't truly get uninstalled. I assumed that when you uninstall the extension, it removes everything, but the moment I remove the "background.enabled" line, the extension suddenly pops up, even after uninstall.

So, what I had to do was set "background.enabled": false, navigated to my .vscode/extensions, and then deleted the extension (starts with shalldie, or something similar) folder, and then restarted.

@shalldie
Copy link
Owner

@Korywon

This extension works by hooking the vscode's system css file, so when extension uninstalled, the css file is still been edited.
U can find how it works and how to uninstall in README.md.

The right way to uninstall is to set "background.enabled": false at first, then uninstall the extension.

@Fensterbank
Copy link

Just wondering, isn't there an "extension uninstall event" or "extension disable event" in VS Code, so the extension could clean up and revert all changes in the css file it has done?
Otherwise issues like this won't stop to come up.

@mewabm
Copy link

mewabm commented Feb 25, 2021

I reinstalled my vs code, and it worked fine, I should have gone straight to the css

@altimmons
Copy link
Author

altimmons commented Feb 26, 2021

yea, I had to uninstall AND delete every shred of cached data and blow out everything.
I really don't know where the damn thing hides. I've looked and looked. But I just threw away all my settings and started over months ago. I had a really nice custom setup, but anime girls very much aren't my thing and it wasn't tolerable that my family might walk by.
I no longer mess with customizing the look of my VS code.
I am positive I even tried the way he said, Re installing, disabling, and then whatever- Then it seems you now have 2 copies. The one that turns off and on, and the one that is there underneath that one. So you know...

That image is peskier than much of the malware Ive come across in my life. Maybe thats what it is...

@suiyun39
Copy link
Collaborator

@altimmons
If vscode provides related api, this plugin will not use hack method.
If this plugin is malware, no warning will be issued in README.md.

This extension works by editting the vscode's css file

At the same time, the author also reminded that the modification is only in workbench.desktop.main.css

@Fensterbank
Copy link

Fensterbank commented Feb 26, 2021

I had a really nice custom setup, but anime girls very much aren't my thing and it wasn't tolerable that my family might walk by.

But the images are customizable. The first thing I did was replacing these anime girls by Son Goku, Piccolo, Cell and other DBZ characters so I would look serious and professional for my customers and colleagues. 👨‍💼

I really don't know where the damn thing hides

I manually removed it by editing the specific css file workbench.desktop.main.css manually. Wasn't difficult and VS Code users (which mostly are Tech-savvy) should be able to do something like this without format c and reinstall Windows or something 😉

@joelbarranteswins
Copy link

joelbarranteswins commented Aug 11, 2022

Default picture is horrible, I had to come to solve my problem...
Can't be empty default image?

@Mohammad-Noor-debug
Copy link

So if you scroll down it shows you how to uninstall it, press f1 to activate the command palette and then write background uninstall extension, it just uninstalls it, all you need to do afterwards is restart vs code

@AndRad07
Copy link

AndRad07 commented Nov 5, 2022

the following worked for me:

  1. make sure it's installed
  2. Go to Extension --> select "background" --> small settings icon --> Extension Settings
  3. Unselect Background: Enabled and Background: Use Default
  4. Reload

@MR-Prey3r
Copy link

This is how I solved mine. But first make sure it's installed. If you got annoyed and deleted the extension then install it again. Then follow the steps below.

Steps :

  1. In VS code editor open up the settings. (Ctrl+,)
  2. In the "user" tab you will see "extensions".
  3. From there go to "background". Uncheck the box named "Plugin background enabled".
  4. You will be asked to restart vs code. Click on restart and your background image will be removed.

@shalldie
Copy link
Owner

This is how I solved mine. But first make sure it's installed. If you got annoyed and deleted the extension then install it again. Then follow the steps below.

Steps :

  1. In VS code editor open up the settings. (Ctrl+,)
  2. In the "user" tab you will see "extensions".
  3. From there go to "background". Uncheck the box named "Plugin background enabled".
  4. You will be asked to restart vs code. Click on restart and your background image will be removed.

@Rubay3t
Yeeh, as described in the doc: https://github.com/shalldie/vscode-background#uninstall
If deleted the extension, you can follow this:

  1. An unfriendly way:

If you uninstall this plugin directly, don't worry.
Exit vscode completely, then open, then reload. Now it's clean :D
(I know it's strange... Because of the limit of vscode)

@technoadnan
Copy link

Hello guys, I figure out a way to delete the background Image. I used this extension background by Katsute

Steps

  • ctrl/cmd + shift + p
  • Background configuration
    image
  • click uninstall background
    image
  • close and open the vscode again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests