Appidicator menu lag
Prerequisite: desktop environment with regular systray (eg. xfce4, fluxbox, lxde, cinnamon)
- Change /tab/ of steam inside main window (store/library/community/news)
- Notice lag in appindicator's menu
- Change /tab/ of steam from appindicator's menu
- Notice that lag have disappeared
- Change /tab/ of steam inside main window (store/library/community/news)
- Notice that lag in appindicator's menu appears again
The window manager implements app indicator behavior so this isn't directly a Steam issue. In the cases with slow menu mouse-over behavior it looks like the window manager is relying on Steam to run GTK processing regularly. Steam only runs GTK when it needs to, and when a library page is up it doesn't need to, which seems fine for Steam to do so it's unclear what Steam should do here.
As a counter-example Unity has no issues.
This isn't about WM since i clearly stated that it's about one of the fallback states of libappindicator - which is just using regular systray.
It has nothing to do with Unity, which implements app/system indicators
Sorry, I should have said WM/libappindicator. Either way, this is not a Steam issue.
Steam, systray implementation and libappindicator can work easily without WM.
"Steam only runs GTK when it needs to, and when a library page is up it doesn't need to, which seems fine for Steam to do so it's unclear what Steam should do here." So maybe steam should run GTK to do »nothing«. Or file more detailed bug report to libappidicator project so it could be fixed there.
We've had a number of discussions with Canonical about libappindicator. They are looking at several things.
Closing as this issue is not a Steam issue.
So if the issue is that Steam doesn't run the GTK error loop on the library page... Why not make it do it? It's not like it causes any performance issues on the other pages.
The issue isn't within Steam, app indicators have no requirements on the app running GTK. It's an issue within the app indicator and window manager handling.
@gdrewb-valve: From user's point of view, it's Steam's issue since you distribute it bundled with steam (as part of steam runtime). Also it was your choice to pick that sooooo buggy library for something that important as tray icon is. What I'm trying to say is that this appindicator library seems to be very bad choice (as proven by tons of issues).
Again WM has nothing to do with that, and this issue can be fixed in both places.
Steam and X11's libappindicator/systray doesn't need WM at all
If the issue is somehow within libappindicator, why not patch the copy you distribute in the Steam Runtime?
Alternatively, instead of libappindicator, you can borrow the KDE implementation of the new (D-Bus based) indicator, or implement the Status Notifier Specification yourself. Though I understand that the last option is really far-fetched.
libappindicator claims to support that (KSNI)
libappindicator IS an implementation of KSNI for GTK applications. Falling back to the old XEmbed style tray icons if necessary (e.g. for GNOME Shell or plain GNOME 2).
FWIW, there has been no delay anymore for some time here..
Define »here« It still occurs at least on x86_64 system with enabled STEAM_RUNTIME, xfce 4.10.x, while library tab is active
ok, to be clear we're talking about the same thing: I used to have a long delay when I rightclicked on the steam systray icon before the menu would show up. In one of the latest updates (in the meanwhile a few weeks ago), it was fixed for me. I'm on KDE and since I know certain systray implementations go through DBus, I assumed the delay was caused by some dbus connection timeout. Regarding the steam runtime, I didn't change anything about that, so I guess it's enabled, reading this line on startup: "STEAM_RUNTIME is enabled automatically"
Here is my full sys info:
Processor Information:
Vendor: AuthenticAMD
Speed: 3200 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported
Network Information:
Network Speed:
Operating System Version:
"openSUSE 12.2 (x86_64)" (64 bit)
Kernel Name: Linux
Kernel Version: 3.4.11-2.16-desktop
X Server Vendor: The X.Org Foundation
X Server Release: 11203000
X Window Manager: KWin
Steam Runtime Version: steam-runtime-release-i386_2013-02-22
Video Card:
Driver: NVIDIA Corporation GeForce GTX 275/PCIe/SSE2
Driver Version: 3.3.0 NVIDIA 310.19
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x10de
DeviceID: 0x5e6
Number of Monitors: 2
Number of Video Cards Not Detected
Primary Display Resolution: 1680 x 1050
Desktop Resolution: 2960 x 1050
Primary Display Size: 17.05" x 10.67" (20.08" diag)
43.3cm x 27.1cm (51.0cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 896 MB
Supported MSAA Modes: 2x 4x 8x 16x
Sound card:
Audio device: Nvidia MCP77/78 HDMI
Memory:
RAM: 8000 Mb
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 379516 Mb
Largest Free Hard Disk Block: 72560 Mb
Installed software:
Recent Failure Reports:
Fri Feb 22 18:59:27 2013 GMT: file ''/tmp/dumps/assert_20130222195904_1.dmp'', upload yes: ''CrashID=bp-e3dc56b9-821f-42ff-8ce1-029c62130222''
I'm still getting the lag (on library tab). Archlinux x86_64.
aha! yes, I also have it on the library tab! I tried all other tabs, it only happens on the library tab! I didn't realize that :) There is one exception on the lib tab: try switching to downloads in the lib tab, then switch to another tab, then return to the lib tab and rightclick on the systray icon -> in my case consistently no delay.
Confirmed on Arch linux x86_64 using:
- Openbox + tint2 (with or without a GLX compositor)
- Fluxbox
- Awesome
- i3
- Cinnamon
- xfce4
If every other program gets it right and it only works in one or two window managers, then surely it's a sign that you're doing something wrong?
Also, I don't think contacting canonical is the way to go about it -- they're so Linux they actively refuse to put the word "Linux" on their website!
Closing as this issue is not a Steam issue
If Steam is using a faulty library simply for integration with what is probably the world's most terrible desktop environment (Unity -- the only way I could find it remotely tolerable is if I had touchscreen), then Steam should switch to something that works instead. GTK provides ample framework for this kind of thing.
so.. is there already a bug filed for the libappindicator project? I'd like to understand in detail what the problem is to see if I could help out.
Seems fixed for me now on Ubuntu 13.10.