Open kovasap opened 9 months ago
I don't see this issue with a clean install of https://github.com/ActivityWatch/activitywatch/releases/tag/v0.12.2.
I had the same issue with an ActivityWatch pre-release (it was a v0.12.3b
, but I'm not sure if it was exactly the v0.12.3b10
release) on Xubuntu 23.04. I'm also experiencing this issue on NixOS 23.11, which uses ActivityWatch version 0.12.2
.
The whole thing originates from aw-qt
that tries to create a tray icon using the Qt libraries (PyQt6, as you can see in trayicon.py).
I am not very familiar with the Qt ecosystem, but as far as I understand Qt has a plugin system that allows you to load plugins either at runtime or at build time. I guess most application developers opt for creating a dynamically linked executable, so their application can load Qt plugins at runtime.
I'm not sure about this - because I'm not familiar with Qt - but it seems that Qt search for runtime plugins in QT_PLUGIN_PATH
(see also this).
It seems that aw-qt is not the only application with this issue.
I wouldn't call this a solution, but as you can see from this line if you launch aw-qt
with --no-gui
, trayicon.py
will not be imported. You will have no tray icon, but you will have no Qt issues.
Describe the bug
I just updated to https://github.com/ActivityWatch/activitywatch/releases/tag/v0.12.3b10 because of https://github.com/ActivityWatch/aw-watcher-window/issues/89 and now I do not see the aw tray icon when starting up. I think this may be a dupe of https://github.com/ActivityWatch/activitywatch/issues/660, but i do not see the offending library in my install directory.
Logs