Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMake tray icon background color transparent instead of white #2846
Comments
andrewdavidwong
added
C: desktop-linux-xfce4
enhancement
UX
labels
Jun 4, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Jun 4, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 27, 2017
Member
There are different modes for handling icons - see man qubes-guid. None of them offer transparent background, but it could be easily added based on "bg" one.
But first we need to make sure it will be still clearly marked that the icon is from a VM.
|
There are different modes for handling icons - see man qubes-guid. None of them offer transparent background, but it could be easily added based on "bg" one. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
fepitre
Oct 3, 2017
Member
I'm working on it. As a first step, I added the choice of having a background with a specific color for "bg" and "tint". From what I have seen and tested in the code, the "bg" mode seems to not color the background with respect to appvm color? In that case, I could adjust it.
|
I'm working on it. As a first step, I added the choice of having a background with a specific color for "bg" and "tint". From what I have seen and tested in the code, the "bg" mode seems to not color the background with respect to appvm color? In that case, I could adjust it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
fepitre
Oct 3, 2017
Member
@marmarek Do you know what is the best way to pass a value to vmside from xside? It is intended to pass a color for setting the background in vmside when XCreateSimpleWindow with WhitePixel as background. Without it, the icons look like badly stripped on their border due to the white.
|
@marmarek Do you know what is the best way to pass a value to vmside from xside? It is intended to pass a color for setting the background in vmside when XCreateSimpleWindow with WhitePixel as background. Without it, the icons look like badly stripped on their border due to the white. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 3, 2017
Member
You mean that vmside would fill the background with the color of actual tray background? What if the color changes? What about choosing some different than white (but static) color as a "transparent" one? Like 0xfefefe, or so. Also, in theory each pixel is 32 bits, but in practice only 24 bits are used. Maybe we can have RGBA, instead of RGB there?
|
You mean that vmside would fill the background with the color of actual tray background? What if the color changes? What about choosing some different than white (but static) color as a "transparent" one? Like 0xfefefe, or so. Also, in theory each pixel is 32 bits, but in practice only 24 bits are used. Maybe we can have RGBA, instead of RGB there? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
fepitre
Oct 3, 2017
Member
Yes the vmside would fill the color of actual tray but if color change, the vm needs to restart...not a so good final way. I will try with a different static color but probably we will have a bad stripping. The best solution would be to use the RGBA indeed. I will investigate.
|
Yes the vmside would fill the color of actual tray but if color change, the vm needs to restart...not a so good final way. I will try with a different static color but probably we will have a bad stripping. The best solution would be to use the RGBA indeed. I will investigate. |
andrewdavidwong commentedJun 4, 2017
If possible, it would be nice if system tray icons could have transparent backgrounds instead of solid white. This would make them look more like native dom0 tray icons in dark color schemes.
Here's a screenshot of how they currently look, courtesy of user Epitre:
(Compare the backgrounds of the the Skype and NetworkManager icons to the Volume and Qubes Manager icons.)