ActivityWatch / aw-qt

Tray icon that manages ActivityWatch processes, built with Qt.
Mozilla Public License 2.0
27 stars 32 forks source link

Systray icon is missing on Fedora 35 KDE plasma 5.23 #80

Closed baddwin closed 2 years ago

baddwin commented 2 years ago

Executing aw-qt binary get these errors and system tray icon is not showing, while other processes run fine.

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/me/opt/activitywatch/platforms" ...
Cannot load library /home/me/opt/activitywatch/PyQt5/Qt/plugins/platforms/libqxcb.so: (/lib64/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language)
QLibraryPrivate::loadPlugin failed on "/home/me/opt/activitywatch/PyQt5/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/me/opt/activitywatch/PyQt5/Qt/plugins/platforms/libqxcb.so: (/lib64/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
johan-bjareholt commented 2 years ago

This seems to hint that you have a newer system version of libfreetype than ActivityWatch supports. We should fix this before more Linux distributions upgrade their free type version if that is the case.

https://github.com/vircadia/vircadia/issues/1483

johan-bjareholt commented 2 years ago

In fact, someone seems to already have reported this in Arch Linux, specifically mentioning ActivityWatch in the comments.

https://bugs.archlinux.org/task/71680

ErikBjare commented 2 years ago

This is a duplicate of https://github.com/ActivityWatch/activitywatch/issues/660 and the problem can worked around (until the next release) by removing the libharfbuzz.so file from the installation directory.

Closing.