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

Tray icon disapears after waking up the device from sleep in linux #118

Open
jacktheripper19 opened this issue Dec 30, 2021 · 6 comments
Open
Labels
bug Something isn't working electron issue prio:low Low priority upstream This issue also exists in upstream

Comments

@jacktheripper19
Copy link

Hello, thank you for your hard work on this amazing matrix client. just wanted to point out a small bug that happens after waking up the device from sleep state on linux, the tray icon become invisible. This happened to me on both KDE plasma and Gnome 40. Also the same issue on deb package for ubuntu and AUR on arch.
The place for the tray icon is still there but it's invisible. This can be fixed by either restarting the app or changing the state of the icon by receiving a message or going offline for example.

@jacktheripper19 jacktheripper19 changed the title Tray icon disapear after waking up the device from sleep in linux Tray icon disapears after waking up the device from sleep in linux Dec 30, 2021
@su-ex su-ex added bug Something isn't working likely upstream This issue is expected to also be applicable upstream, but this has not been confirmed yet prio:low Low priority labels Dec 30, 2021
@su-ex
Copy link
Member

su-ex commented Dec 30, 2021

Does the same happen with Element?
And does the same happen with other (electron) applications by any chance?
Xorg or Wayland?

For me with Gnome and Xorg on Arch, tray icons are often messed up or missing after screen off, standby or similar. Alt+F2 and then "r" to restart brings them back, so I'm not sure if it's the applications' fault at all.

@SpiritCroc
Copy link
Member

SpiritCroc commented Dec 31, 2021

I think we talked about this before:

  • Also happens for me on awesomewm (xorg)
  • Also happens with Element
  • Also happens with telegram (don't know if this uses electron though)
  • Interestingly, does not seem to happen if I cd to the element-desktop directory in our build setup, and run electron . in there to launch the app

@jacktheripper19
Copy link
Author

jacktheripper19 commented Dec 31, 2021

I just installed Element and can confirm that it has the same issue. I don't have any other electron application with tray icon. Wayland is not configured in my machine so can't test with it. It happened to me on KDE as well so I think it's more of an Electron issue in this case. I have no problem with it since I can do a workaround but it should be fixed from a user experience perspective.
Also, restarting KDE Plasma with kquitapp5 plasmashell && kstart5 plasmashell doesn't seem to fix the issue for me.

@su-ex su-ex added upstream This issue also exists in upstream and removed likely upstream This issue is expected to also be applicable upstream, but this has not been confirmed yet labels Dec 31, 2021
@soloturn
Copy link

soloturn commented Apr 2, 2022

the gnome design guidelines:
https://wiki.gnome.org/Initiatives/StatusIconMigration/Guidelines

@soloturn
Copy link

soloturn commented Apr 2, 2022

@su-ex
Copy link
Member

su-ex commented Apr 5, 2022

What have window decorations to do with the tray icon? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working electron issue prio:low Low priority upstream This issue also exists in upstream
Projects
None yet
Development

No branches or pull requests

4 participants