Can't Right-Click Tray Icon Anymore in KDE (05/01/17 Beta)
Your system information
- Steam client version: 1483649853
- Distribution (e.g. Ubuntu): Ubuntu 16.04.1 (KDE Neon)
- Opted into Steam client beta?: Yes
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
Ever since the beta update came through, I no longer get the tray menu when right-clicking the tray icon in KDE.
Steps for reproducing this issue:
- Update to latest beta.
- Attempt to right-click the tray icon.
Hello @Unaccounted4, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.
The system tray is working fine on Gentoo Linux (no steam runtime) with Cinnamon 3.0 and Mate 1.12.
Here's the Steam system info: https://gist.github.com/Unaccounted4/6ff411074c748a873788a7c74e4b5718
The tray menu does seem to work in MATE for me as well, it's just in Plasma 5.8.5 which no longer works after the update.
EDIT: Replaced pstebin URL with Gist.
I have a similar problem, when I left click on the tray icon, I don't even get a menu. Nothing happens, only the Steam client gives out this error:
(steam:4721): LIBDBUSMENU-GLIB-WARNING **: About to Show called on an item wihtout submenus. We're ignoring it.
This worked perfectly fine before the last beta update.
I'm on Linux Mint 18.1 with Cinnamon 3.2. Here's the output of the Steam System Information: https://gist.github.com/NoXPhasma/73e404310b6a46fb438d8ac4a3be8846
Same on Ubuntu 16.10/Unity with the newest update: when I click on Steam icon, it shows small rectangular without any menu items. https://gist.github.com/xplt/143b57471a2b8193ecf36de58232467b
I can also confirm this issue with Ubuntu Unity, while the close behaviour works as expected, the indicator menu is now blank.
System info: https://gist.github.com/LiamDawe/695a741f6e19ddefb32e2109baa7e961
So there seem to be two issues interacting with the tray icon:
- Empty contexmenu when right clicking
- No reaction on left click
For me (1) is not an issue, (2) is, but this also happens without beta opt-in. No changes to start parameters were made.
KDE Neon dev unstable (Plasma 5.8.90).
Same issue here on Unity.
System info: https://gist.github.com/tatokis/1b1e54fbae3dedd020c73707a3163c65

If I run steam with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 the AppIndicator/Tray icon works again.
If I run steam with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 the AppIndicator/Tray icon works again.
That works indeed. Now we need to know which library is needed for the Appindicator, so we can install it native and don't need to rely on the steam runtime for that
I can't speak for Ubuntu, but on Gentoo this is the dependency tree for libappindicator: https://gist.github.com/kisak-valve/8958ab1ad52c24f749adca56d9d4e236
The highlights are that it is linked against gtk2, libindicator, libdbusmenu-gtk, and libdbusmenu-glib.
I have those installed, for amd64. Ubuntu 16.04/Mint 18 doesn't have any i368 builds on 64bit versions (Who's using a 32bit OS nowadays anyway?). Seems there might be the problem. Why does steam still need 32bit libraries?
For me it was libdbusmenu-gtk4:i386 which was missing and now the menu spawns correctly on right click once more.
That's sudo apt install libdbusmenu-gtk4:i386 on Ubuntu 16.04.
Interesting, libindicator1:i368 doesn't exist, but libdbusmenu-gtk4:i386 does. And that seems to deliver libappindicator.so.1 too. That fixes that for me too, thanks @Unaccounted4.
But still my question, why does Steam in 2017 still needs 32bit libraries?
Because Steam is 32Bit, as are many of the games in it.
Keep in mind that the point of the steam runtime is to avoid this issue in the first place. I assume there is some incompatibility that is caused with what libdbusmenu-gtk4 is linked against on the runtime.
Just to recap,
Libappindicator is built against libindicator and libdbusmenu. These libraries are available in the steam runtime and are also commonly available as system libraries from various distros. As a set, steam can use the steam runtime or system variants of these libraries, but may get the quirk behavior if the two sets are mixed.
To deal with this issue we currently can either complete the partial system set or run steam with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0.
"sudo apt install libdbusmenu-gtk4:i386" also worked for me. Running that actually installed 2 libraries, libdbusmenu-glib4:i386 and libdbusmenu-gtk4:i386. My distro is Linux Mint 17 Qiana using XFCE (which is based off of Ubuntu 14.04.3 LTS trusty)
I understand about being able to use the bundled libraries or the native ones, but it still seems like there's a dependency bug in 1 of 2 places. Either: 1.) Steam needs to be more specific about these i386 libraries when using or checking to use the system vs. provided libraries, or 2.) The combination of existing/missing libraries that we found ourselves in is an invalid combination, and dependencies should be added to the ubuntu (or other variants) repos/packages to shore up the problem.
If it's #1, then this shouldn't be closed yet. If it's #2, then let's get the ball rolling on contacting package maintainers.
I think this should be up to Steam. For example, if it sees that the host is missing libdbusmenu-gtk4:i386, then it should not only use its built in one for this, but also for the rest of the dependencies required to create the tray icon/appindicator.
So something like groups of libraries, where if one is missing then the rest of the group will also fall back to the ones bundled in the runtime in order to avoid incompatibilities.
The sudo apt install libdbusmenu-gtk4:i386 works on Ubuntu 14.04. Thank You Unaccounted4! :)
Also seeing this on Fedora 25
Can confirm that exporting STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 in your environment works as a workaround
Confirming here that installing libdbusmenu-gtk4:i386 works on Ubuntu 16.04.1 LTS