nwg-panel: [BUG] New glib2 release 2.82.3 breaks systray
Describe the bug
Upgrading to glib2 2.82.3-1 on Arch Linux breaks systray in nwg-panel.
To Reproduce Steps to reproduce the behavior:
- Update to glib2 2.82.3-1
- Restart nwg-panel (
nwg-panel -sigdwl 1) - Systrays do not appear anymore (see logs in additional context)
Expected behavior Systray still working 😄
Desktop (please complete the following information):
- Linux distribution: Arch Linux
- Sway version
sway -vsway version 1.10 - Panel version
nwg-panel -vnwg-panel version 0.9.53
Additional context
Logs:
Running instance found, PID 5418, sending SIGINT
Common settings {'restart-on-display': True, 'restart-delay': 500, 'processes-backgroud-only': True, 'processes-own-only': True, 'processes-interval-ms': 2000, 'run-through-compositor': True}
Dependencies check: {'light': False, 'brightnessctl': True, 'ddcutil': False, 'pamixer': False, 'pactl': True, 'playerctl': True, 'wlr-randr': False, 'hyprctl': False, 'upower': False, 'swaync': True, 'python-requests': True}
Running on sway
Outputs: {'DP-2': {'x': 3840, 'y': 0, 'width': 1080, 'height': 1920, 'description': 'Samsung Electric Company LS24AG32x H9JX206899 ', 'monitor': <__gi__.GdkWaylandMonitor object at 0x74a60b669080 (GdkWaylandMonitor at 0x5ff6d17726f0)>}, 'HDMI-A-1': {'x': 0, 'y': 0, 'width': 1920, 'height': 1080, 'description': 'Acer Technologies XV240Y TLVEE0028521', 'monitor': <__gi__.GdkWaylandMonitor object at 0x74a600856c00 (GdkWaylandMonitor at 0x5ff6d1772910)>}, 'DP-1': {'x': 1920, 'y': 0, 'width': 1920, 'height': 1080, 'description': 'Acer Technologies XV240Y TLVEE0028521', 'monitor': <__gi__.GdkWaylandMonitor object at 0x74a600856c40 (GdkWaylandMonitor at 0x5ff6d1772a10)>}}
Descriptions: {'Samsung Electric Company LS24AG32x H9JX206899 ': 'DP-2', 'Acer Technologies XV240Y TLVEE0028521': 'DP-1'}
left box created
center box created
right box created
Panel 'panel-top': output: DP-1, monitor: , position: top, layer: bottom, width: 1920, height: 30
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/dasbus/client/observer.py", line 88, in _name_appeared_callback
callback(name_owner, *callback_args)
File "/usr/lib/python3.12/site-packages/dasbus/client/observer.py", line 230, in _service_name_appeared_callback
self._enable_service()
File "/usr/lib/python3.12/site-packages/dasbus/client/observer.py", line 220, in _enable_service
self._service_available.emit(self)
File "/usr/lib/python3.12/site-packages/dasbus/signal.py", line 53, in emit
callback(*args, **kwargs)
File "/usr/lib/python3.12/site-packages/nwg_panel/modules/sni_system_tray/host.py", line 62, in watcher_available_handler
for item in self.watcher_proxy.RegisteredStatusNotifierItems:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/proxy.py", line 164, in __getattr__
return member.get()
^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/property.py", line 43, in get
return self.__get__(None, None) # pylint: disable=unnecessary-dunder-call
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/property.py", line 54, in __get__
return self._getter()
^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 382, in _get_property_value
variant = self._call_method(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
return self._get_method_reply(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
return self._handle_method_error(error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
raise exception from None
dasbus.error.DBusError: Remote peer disconnected
I remain available if needed 😃
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (6 by maintainers)
as someone who was affected by this bug but didn’t have a lot of time to dig into it, love to see y’all tracking this all the way through in a short period of time. great work, y’all, I appreciate you. 😁
Thank god it’s not on my end. I’m always afraid of bug reports from the Tray module, as it’s way beyond my skills.
It does, indeed. Great job!
The glib2 Arch package has been patched. The issue should be fixed with
glib2 2.82.3-3.I’ll confirm it as soon as I can.