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

VSIX icons look strange #11

Open
drewnoakes opened this issue Sep 3, 2018 · 7 comments
Open

VSIX icons look strange #11

drewnoakes opened this issue Sep 3, 2018 · 7 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@drewnoakes
Copy link
Member

Do you want to request a feature or report a bug?

Bug.

What is the current behavior?

In VS2017 with a dark theme enabled, the VSIX icons look like this:

image

Some of them look particularly bad, such as 'clone', 'manage remotes' and 'file history'.

It could be that VS attempts to darken them automatically to match the dark theme.

Environment you encounter the issue:

  • GitExtensions version: 3.0 master from a few weeks ago
  • OS version: Windows 10, latest updates

Did this work in previous version of GitExtensions (which)?

I don't know.

@gerhardol
Copy link
Member

We could add icons where missing too (like diff, patch).
The icons look good in the light theme.
Some of the new icons look great in GE and in the light theme but worse in the dark theme (and gitextensions/gitextensions#5390 aligns more icons).

@RussKie
Copy link
Member

RussKie commented Sep 3, 2018 via email

@drewnoakes
Copy link
Member Author

drewnoakes commented Sep 27, 2018

@dpoeschl happened to mention today that VS uses a specially coloured pixel in a corner to disable this behaviour. It might be cyan (EDIT: it's RGBA #00FFFF01), and it might be in the top left right corner.

EDIT here are some docs about the colour inversion in VS, but they don't mention the method of disabling such inversion:

https://docs.microsoft.com/en-us/visualstudio/extensibility/ux-guidelines/images-and-icons-for-visual-studio?view=vs-2017

@RussKie
Copy link
Member

RussKie commented Sep 27, 2018 via email

@dpoeschl
Copy link

dpoeschl commented Sep 27, 2018

@drewnoakes It's not an official doc, but this explains it: https://stackoverflow.com/a/38263209

@drewnoakes
Copy link
Member Author

@dpoeschl thanks a lot!

@drewnoakes
Copy link
Member Author

There's also a AllowColorInversion attribute described here, though I'm not sure it's relevant to how we currently provide images: https://docs.microsoft.com/en-gb/visualstudio/extensibility/image-service-and-catalog?view=vs-2017

@RussKie RussKie transferred this issue from gitextensions/gitextensions Jul 7, 2020
@RussKie RussKie added bug Something isn't working help wanted Extra attention is needed labels Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants