protonscr

Missing systray's icon image after build from 01 feb 2013

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#1190 · opened 2013-02-02 by swiftgeek · updated 2020-07-25 · 88 comments · github
Sswiftgeek 2013-02-02 github

This build contains regression - it doesn't display image of steam's icon (standard "missing icon/image/file" image is displayed instead).

Also it contains fix for missing theming in appindicator's menu.

xfce4.10

MManuGithubSteam 2013-02-02 github

I can confirm this in KDE 4.9.5 But here it is the first time that a steam icon is shown. Before that there was no icon at all. So partly a good job. But as mentioned there is no image on the icon..

Ttimjp87 2013-02-02 github

I enabled the tray icon in previous versions on Arch Linux 64-Bit by installing lib32-libappindicator. It displayed the real steam icon in the tray. With the latest update I also only have the "missing icon" icon. Using Gnome 3.6.2.

MManuGithubSteam 2013-02-02 github

libappindicator is only for use with Unity and as i use KDE i dont think it will be of much use for me.

Sswiftgeek 2013-02-02 github

@ManuGithubSteam please stop spreading FUD
libappindicator has multiple backends and in case of xfce4 it's using a fallback solution - standard X11 systray
in case of KDE it could be system indicators like in unity/gnome or fallback

TTheRealCuran 2013-02-02 github

