-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Tray icon in KDE5 doesn't have colorful border #2042
Comments
One idea is to abandon borders and color the whole icon, similar to icons used in the menu. Algorithm used for this coloring requires converting RGB to HSL, which seems to be not an easy task in C, but much easier in python (as it's done with app icons). And it looks to be quite easy to call python function from C. |
After hours of debugging with @woju finally got it working :) IMHO looks nice, much better than unnoticeable border: Transparency is introduced by KDE - this is probably the same mechanism that stripped the border... |
Can you disable it for KDE and paste here a screenshot? |
Take a look above - there is nm-applet icon from sys-net (yes, should have red border, but it's stripped by KDE). |
No, I would like to see the icon with a white bg. |
There is no white bg in KDE5 - it strips it out. Yes, what is actually visible in the tray in KDE5 is something preprocessed by KDE, not directly mapped VM icon. |
And I can't see any configuration to disable this feature. Actually there is even no configuration for icon size (which is really annoying on HiDPI...) |
What if our magic HSL-based color converter also converted any of the white pixels into... sightly less white pixels, say RGB(254,254,254)? |
Currently it looks pretty ugly IMHO... |
... and if we also add back the frame in the VM color? :) |
Also adding @bnvk to get his opinion. |
KDE strips the border, even if I made it thicker (2px). |
I see... Ok, let's try this:
|
Looks better though :) |
Not bad either :) IMHO |
And can you paste the screen with the nm-appet in a "connecting" state -- that looked worst on the screens above... |
I'm inclined towards the reduced-sat-on-transparent-bg version. Can you show how other icons would look this way? E.g. Electrum? |
Not so good :/ |
Cutting 2px from each side is especially visible on keepassx. |
palmface @bnvk, help? |
I've already introduced configuration parameter for this. We can make it all configurable and decide on the final version later. There is still an option for bordered but not colored icon (useful for other WMs). |
Restore "background" trayicon coloring and add an option to set the mode. QubesOS/qubes-issues#2042
Have it better handled by help2man. QubesOS/qubes-issues#2042
Have it at least somehow working on KDE5 (where border1 is not functional at all). Subject to a change in near future. QubesOS/qubes-issues#2042
Might be just dumb newbie uestion here (ill be that idiot guy who cant read documentation) - Using 3.2 test iso, after launch I have no border or tray or anything outside of top left hidden icon for network config. Im sure theres a command to open the GUI, but what might that be? Im running everything through terminal now ( I know the version Im using is test/pre=release) just curious how I might activate to ease user expereince visually and for thos of us not as familiar with console. |
For what its worth; The default is 16-pixels, scaled (looks just fine on a 230DPI screen I own, def not actually 16px). You can change the default in a package quite trivially by patching (in dom0); About the border, the simplest solution is to work with the KDE team, or at least the sources. KDEs plasma is mostly implemented using javascript (in qml style) which means you have the sources in dom0. Many useful things can be done without recompiling. For instance the actual icon behaviour etc is defined in; Either way, I'd be interested in reopening the investigation towards a coloured outline as the current solution of colourising is not my favourite, I got the impression you guys didn't prefer that either ;) |
Interesting observation; Adding a border to my applications icon, and showing it in my kde5 desktop had the following effect; a) when running the app in dom0. This shows the border just fine. b) When running in an appVM, this shows the colored image, without border. I conclude that KDE does not remove any border added by Qubes, I don't know the full pipeline from appVM to kde-systemtray, would it be possible that the issue lies in one of the other components? |
Icon handling is configured in
|
This issue is being closed because:
If anyone believes that this issue should be reopened, please let us know in a comment here. |
@marmarek I love that clipboard icon, in the screenshot towards the top. Why was it moved-away from? |
It was completely different thing - a built-in KDE widget (we use Xfce now) managing I think local clipboard only (in case of qubes: dom0, which doesn't really have any content). |
In KDE5, tray icon (especially NetworkManger Applet) doesn't have colorful border. It looks like KDE is trying to blend the icon into panel.
It is critical to have a way to distinguish icons from VMs.
The text was updated successfully, but these errors were encountered: