Xpra: Ticket #536: tray error

In just released 0.11.5 tray is no longer working -- when I click xpra icon in tray or any application icons the following is printed by the client:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/xpra/client/gtk_base/statusicon_tray.py", line 49, in activate_menu
  File "/usr/lib/python2.7/dist-packages/xpra/client/gtk_base/statusicon_tray.py", line 41, in may_guess
    log("may_guess() GUESS_GEOMETRY=%s, current guess=%s", GUESS_GEOMETRY, self.geometry_guess)
NameError: global name 'log' is not defined

Tue, 18 Mar 2014 09:50:28 GMT - onlyjob: priority, component changed; version set

Tue, 18 Mar 2014 09:53:20 GMT - Antoine Martin:

Damn, bad backport in r5833, fixed in r5840.

Will release 0.11.6 with this one.

Tue, 18 Mar 2014 10:11:17 GMT - Antoine Martin: owner changed

Does this fix things for you? (I am the process of releasing 0.11.6 - don't want to miss something again as this costs me about ~2 hours)

Tue, 18 Mar 2014 10:30:01 GMT - onlyjob:

I know the feeling... It often cost me hours to test.

From the brief look r5840 seems all right. I will test 0.11.6 thoroughly when released.

Thanks for your hard work.

Tue, 18 Mar 2014 10:33:42 GMT - onlyjob:

I mean I tried r5840, it works, this problem with tray is fixed.

Tue, 18 Mar 2014 10:38:06 GMT - onlyjob:

By the way I'm getting some seemingly harmless warnings from client:

FIXME: Ignoring ClientMessage type=_NET_STARTUP_INFO_BEGIN with format=8 (!=32)
FIXME: Ignoring ClientMessage type=_NET_STARTUP_INFO with format=8 (!=32)

Are they safe to ignore?

Tue, 18 Mar 2014 10:44:06 GMT - Antoine Martin: status changed; resolution set

Thanks, I've pushed 0.11.6 with this fix only.

The _NET_STARTUP_INFO* stuff is part of the startup notification protocol. They are totally safe to ignore (we have nothing to do with them) and r5843 silences this warning (will queue it for 0.11.7)

Sat, 23 Jan 2021 04:58:39 GMT - migration script:

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