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

System tray icon ugly in KDE Plasma #620

Open
xeruf opened this issue Dec 29, 2018 · 15 comments
Open

System tray icon ugly in KDE Plasma #620

xeruf opened this issue Dec 29, 2018 · 15 comments

Comments

@xeruf
Copy link

xeruf commented Dec 29, 2018

The icon in the system tray in KDE Plasma has no borders separating the content from the remainder of the system tray, and as soon as there is more than 9 new messages, you can barely see the number.


  • Operating System: KDE Neon
  • Relevant error messages and/or screenshots:
    tray
@abhigyank
Copy link
Collaborator

abhigyank commented Dec 29, 2018

This is a known upstream issue. Description and temporary solution described here vector-im/riot-web/issues/6767 comment .
Most electron apps seems to be effected by this on KDE. The fix has been made to chromium and soon should be in electron in its upcoming releases.
Two possible temporary solutions -

  • Remove libappindicator3.
  • set XDG_CURRENT_DESKTOP=Unity zulip

@xeruf
Copy link
Author

xeruf commented Dec 29, 2018

Ok. Just so you know, the way you linked to the comment did not work, but I found it anyway ;)

@abhigyank
Copy link
Collaborator

Sorry my bad. Thanks for letting know. Edited. Let us know if the fixes work for you.

@xeruf
Copy link
Author

xeruf commented Dec 29, 2018

Adding XDG_CURRENT_DESKTOP=Unity to the application starter indeed worked, while libappindicator made absolutely no difference.

@timabbott
Copy link
Sponsor Member

Is the XDG_CURRENT_DESKTOP thing a workaround we can do for everyone, or will it cause problems for folks using other windowing systems?

@xeruf
Copy link
Author

xeruf commented Jan 4, 2019

Shouldn't be a problem, since it is just an application parameter. You could even include it in the .desktop starter until the issue is resolved

@devurandom
Copy link

I see this in my systray when Zulip has unread messages: Screenshot_20191128_023723
Is that the same bug, or shall I open a separate report?

Fedora 31, KDE Plasma 5.16.5, KDE Frameworks 5.61.0, Qt 5.12.5.

@akashnimare
Copy link
Member

@devurandom the image is too small. Can you please post another screenshot/gif etc?

@fdcds
Copy link

fdcds commented Nov 28, 2019

@akashnimare The icon is very small on the screen too, so no idea how to enlargen it...

It shows a white rectangle with rounded corners, with the bottom right corner cut off. In the middle of the rectangle is a grey triangle with an white exclamation mark in the middle.

@akashnimare
Copy link
Member

Hmm, looks like it's broken for some reasons.

@devurandom
Copy link

I also had a look with my Gentoo Linux machine with KDE Plasma 5.17.3, KDE Frameworks 5.64.0, Qt 5.13.2 and the issue is the same.

@timabbott
Copy link
Sponsor Member

Is it possible we're just not registering the icon in the right way for KDE?

@akashnimare
Copy link
Member

I don't have the KDE so it's hard to debug the root cause but as far as I know, this could be the platform-limitation from electron's side. They usually don't cover all the distros. For example, the badge api only works in Ubuntu 16+( with unity launcher).

@fdcds
Copy link

fdcds commented Dec 3, 2019

The Zulip logo displays fine as long as Zulip has no internet connection. Once it has a connection, the logo changes to the one described in #620 (comment) and #620 (comment). I assume it is related to when it displays the unread message count.

A little bit confusing: I remember that at some point I actually saw the Zulip logo with a small "99+" in the systray at some point. But on none of my machines I get that right now.

@devurandom
Copy link

The Zulip logo displays fine as long as Zulip has no internet connection. Once it has a connection, the logo changes to the one described in #620 (comment) and #620 (comment). I assume it is related to when it displays the unread message count.

Correction: Disabling "Show app unread badge" in the settings has no impact.

A little bit confusing: I remember that at some point I actually saw the Zulip logo with a small "99+" in the systray at some point. But on none of my machines I get that right now.

Addition: When I disable "Show app icon in system tray" and then re-enable it, I get a green circle with "99+" inside. This is independent of the "Show app unread badge" setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants