protonscr

Duplicate Icon in System Tray with tint2

steamopen reviewedSteam clientWindow manager
ValveSoftware/steam-for-linux#2077 · opened 2013-03-03 by ghost · updated 2019-07-18 · 13 comments · github
?ghost 2013-03-03 github
Description of the Problem

After running

$ STEAM_FRAME_FORCE_CLOSE=1 steam

or just

$ steam

in a terminal emulator, half the time it will produce an extra icon in my system tray. The ones on the left do nothing when left-clicked or right-clicked, while the right one will show the menu on right-click. Each time I close Steam, either by exiting from Steam itself, or ctrl+c in xterm, they will go away. But when I start up steam again, there will be another extra icon.

Here are the errors thrown at me after running the above commands in xterm:

[0303/001306:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0303/001306:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  40 (X_TranslateCoords)
Resource id in failed request:  0x60063f
Serial number of failed request:  3093
xerror_handler: X failed, continuing

Steam will run just fine though, there's just the extra icons.

How to Replicate This Issue

Running steam through an terminal emulator such as xterm will produce a duplicate icon, but launching from my menu will only produce one icon.

My System Specifications
  • OS: Arch Linux x86_64
  • Kernel: 3.7.9-2-ARCH
  • Window Manager: OpenBox3
  • Panel/Tray: tint2
  • RAM: 3701 MB avaliable
  • CPU: AMD Phenom II P840 Triple-Core Processor
Jjohndrinkwater 2013-06-02 github

@LexIgnis is this still an issue for you?

?ghost 2013-06-02 github

I'm not sure, I sold my computer and bought a laptop so I'm unable to
check.
On Jun 2, 2013 6:38 PM, "John Drinkwater" [email protected] wrote:

@LexIgnis https://github.com/LexIgnis is this still an issue for you?


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/2077#issuecomment-18815496
.

?ghost 2013-06-02 github

Bought a tablet*
On Jun 2, 2013 6:39 PM, "Matt Weisler" [email protected] wrote:

I'm not sure, I sold my computer and bought a laptop so I'm unable to
check.
On Jun 2, 2013 6:38 PM, "John Drinkwater" [email protected]
wrote:

@LexIgnis https://github.com/LexIgnis is this still an issue for you?


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/2077#issuecomment-18815496
.

Yyunake 2013-06-26 github

I have the same issue, and the same setup with Archlinux, openbox and tint2. It has been like this since the early beta. I reliably get it every time i launch Steam.

Each time I close Steam, either by exiting from Steam itself, or ctrl+c in xterm, they will go away. But when I start up steam again, there will be another extra icon.

I think a better way to put it would be that every time you restart Steam you get one more extra icon, so on second run you will have three icons, on third one — four and so forth. Also it seems that at least half of the times the icon would not have the steam image on it, instead being any random image from any other currently active tray icons. I've also seen the icon image change at least once with Steam still running. Once you quit Steam, the image becomes transparent but it still occupies the space. Working icon disappears entirely, as expected.

I am actually thinking this is a bug in tint2 systray implementation that might've been exposed by some weird Steam app behaviour. I have not seen it with other trays plus the "broken" icons just show you system menu as they would if it was just an empty space (although this might be happening because you are ought to register a right-click handler to mask the default behaviour, i'm no good with GUIs and FDO standards).

Jjonhoo 2013-07-11 github

For what it's worth, I'm also seeing this using Arch and tint2 (PekWM as window manager) on x86_64.

Bbout10bucks 2013-07-30 github

I am as well, Arch with tint2... I switched to xfce4-panel in the mean time, but would really prefer to have my tint2 back

Jjmreyes 2013-08-16 github

Same issue here, also using Arch + tint2 with Openbox as window manager.

Xxhsdf 2013-10-22 github

Still an issue.
(Also Arch, Openbox, tint2, 64bit)

Sstelonix 2013-10-31 github

Also experiencing this issue on Arch x86_64 + PekWM + tint2. I'd like to note when I switch workspaces, the extra icon becomes gibberish, usually part of the other icons or just random glitch.

Jjohndrinkwater 2013-11-03 github

Has someone reported an issue to tint2? This is behaving well on other indicator trays, at least finding out if something is being done incorrectly by steam might better everyone’s software…

Sstelonix 2013-11-04 github

I actually posted here because I didn't see this was about the Steam client, I thought I was on tint2's repository. Also, since I couldn't find any similar topics specifically about tint2 and tray glitches, I figured it was only happening with Steam.

Wwulftone 2013-12-23 github

Here's something similar on the tint2 repo: https://code.google.com/p/tint2/issues/detail?id=343

Ssanta01 2015-05-09 github

@wulftone the patch provided in a tint2 ticked doesn't seem to work, see https://code.google.com/p/tint2/issues/detail?id=343#c38