Closed liambrownweb closed 2 years ago
Thank you for your report.
run_detached
requires that the framework you are integrating with uses the same kind of mainloop as this library, and TKinter uses an X mainloop, whereas the usable backends for this library use GTK.
If you do not target macOS, my suggestion would be to run the icon in a separate thread and simply use run
instead.
I will update the documentation to make this more clear.
OS: Pop!OS 21.10 Desktop: Gnome 40.4
The tray icon simply never appears. Tried replacing the version of pystray on PyPI with the latest pull from here (which claimed to implement
run_detached
) and same result, nothing appeared. Using therun
method instead does work.