keepassxreboot / keepassxc

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

Inconsistent behaviour between minimize button and tray icon #10578

Open dgva opened 3 months ago

dgva commented 3 months ago

Overview

Steps to Reproduce

  1. Minimize window on the KDE window frame OR lock session/screen
  2. KPXC minimizes to tray icon, but doesn't always return when pressed, or even when pressing "Toggle window"
  3. "Quit" the application completely and start a new instance
  4. Minmize window by clicking on the tray icon
  5. Window behaves as expected, minimizing and maximizing normally

Expected Behavior

Minimizing the window on the KDE frame itself, or locking the session/screen and then, when coming back, pressing the tray icon, should always open the KPXC window.

Actual Behavior

Inconsistent behaviour, where the window opens maybe once each 10 times.

Context

It started after the big Plasma 6 update. Already did a clean reinstall of KPXC, issue remains.

KeePassXC - Version 2.7.7 Revision: 68e2dd8

Qt 5.15.13 Debugging mode is disabled.

Operating system: EndeavourOS CPU architecture: x86_64 Kernel: linux 6.8.4-arch1-1

Enabled extensions:

Cryptographic libraries:

Operating System: Linux Desktop Env: KDE (Plasma 6.0.3-1) Windowing System: X11

droidmonkey commented 3 months ago

It started after the big Plasma 6 update

Why do you think this is a keepassxc problem? We don't control window frame level actions. That is on Plasma or the respective desktop environment.

dgva commented 1 month ago

We don't control window frame level actions.

Well, it only happens with KeePassXC, and I haven't found any similar bugs on KDE bug tracker... but I'll leave the option to close this up to you, if you think this is not directly related or appropriate to this repo. I really can't provide any more info on this, to be honest, I'm sorry.

kastl-ars commented 1 month ago

I also noticed that clicking the tray icon does not always open up KeePassXC. Sometimes the third click works, sometimes the second one. Although it seems to work on some machines while on others it needs more clicks.

In my case different linux laptops, 3x openSUSE Tumbleweed or Kalpa, 1x NixOS, 1x Fedora Kinoite. All with Plasma6