keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.39k stars 1.48k forks source link

Minimizing options don't seem to work on qt-wayland? #11391

Closed tpaniaki closed 1 month ago

tpaniaki commented 1 month ago

Overview

I'm using Qtile on wayland and would like to enjoy the option to start keepassxc minimized. However, all minimizing options don't work.

Steps to Reproduce

  1. Qtile / wayland
  2. Check in settings you'd like the app to be opened minimized.

Expected Behavior

The app starts minimized (background process).

Actual Behavior

The GUI is not minimized.

Context

KeePassXC - Version 2.7.9 Revision: 8f6dd13

Qt 5.15.15 Debugging mode is disabled.

Operating system: Arch Linux CPU architecture: x86_64 Kernel: linux 6.11.4-arch1-1

Enabled extensions:

Cryptographic libraries:

Operating System: Linux Desktop Env: None Windowing System: Wayland

droidmonkey commented 1 month ago

Do any qt apps minimize properly?

tpaniaki commented 1 month ago

I don't have a qt app offering to minimize itself at a certain point.

Ideally, an argument such as--background (keepassxc --background) would be useful for picky non-DE users.

droidmonkey commented 1 month ago

I don't know much about qtile, but I installed it and replicated the behavior. However, I don't think this is on us and I suspect you either need to adjust the qtile config to enable minimized windows on startup or simply enable the tray icon which allows this to work right away. We won't be making any code adjustments here.

See also #4507