johnpapa / vscode-peacock

Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.
MIT License
1.04k stars 118 forks source link

SEIZURE WARNING - "Surprise Me" causes per-frame colour changing after update #536

Open AlbinoGeek opened 1 year ago

AlbinoGeek commented 1 year ago

Versions

Summary

Peacock does not like it when you have multiple workspaces open.

Reproduction

Steps to reproduce the behavior:

  1. Restart VSCode because you just installed an update.
  2. Open a New Window from your existing workspace(s).
  3. Open a new folder, as you do, to start a new workspace.
  4. Press F1 and type "surprise", pressing enter.
  5. Seizure

Expectation

I should get a random colour choice for my newly created workspace.

Screenshots

Code_-_Insiders_HYo7jQn5uv

johnpapa commented 1 year ago

Thank you @AlbinoGeek for creating this issue!

willpower232 commented 1 year ago

is it possible that you don't have write permissions to the folder you just opened? also looks like there is still an update pending according to that little 1 in the corner

AlbinoGeek commented 1 year ago

is it possible that you don't have write permissions to the folder you just opened? also looks like there is still an update pending according to that little 1 in the corner

Insiders has an update every 1-2 days (lol), so that's correct. I can reproduce this behaviour easily by changing the colour too quickly after opening the project (e.g.: while VSCode is still initializing other extensions) -- and doing F1 -> Surprise<enter>