flathub / org.keepassxc.KeePassXC

https://flathub.org/apps/details/org.keepassxc.KeePassXC
27 stars 16 forks source link

Flatpak app system tray icon doesn't work #5

Closed alexbrrsclnt closed 6 years ago

alexbrrsclnt commented 6 years ago

Select the checkbox to show the system tray icon has no effect. If I select any of the options to hide the app to the system tray when minified or instead of closing the window, neither appear to work.

TingPing commented 6 years ago

Does flatpak run --talk-name=org.kde.StatusNotifierWatcher org.keepassxc.KeePassXC work?

alexbrrsclnt commented 6 years ago

It works, but the system tray icon doesn't correspond to the app icon, an empty document icon is shown instead. Apart of this, the two options work as expected.

TingPing commented 6 years ago

It will probably need to be patched to use the right icon name.

alexbrrsclnt commented 6 years ago

One thing I have just notice, when I try to open and existing database, click the open button and the open dialog shows, my personal folder shows empty with no documents or folders. The filter to show only Keepass 2 databases is selected, but when I change to "all files" nothing changes, still no files.

Don't know if I must open a new issue for this.

TingPing commented 6 years ago

That is at least unrelated to this.

AsavarTzeth commented 6 years ago

I tested it on the latest plasma-desktop and tray icons seem to work as expected now.

vasyugan commented 5 years ago

For me it still does not work. On the console I see failed to register service "org.kde.StatusNotifierItem-4-2 which sounds to me as if the flatpak kde platform is missing something that keepassxc wants.

vasyugan commented 5 years ago

Does flatpak run --talk-name=org.kde.StatusNotifierWatcher org.keepassxc.KeePassXC work?

For me, it does not:

flatpak run --talk-name=org.kde.StatusNotifierWatcher org.keepassxc.KeePassXC
Warning: disregarding XDG_SESSION_TYPE=wayland
To use wayland anyway, please set QT_QPA_PLATFORM=wayland
failed to register service "org.kde.StatusNotifierItem-4-2"
QObject::startTimer: Timers cannot have negative intervals