Same issue with KDE 4.8 (Debian Wheezy, amd64 (can we get a native amd64 build, please, that'd probably solve many problems right away)). It's probably safe to assume all KDE (4) desktops are affected.

Installing libappindicator (both Gtk2 and Gtk3 version, i386) didn't help, even though the package description ("A library to allow applications to export a menu into the panel. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available.") made me hope it would work. I'm still getting the generic place-holder thingy, which has a terribly delay until the menu opens.

AAsciiWolf 2013-02-02 github

Gnome 2.32 on Gentoo, with libappindicator, libindicator and libdbusmenu installed from the Gentoo-Unity overlay; same issue after the latest update...

Sscottlu 2013-02-02 github

Please try this: exit steam, open a terminal window, type

STEAM_RUNTIME=0 steam

And see if the behavior changes back to what it was before the update.

Thanks.

Sswiftgeek 2013-02-02 github

It changes back "missing icon" icon, but also proper theming

Sslouken 2013-02-02 github

@swiftgeek: Can you add screenshots with STEAM_RUNTIME=0 and STEAM_RUNTIME=1?

Also, it'll take a while, but can you also add logs from these commands?
STEAM_RUNTIME=0 strace -f steam 2>&1 | grep "open(" >/tmp/steam_runtime_disabled.txt
STEAM_RUNTIME=1 strace -f steam 2>&1 | grep "open(" >/tmp/steam_runtime_enabled.txt

Thanks!

Sswiftgeek 2013-02-02 github

https://gist.github.com/4698678 https://gist.github.com/4698838 — "missing icon" icon in systray, proper appindicator's menu theming
https://gist.github.com/4698667 https://gist.github.com/4698842 — good icon in systray, bad appindicator's menu theming (colors are good but it uses default gtk2 theme - raleigh)

Sslouken 2013-02-02 github

Great, can you show the output of dbus-monitor from the time steam starts until the time the icon shows (or doesn't)?

?ghost 2013-02-03 github

http://ompldr.org/vaGJ0ZQ - Same problem with the "missing icon"-icon.

Sslouken 2013-02-03 github

Can you post the whole output? There should be a section dealing with the icon and the them. You should see "steam_tray" in there.

?ghost 2013-02-03 github

That's the whole output.

Sslouken 2013-02-03 github

Interesting. is the output different between dbus-monitor --system and dbus-monitor --session?

Kkaydeethree 2013-02-03 github

Not the OP, but seeing the same thing. F18 x86_64 xfce

dbus session log: http://pastebin.com/EHTS1Npq
dbus system log: http://pastebin.com/t1yxfydL
strace runtime disabled/enabled: https://gist.github.com/4700509

Only modifications is changing any references from my username to<me> in logs

Sslouken 2013-02-03 github

Okay, so I think I have a fix for this issue.
Please revert any previous things you've done to workaround the issue, download these files and run sh steam-runtime-update.sh
http://www.libsdl.org/tmp/steam-runtime-update.sh
http://www.libsdl.org/tmp/steam-runtime-update.tar.gz

Please let me know if this fixes the problem.

Thanks!

Hhasufell 2013-02-03 github

@slouken it fixed it for me

Sslouken 2013-02-03 github

@hasufell, thanks!

Ttimroes 2013-02-03 github

@slouken Fixed it for me, too, thanks.

Zz0id 2013-02-03 github

@slouken No change here: placeholder icon and delayed menu. I see there's only i386 in the tarball and I'm on x86_64 - perhaps this is of consequence. Arch, KDE 4.9.98

Kkaydeethree 2013-02-03 github

@slouken I get the icon and the right-click menu (after a second or so), but no tooltip showing "Steam" when I hover over the icon. (f18 x86_64 xfce)

@z0id - no. Steam's only 32-bit right now.

Ttimjp87 2013-02-03 github

@slouken Fixed it for me aswell. Arch Linux x86_64 with Gnome 3.
@z0id This is is so that the 32 bit client can make use of it. Doesn't matter that you are on a 64 bit system.

Sstevethepocket 2013-02-03 github

Didn't seem to do anything for me either. (Kubuntu 12.04 x64) Was I not supposed to quit Steam before running it?

Jjjkinas 2013-02-03 github

@slouken That fix worked for me too, the icon shows up now ! Arch Linux x86_64 / Cinnamon ..

Sswordfischer 2013-02-03 github

@slouken Fixed it for me (Gentoo 64bit) - but the menu is still very slow. Thanks
edit: Fluxbox as WM

CCheogh 2013-02-04 github

Still no icon here, KDE Archlinux 64bit.

HHyperEye 2013-02-04 github

The update does not fix the icon for me. I do not have an issue with it responding slowly but the icon is the folded paper still. I'm running Gentoo AMD64 with KDE 4.9.5.

Oobedlink 2013-02-04 github

don't work for me

Sslouken 2013-02-04 github

It looks like everybody who is still seeing the problem has KDE. is that true? Does it work if you start steam like this?
STEAM_RUNTIME=0 steam

CCheogh 2013-02-04 github

STEAM_RUNTIME=0 steam, has the same paper looking icon. (assuming i installed lib32-libappindicator)

MManuGithubSteam 2013-02-04 github

Ok here are my results:

Running steam normally with "steam" -> placeholder/empty icon is displayed, slow menu in the icon

Running steam with "STEAM_RUNTIME=0 steam" -> no icon is displayed at all

Applied the fix and run steam normally -> still no icon image is shown

Running steam with "STEAM_RUNTIME=0 steam" after fix is applied-> no icon is displayed at all

KDE 4.9.5

Sswiftgeek 2013-02-04 github

"Running steam with "STEAM_RUNTIME=0 steam" -> no icon is displayed at all"
because your system doesn't have (lib32-)libappindicator

Zz0id 2013-02-04 github

Runtime disabled: white icon and no menu on right click.
Runtime enabled: white icon and proper menu on right click, but delayed.

In both cases I see this: (steam:26502): LIBDBUSMENU-GLIB-WARNING **: About to Show called on an item wihtout submenus. We're ignoring it.

MManuGithubSteam 2013-02-04 github

I installed the libappindicator lib (64 bit). nothing changed

As I'm on Gentoo i don't have (lib32-)libappindicator and cant get it, there is not use flag for 32 bit. I did download a Ubuntu 32 bit version and put in the Steam dirs (various lib dirs in the Steam folder like linu32 and so on....) but nothing changed. Where does the lib go in the Steam dir ? Also i noted that there is a libappindicator lib present in the Steam dir itself (.steam/steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/) so it should fallback to this lib if steam cant find a systemwide lib32......

Ttimroes 2013-02-04 github

@ManuGithubSteam I am also using Gentoo 64bit, and didn't need to install any libappindicator or copy it form somewhere (and the above fix, fixed the icon issue for me)

Jjohndrinkwater 2013-02-04 github

@slouken the incorrect icon on KDE is a non‐steam issue according to this comment https://github.com/ValveSoftware/steam-for-linux/issues/1087#issuecomment-12975479 (and being fixed)

Bbootkiller 2013-02-04 github

@johndrinkwater That's only for the upcoming KDE 4.10. And there are people still having issues with previous versions.

Sswiftgeek 2013-02-04 github

@ManuGithubSteam steam isn't a 64-bit app so libappindicator wont help, and You need multilib package (If need a help with creating ebuild - https://aur.archlinux.org/packages/lib32-libappindicator/ )

~/.steam/root/ubuntu12_32/steam-runtime/i386/usr/lib/ is disabled with STEAM_RUNTIME=0

Kkevincox 2013-02-04 github

Just saying that this fixed it for me on Arch 64.

MManuGithubSteam 2013-02-04 github

@timroes Well the fix did nothing for me....

Xxpander69 2013-02-04 github

this script posted by slouken fixed the tray icon for me on Arch 64 Cinnamon Desktop.

TTheRealCuran 2013-02-04 github

No fix with Debian Wheezy, amd64, libappindicator1:i386, KDE 4.8.4 and the updated steam files, as was to be expected after the previous reports.

(btw, could you upload such files to a place with a steampowered.com or valvesoftware.com domain part in the URL next time? libsdl.org is not really the place I like to fetch updates for Steam from... thanks)

DDGhost001 2013-02-04 github

Just a quick note:

I'm using Kubuntu 12.10-64bit and I had the same problem of the missing tray icon.
After reading the issue #1250 I had a look at the icon directory and in fact there is no tray icon image available under "/usr/share/icons" or in my home.

After adding the steam_tray.png from the mentioned issue I got a working icon.

Bbootkiller 2013-02-04 github

@DGghost001 I can confirm this.

There's actually a steam icon located at /usr/share/icons/hicolor/48x48/apps/steam.png
I copied steam_tray.xpm to /usr/share/icons/ and the icon shows up.

I'm on KDE 4.9.98

Also relevant, on the KDE system tray settings menu Steam is now named properly, however hovering the Steam icon on the system tray produces no name.

Aam1github 2013-02-04 github

@slouken Works for me too! gentoo 64bit with lxde
:+1:

Oobedlink 2013-02-05 github

thanks bootkiller, works for me too. here de command for novicie
sudo cp /home/you-user-name/.local/share/Steam/public/steam_tray.xpm /usr/share/icons

only left that Steam can minimize at tray in KDE

Zz0id 2013-02-05 github

Copying the .xpm fixes the icon on KDE, indeed. But the right click menu still has a delay.

CCheogh 2013-02-05 github

sudo cp -v ~/.local/share/Steam/public/steam_tray.xpm /usr/share/icons
Seems to fixed it, but now I can't unfix it for some reason. (Wanted to wait for a official solution)

Bbootkiller 2013-02-05 github

Same, after doing "sudo rm /usr/share/icons/steam_tray.xpm" and restarting the client somehow the icon image now appears properly. And it also fixed the delay problem.

Oobedlink 2013-02-05 github

z0id, the right click menu works fine for me, no delay.

Ttimjp87 2013-02-05 github

Menu only works without lag if you aren't on the library page. It's a bug and already reported but seams to be canonicals fault with libappindicator.

CCheogh 2013-02-05 github

Wow tjpld is right!

Sstevethepocket 2013-02-07 github

Wait, was this closed because someone came up with a workaround, or because Valve plans to integrate that workaround into the official copy in an upcoming update?

?ghost 2013-02-07 github

@johnv-valve closed the issue because it is fixed. The missing tray icon in KDE is KDE's fault.

AAlarmfifa 2013-02-07 github

I'm sorry, Do you mean this "missing tray icon"?
snapshot72
I use ArchLinux with KDE (32 and 64 bit) and without libappindicator. I haven't had any tray icon for a long time.
But suddenly, after Steam update from 30th of January, this broken icon appeared. I didn't update my KDE.
So, do you realy sure, that the problem is in KDE? =)

Ttimjp87 2013-02-07 github

Yes it is. I switched to KDE and all of a sudden don't have a tray icon anymore. With Gnome 3 before they implemented STEAM_RUNTIME which basically ships libappindicator to distros that don't need it for anything else you could install libappindicator and got the icon working. Now with STEAM_RUNTIME you have the icon working after sloukens patches. Do the same thing but using KDE and there still is no icon. So it is related to KDE.

AAlarmfifa 2013-02-08 github

I left a link of this discussion in KDE bug tracker
But after last update of steam package from AUR, icon has been appeared.

Ttimjp87 2013-02-08 github

Yes latest update fixed it. Have real icon on KDE 4.10 Arch Linux x86_64
What is strange is that in KDE the tray menu is slow in a different way.
On Gnome you right click it menu appears but highlighting is slow if you are on "Library"
On KDE when you right click it it takes a second for the menu to appear but the entries are fast no matter what page you are on.

Sstevethepocket 2013-02-09 github

Do I need to reinstall the ... whatever it is that it keeps telling me is out of date when I restart ... to apply this fix?

Sslouken 2013-02-09 github

This is a bug in KDE, but we have a workaround if you download and install the latest steam client archive:
http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz

Vvitamin7 2013-02-18 github

Actually the more correct way to do this for local user (without mucking with the system) is:
mkdir -p ~/.local/share/icons/
ln -s ../../../.steam/root/public/steam_tray.xpm ~/.local/share/icons/

Hhasufell 2013-02-18 github

@vitamin7 no, the correct folder is $HOME/.icons

see http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

(unless $XDG_DATA_DIRS contains ~/.local/share which is often not the case)

Vvitamin7 2013-02-19 github

That works too. Thanks for correction. It also doesn't matter if it's a symlink or a copy.

The point is - Steam does not install it's icon in the right place or at all. The problem isn't fixed but the bug is closed...

Sstevethepocket 2013-02-21 github

For what it's worth, uninstalling my outdated Steam package and installing the latest 64-bit build from scratch (which I'd been meaning to get around to anyway) fixed it for me. I didn't get a chance to try it with just the 32-bit package. And the delay before the menu comes up is still there.

EEsjitu 2013-03-07 github

Can anyone provide the steam_tray.xpm file? I just plain don't seem to have it. Running KDE 4.9 on Fedora, and I've got the 'missing icon' image in my tray.

Bbootkiller 2013-03-07 github

You can find them at "~/.steam/steam/public/" if you installed steam on the default location.

EEsjitu 2013-03-07 github

That's where I looked, and even searched my whole system for the file with no results. I've got several.tga files, some .ico presumably leftover from Windows, and a single .png, but no .xpm, curiously enough.

HHyperEye 2013-03-07 github

It seems they changed to using the steam_tray-mono icon (something like that. I'm not at my desk to check.) You will find it in the path mentioned.

EEsjitu 2013-03-08 github

Ah, you're correct - steam_tray_mono.png is that single .png I mentioned. Following vitamin7's instructions works and I have a proper tray icon now. Thanks, everyone!! Now if only the program could be minimized to tray in KDE.

Sstevethepocket 2013-03-12 github

So after the latest update, my icon is missing again, back to the piece of paper. Anyone else having this? I tried restarting the client just to make sure it wasn't a fluke.

MMrSchism 2013-03-12 github

@stevethepocket: Yes, it's known to be happening again.

MMightyPork 2013-03-12 github

Awesome, it works great after today's "launcher package" update.
Nice icon which fits to KDE nicely, and with that system variable workaround even closing to tray works.
Nice work you did there :)

Only if the tray icon had left-click action ("my games" for example) and the menu opened faster... then it'd be perfect.

Sslouken 2013-03-12 github

Great, thanks for the feedback!

Sstevethepocket 2013-03-14 github

So, wait, what do I have to do to get this fix? The auto-updater didn't do it.

MMightyPork 2013-03-14 github

you just do "sudo apt-get update && sudo apt-get upgrade" and get the new release.
It also helps to have "beta testing" enabled in your steam launcher.

MMarekPasnikowski 2013-03-14 github

OpenSUSE 12.3, KDE 4.10. The icon is still missing here. The Steam build is from March 13th.

MMightyPork 2013-03-14 github

I'm on Kubuntu 12.04, KDE 4.10.1 (from ppa), and it works.

CCheogh 2013-03-14 github

Archlinux repo update fixed my icon. Looks great!

MMarekPasnikowski 2013-03-14 github

I guess, OpenSUSE has problem with rendering of the icon...? What are it's outstanding properties? I will send a message to an apropriate mailing list.

AAlarmfifa 2013-03-15 github

Archlinux repo update fixed my icon. Looks great!

Yep! I can confirm it! But I don't agree, that it looks great, especially on a light background.
Just compare the Steam Icon with another monochrome KDE's icons:
snapshot91

btw, icon doesn't have any title on mouse hover and still is opened very long.

MMightyPork 2013-03-15 github

Perhaps a bit of "shadow" would help it.
It looks really good on black, anyway.

I made a variant with more shadow: https://dl.dropbox.com/u/64454818/tmp/steam_tray_mono.png
Copy it into ~/.steam/steam/public/steam_tray_mono.png - if you're lucky, it'll change the tray icon.

I can confirm that:

  • it doesn't have tooltip
  • right-click menu takes several seconds to open
  • left click does nothing
  • Also the nasty #1519 is still not fixed, and nobody even bothered to read my bug report!
AAlarmfifa 2013-03-15 github

When I launched Steam ~/.local/share/Steam/public/steam_tray_mono.png was replaced by old icon automatically =(

MMightyPork 2013-03-15 github

yeah :( I tried it now, and it didnt work. Looks like steam takes checksum of it's files and regenerates them if they changed - dunno from where. I even tried to avoid this using chmod and chown, but it failed to work :(

CCheogh 2013-03-16 github

I'm using oxygen theme on my bar so that is probably why it looks good.

Sstevethepocket 2013-03-18 github

@MightyPork:

you just do "sudo apt-get update && sudo apt-get upgrade" and get the new release.

Ugh, you should have warned me that that would try to update everything on my system including KDE itself. Apparently Kubuntu has a habit of crapping itself when you do that. I have no idea how to fix it now.

JJames-E-A 2017-03-06 github

@ManuGithubSteam Gentoo uses the ABI_X86 USE_EXPAND flag for multilib support. Add 32 to yours.

Wweberkai 2020-07-25 github

Run 32 bit version of gdk-pixbuf-query-loaders
gdk-pixbuf-query-loaders-32 > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache