xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 7 years ago

Closed 7 years ago

Last modified 9 months ago

#656 closed defect (fixed)

osx systray failure

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 0.15
Component: client Version: trunk
Keywords: Cc:


Apparently with pidgin:

make_instance[<class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>, None, 'Pidgin', None, \
    <function tray_geometry at 0xbd1aa30>, <function tray_click at 0xbd1a9b0>, \
    <function tray_mouseover at 0xbd1a9f0>, <function tray_exit at 0xbd1aa70>] \
    failed to instantiate <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>
Traceback (most recent call last):
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 530, in make_instance
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 38, in __init__
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/tray_base.py", line 104, in set_icon_from_file
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 117, in do_set_icon_from_file
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 123, in set_icon_from_pixbuf
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 91, in get_geometry
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/gtk_base/statusicon_tray.py", line 46, in may_guess
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/tray_base.py", line 148, in recalculate_geometry
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 597, in tray_geometry
AttributeError: 'NoneType' object has no attribute 'get_geometry'
Traceback (most recent call last):
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 1756, in _process_new_tray
  File "/Users/MacAdmin/gtk/inst/lib/python2.7/site-packages/xpra/client/ui_client_base.py", line 605, in setup_system_tray
AssertionError: could not instantiate a system tray for tray id 4

Change History (2)

comment:1 Changed 7 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

This code is old, I believe it is the newer GTK builds we now use that must have caused this bug to surface.

r7414 fixes that, r7415 for v0.14.x branch - closing.

comment:2 Changed 9 months ago by migration script

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

Note: See TracTickets for help on using tickets.