-
Notifications
You must be signed in to change notification settings - Fork 45
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 is broken #3
Comments
Can you please provide some more information on how to reproduce it? What's the application? is it on flathub? |
Yeah, it's |
It's possible that it's possible that it's something to do with lacking the right icon sizes? That could explore the difference between Gnome and KDE |
Briefly looking into KStatusNotifierItem (framework for providing tray icon in KDE) and it needs smaller icon size for system tray, specifically 24x24. That might be the reason why this is not working under KDE. This is easily reproducible and works when you run "XDG_CURRENT_DESKTOP=GNOME flatpak run im.riot.Riot" which forces Qt to use different platform theme which uses different implementation for tray icons. |
So perhaps it's something to get upstream to fix? I imagine that doing a downscale of the large icon might be a good quick fix until then though? |
@grulja we shouldn't be asking plasma users to force If you guys can give me an easy way to reproduce it locally I can put together a fix. It's not nice that we enforce 24px icons anyway, if it's not part of the spec. |
@aleixpol I wasn't suggesting that, I used it just as a prove that the problem is on our side. |
We're now exporting 24x24px icons @Ace13 can you test again? |
I've just pulled the new riot, closed and opened the program to no change:
Plasma 5.11.95 Do I need to log out, or purge and reinstall? |
I had an icon (With the wrong size, but still an icon) for a short period after starting it on the new version, but it seems like Riot changes the tray icon depending on state so it went right back to a missing icon after it had synced initial state. |
Yes, when I first open I get a purple almost-rectangle, looking to be the top left portion of the dot in the i (there's a little bit of green the the corner), then it changes to the broken image icon again. |
Didn't mean to close this - that change may fix it by making sure that the normal riot-web icons aren't renamed but copied. |
Even with that fix in place the same issue still exists, maybe it's time for me to break out the debugging tools, see if I can find just what's going on with the icon lookup for the tray. |
I just noticed today that I seem to have a working Riot icon in my tray all of a sudden;
Fixed on the application side? Or something fixed in Plasma 5.12.5? Qt 5.9.5? Flatpak 0.11.7? |
Likely a combo of application and plasma - glad to hear it! |
Can confirm. Ran updates, modified my ~/.config/autostart/im.riot.Riot.desktop to remove "XDG_CURRENT_DESKTOP=GNOME " from the beginning of the launch, and after reboot I have (a little fuzzy) icon that has different actions when you left and right click it. For some reason the file didn't launch on login.... will have to play with that. |
I'm currently experiencing this on KDE Neon. KDE Plasma Version: 5.12.5 The icon is just a purple square, exactly as shown in the screenshot from @all-the-good-ones-are-gone |
@Fantastitech Everything looks good here: The icon looks a little fuzzy, but otherwise behaves normal. In this case, maybe it's somehow related to newer kernel? Or difference between openSUSE and ?Ubuntu? libraries? |
Riot in general has some issues with the tray icon. See element-hq/element-web#3133. So having the icon fuzzy, or just a purple square, is probably a Riot issue, and not an issue with the flatpak image. |
Any changes in this recently? |
For me it now works fine on GNOME! |
As pictured on KDE Plasma 5.11.2
The text was updated successfully, but these errors were encountered: