Xpra: Ticket #1459: Systray icons unresponsive

Forwarded systray icons are unresponsive to mouse actions. I'm running Xfce on Arch Linux and installed xpra using the xpra-winswitch 1.0.3-1 AUR package. This doesn't happen in an older version (0.17.4).

Tue, 07 Mar 2017 14:55:01 GMT - Antoine Martin: owner changed

@alin104n: which application are you testing with? Can you try with vlc? Does that work? If not, can you attach the "-d tray" log to this ticket?

Thu, 09 Mar 2017 12:23:46 GMT - na--: cc set

I have the exact same issue. When using the Xpra 1.0.3 client on Arch linux to connect to an Arch linux server (also with Xpra 1.0.3), the server system tray icons are shown but unresponsive. Application windows work normally, but left or right mouse clicks on systray icons have no effect. The specific applications do not seem to matter, all of them that I've tried do not work, including just VLC without anything else in the session.

When I downgrade the client to version 0.17.6, the systray icons of the very same server session become responsive. It may be just an Arch linux client bug, because everything is fine with a Xpra 1.0 client on Fedora 24 and I remember having the same problems with Xpra 1.0 or 1.0.1 on Arch.

I will attach logs with "-d tray" for the above 3 cases. The server is Arch linux, running just VLC in a Xpra 1.0.3 session. The clients are xpra 1.0.3 on arch (*not working*), xpra 0.17.6 on arch (working) and xpra 1.0 on fedora 24 (working)

Thu, 09 Mar 2017 12:24:34 GMT - na--: cc deleted

Thu, 09 Mar 2017 12:29:23 GMT - na--: attachment set

Thu, 09 Mar 2017 12:29:49 GMT - na--: attachment set

Thu, 09 Mar 2017 12:29:57 GMT - na--: attachment set

Thu, 09 Mar 2017 12:31:40 GMT - Antoine Martin:

Can you please try to grab "xpra info" from the server with each version? (we want to see where the window representing the tray is mapped on the server side)

Thu, 09 Mar 2017 12:46:22 GMT - Antoine Martin:

Just looking at the logs, the working version (0.17.x) has lots of log events like this one:

ClientTray(1).reconfigure(False) geometry=(2136, 1404, 32, 32)

But with 1.0:

ClientTray(1).reconfigure(False) geometry=None

Looking at the list of changes in the 2 critical classes:

The following changeset stands out immediately: r14591. And I messed it up... sorry. r15247 fixes that, already included in the 1.x branch as of r15249.

Thu, 09 Mar 2017 13:11:12 GMT - na--: status changed; resolution set

No worries and thanks for the lightning fast fix! :)

I can confirm that your changes fixed the problem. Using the "xpra-winswitch-svn" package from the Arch AUR (with changed PKGBUILD so that it will use the v1.0.x branch and r15249) works like a charm!

Sat, 23 Jan 2021 05:24:52 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1459