anseki / vscode-color

Helper with GUI to generate color codes such as CSS color notations.
MIT License
97 stars 27 forks source link

i3 workaround for color picker window not marked as "tool window popup" #50

Closed mo closed 7 years ago

mo commented 7 years ago

When you're using a tiling window manager like i3 on linux the color picker comes up as a regular window which means it takes up half the screen space. The color picker in atom doesn't do that.

This issue can be worked around in the i3 config file, by adding this: for_window [class="vscode-color-ui"] floating enable

image

anseki commented 7 years ago

Hi @mo, thank you for the report. So, this issue is solved by your config in the i3?

mo commented 7 years ago

I had to set:

"colorHelper.disableShadow": true

in settings.json as well but now it works really well for me. It would have been better if it "just worked" out of the box but I'm happy now at least. I opened this issue mostly so that people that run into the same problem could find something useful on google to help them out. Feel free to close this issue if you feel that it's to niche to be worth fixing.

anseki commented 7 years ago

This is caused by a behavior of Electron in i3-wm. Therefore it seems that we can do nothing to solve it perfectly, unfortunately. And I close this issue. Your solution should help them who have same problem. Thank you again 😄