Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docking icon not working in Wayland #572

Open
NuberuSH opened this issue Sep 10, 2024 · 0 comments
Open

Docking icon not working in Wayland #572

NuberuSH opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NuberuSH
Copy link

NuberuSH commented Sep 10, 2024

Describe the bug
Tray icon failed to dock

To Reproduce
Steps to reproduce the behavior:

  1. Run main.py
  2. See error

Expected behavior
Tray icon is visible in tray area

Environment:

  • Smart screen model: Turing 3.5”
  • Revision of this project:main branch
  • OS with version: Arch Linux with Sway (Wayland)
  • Python version: Python 3.12
  • Hardware: AMD Ryzen 7 7700X

Additional context
Besides this, everything is working fine.
When testing with i3wm (X11) in the same system the try icon is shown.
The error logs show it is trying to call for _xorg.py

Error log in Sway:
09/10/2024 05:11:22 PM [ERROR] Failed to dock icon
Traceback (most recent call last):
File "/home/user/ironwork/turing-smart-screen-python/.venv/lib/python3.12/site-packages/pystray/_xorg.py", line 162, in _update_icon
self._assert_docked()
File "/home/user/ironwork/turing-smart-screen-python/.venv/lib/python3.12/site-packages/pystray/_xorg.py", line 395, in _assert_docked
assert self._systray_manager
^^^^^^^^^^^^^^^^^^^^^
AssertionError

@NuberuSH NuberuSH added the bug Something isn't working label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant