desktop v1.12.27 : app status icon in gnome panel is broken
Steps to reproduce
- install and use AppIndicator/KStatusNotifierItem gnome extension
- install element desktop from tarball (here in /opt with
/opt/element-desktopalready created)curl -L https://packages.element.io/desktop/install/linux/glibc-x86-64/element-desktop-1.12.26.tar.gz | tar -xz --strip-component=1 --directory=element-desktop - create
/usr/share/applications/element.desktopas :
[Desktop Entry]
Name=Element
StartupWMClass=element-desktop
GenericName=Matrix Client
MimeType=x-scheme-handler/element;x-scheme-handler/io.element.desktop;
Exec=/opt/element-desktop/element-desktop %U
Icon=element-desktop
Type=Application
Categories=Network;InstantMessaging;
- run element 1.12.26 from gnome desktop app list
- see
status icon
- quit element desktop
- Upgrade to 1.12.27 with
curl -L https://packages.element.io/desktop/install/linux/glibc-x86-64/element-desktop-1.12.27.tar.gz | tar -xz --strip-component=1 --directory=element-desktop - run element 1.12.27 from gnome desktop app list
- see that app icon indicator fail
Outcome
What did you expect?
I'm used to upgrade element desktop as described above since months/years, everything went right until today and app icon indicator works great with new message count
What happened instead?
App indicator icon fails to launch
Operating system
Fedora workstation 44
Application version
Element desktop 1.12.27
How did you install the app?
From tarballs : https://packages.element.io/desktop/install/linux/glibc-x86-64/index.html
Homeserver
Synapse
Will you send logs?
No
Also applies to xfce panel and standard installation from package repository (Linux Mint here) - minimizing to panel seems to be broken in general.
Potentially related: autostart doesn't work anymore, either.
I'm not sure if this applies specifically to this issue, but I've also noticed that Element is failing to show the proper tray icon on a Linux Mint 22.3 Cinnamon system, specifically the Flatpak release. I also can't seem to interact with the broken tray icon through a context menu either.
Same on Debian 13 (as solution: downgraded to 1.12.26 using https://packages.element.io/debian/pool/main/e/element-desktop/)
Same issue for me, but Element Desktop 1.12.25 on Arch Linux with KDE Plasma (Wayland). Maybe an Electron bug? Using Electron 43.4.1 at the moment...
EDIT: I just updated electron to 43.5.1 and tray is visible again. Seems indeed to be an electron issue, see https://github.com/electron/electron/pull/53215 Fixed in Electron v43.5.0
Equivalent issue here, although not using gnome, but Cinnamon Mint. Tray icon becomes this grey triangle and it can't be interacted. Turning off Element requires terminal. When will it be fixed?
I have the same issue - no more tray icon with 1.12.27 in Kubuntu 26.04 and KDE 6.6.
Signal had the same problem recently: https://github.com/signalapp/Signal-Desktop/issues/7992
Seems to be a problem with Electron again.
Same issue for me, but Element Desktop 1.12.25 on Arch Linux with KDE Plasma (Wayland). Maybe an Electron bug? Using Electron 43.4.1 at the moment...
EDIT: I just updated electron to 43.5.1 and tray is visible again. Seems indeed to be an electron issue, see electron/electron#53215 Fixed in Electron v43.5.0
How to update to Electron 43.5.1? Isn't that bundled with the application?
Same issue for me, but Element Desktop 1.12.25 on Arch Linux with KDE Plasma (Wayland). Maybe an Electron bug? Using Electron 43.4.1 at the moment... EDIT: I just updated electron to 43.5.1 and tray is visible again. Seems indeed to be an electron issue, see electron/electron#53215 Fixed in Electron v43.5.0
How to update to Electron 43.5.1? Isn't that bundled with the application?
In Arch Linux it's not bundled but installed separately as a dependency, see https://archlinux.org/packages/extra/x86_64/element-desktop/
It would appear things are in working order with the tray icon today after some updated packages for my Linux Mint install. I'd encourage those still experiencing issues to check any pending updates.
I don't know for sure, but I have a hunch it was the "xapp-common" update from 3.2.2+xena to 3.2.3+xena.
It would appear things are in working order with the tray icon today after some updated packages for my Linux Mint install. I'd encourage those still experiencing issues to check any pending updates.
I don't know for sure, but I have a hunch it was the "xapp-common" update from 3.2.2+xena to 3.2.3+xena.
Did youneed to reboot it first? I just updated my Mint, have the 3.2.3 one and the issue remains.
Did youneed to reboot it first? I just updated my Mint, have the 3.2.3 one and the issue remains.
I believe so, yes. That, or logging out of the session and logging back in.
Did youneed to reboot it first? I just updated my Mint, have the 3.2.3 one and the issue remains.
I believe so, yes. That, or logging out of the session and logging back in.
Hello. It seems rebooting after the upgrade brough the icon back, and it's possible to close the process and open the window via right click options, but simply left clicking on the icon no longer opens the window. Could you confirm that? I believe the issue is not fully solved if the left click no longer works.
It would appear things are in working order with the tray icon today after some updated packages for my Linux Mint install. I'd encourage those still experiencing issues to check any pending updates.
I don't know for sure, but I have a hunch it was the "xapp-common" update from 3.2.2+xena to 3.2.3+xena.
same, one of the following updates probably fixed my issue
I can confirm for 100% that upgrading libxapp1 to 3.2.3 made the tray function again for Element Desktop. In the limited way it was (right-click show for example). But at least it indicated again.
Probably a logout from the X session would be best but I killed xapp-sn-watcher and xdg-desktop-portal-xapp instead.
Running Linux Mint 22.3 Cinnamon edition.
I have 3.2.3 of the libxapp1 package, and no icon - on Xfce.
Hello. It seems rebooting after the upgrade brough the icon back, and it's possible to close the process and open the window via right click options, but simply left clicking on the icon no longer opens the window. Could you confirm that? I believe the issue is not fully solved if the left click no longer works.
Yeah, actually. I can confirm as well that the left click does not restore the window. Strange. This means to me the issue is not actually solved just yet because functionality is less than it is supposed to be.
same, one of the following updates probably fixed my issue
I had those updates as well I believe. Not really sure now which one solved the issue given deebfeast had it work after updating the libxapp1 package, though Moini does not have their tray icon restored. Very confusing situation.
Hello. It seems rebooting after the upgrade brough the icon back, and it's possible to close the process and open the window via right click options, but simply left clicking on the icon no longer opens the window. Could you confirm that? I believe the issue is not fully solved if the left click no longer works.
Yeah, actually. I can confirm as well that the left click does not restore the window. Strange. This means to me the issue is not actually solved just yet because functionality is less than it is supposed to be.
The following seemed to have "fixed" it for me, using Cinnamon. Go to applets (right-click taskbar). Disable XApp Status Applet. Restart Element Desktop. Seems to not need this applet? Maybe some other applications will, not sure. Also with Xfce I remember there being a plugin active for this. But I can't test that. Anyway, I hope this works for some! [edit: as workaround, for now].
The following seemed to have fixed it for me, using Cinnamon. Go to applets (right-click taskbar). Disable XApp Status Applet. Restart Element Desktop. Seems to not need this applet anymore? Maybe some applications still do, not sure. Also with Xfce I remember there being a plugin active for this. But I can't test that. Anyway, I hope this works for some!
This actually does seem to function as a workaround, though there are at least in my case other uses for this than just Element. For one, it seems to keep most of the tray icons scaled about the same size whereas without it, there isn't nearly as much consistency.
I have noticed that if you re-enable it after following your steps of disabling it and restarting Element, you can still use the icon to access the window as before.
I'm still not entirely sure what all is going on here, and ultimately these are still workarounds and partial fixes. I would really like to hear from someone on the development team at this point, as it's hard to tell what is a fault of Element versus these libraries versus what Element could do to account for these libraries. As far as I can tell, no other piece of software I use has suddenly had its tray icon start having difficulty functioning correctly.
The following seemed to have fixed it for me, using Cinnamon. Go to applets (right-click taskbar). Disable XApp Status Applet. Restart Element Desktop. Seems to not need this applet anymore? Maybe some applications still do, not sure. Also with Xfce I remember there being a plugin active for this. But I can't test that. Anyway, I hope this works for some!
This actually does seem to function as a workaround, though there are at least in my case other uses for this than just Element. For one, it seems to keep most of the tray icons scaled about the same size whereas without it, there isn't nearly as much consistency.
I have noticed that if you re-enable it after following your steps of disabling it and restarting Element, you can still use the icon to access the window as before.
I'm still not entirely sure what all is going on here, and ultimately these are still workarounds and partial fixes. I would really like to hear from someone on the development team at this point, as it's hard to tell what is a fault of Element versus these libraries versus what Element could do to account for these libraries. As far as I can tell, no other piece of software I use has suddenly had its tray icon start having difficulty functioning correctly.
Hello! I can confirm it here as well. Disabling the XApp Status Applet seems to work if Element is not running when you do it, but this is clearly not a solution: We shouldn't have to disable an applet just so left click works as intended on a tray icon. Enabling the applet back brings the glitch back.