anseki / vscode-color

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

Color Picker not picking up VS Code theme colour. Dark artefacts when hovering Color Picker window. #23

Closed BobbyBabes closed 7 years ago

BobbyBabes commented 7 years ago

Issue : The Color Picker extension doesn't pick up the styling of the VS Code theme. I have a dark theme active in VS Code, but Color Picker appears as (its own?) light theme (1st and 2nd screenshot). Further more, hovering the Color Picker window makes shades of grey appear (2nd screenshot).

Steps to Reproduce:

  1. Alt+C then P in any opened editor window.
  2. Wait for colour picker to appear.

Log (All lines): (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)

  extensionHost.ts:293 [Extension Host] vscode-icons is active!
  extensionHost.ts:293 [Extension Host] Start child process...
  extensionHost.ts:293 [Extension Host] Check version of: electron-prebuilt
  extensionHost.ts:293 [Extension Host] Check version of: comma-separated-values
  extensionHost.ts:293 [Extension Host] Check version of: js-yaml
  extensionHost.ts:293 [Extension Host] Check version of: process-bridge
2 extensionHost.ts:293 [Extension Host] Try to send IPC message: 1
  extensionHost.ts:293 [Extension Host] Try to send IPC message: 2
  extensionHost.ts:293 [Extension Host] Child process disconnected
  extensionHost.ts:293 [Extension Host] Child process exited with code: 0

vscode-color-picker-extension-not-picking-up-theme-colour_cropped

vscode-color-picker-extension-not-picking-up-theme-colour-and-dark-artefacts-when-hovered_cropped

anseki commented 7 years ago

Hi @BobbyBabes, thank you for the report.

This is caused by your computer environment and GPU drivers on Linux. The current Chromium has a bug about the alpha channel and drivers. At least for the present, unfortunately we can do nothing about this.

BobbyBabes commented 7 years ago

Yeah sure. And I have brain damage of course.

anseki commented 7 years ago

By v0.3.1, this issue in some environments was solved. However, those may be not all environments.

anseki commented 7 years ago

More options were added, to solve the rendering trouble like this issue.