Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The main window does not appear when it is toggled from a hidden state #10700

Open
caesarw opened this issue May 8, 2024 · 4 comments
Open

Comments

@caesarw
Copy link

caesarw commented May 8, 2024

Overview

KeePassXC main window does not appear when it is toggled from a hidden state.

Steps to Reproduce

  1. Start KeePassXC (under XWayland, with the option Minimize window at application startup enabled)
  2. Click Toggle window in the tray

Expected Behavior

After clicking Toggle window, the main window should show up.

Actual Behavior

The main window did not appear. It showed up for a brief moment and then disappeared (see the screencast attached).

screencast.mp4

Context

  • Source of installation: Builds from the Arch Linux official repo (PKGBUILD).
  • Operating System: Arch Linux
  • Desktop Environment: GNOME 46
  • Windowing System: Wayland (with KeePassXC running under XWayland)

Debug info:

KeePassXC - Version 2.7.7
Revision: 68e2dd8

Qt 5.15.13
Debugging mode is disabled.

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

Enabled extensions:
- Auto-Type
- Browser Integration
- Passkeys
- SSH Agent
- KeeShare
- YubiKey
- Secret Service Integration

Cryptographic libraries:
- Botan 3.4.0
@caesarw caesarw added the bug label May 8, 2024
@Faebu93
Copy link

Faebu93 commented May 24, 2024

I experienced the same issue. I found the setting 'Hide window to system tray when minimised' to be the culprit. If this setting is disabled, it works again for me. I have not tried, if it depends also on the other UI settings. With these UI settings I am experiencing the bug:

[GUI]
MinimizeOnClose=true
MinimizeOnStartup=true
MinimizeToTray=true
ShowTrayIcon=true
TrayIconAppearance=monochrome-light

To fix your KeepassXC installation, edit your settings file (in Linux it is located under ~/.config/keepassxc/keepassxc.ini) and set the value MinimizeToTray to false.

I am on Linux Manjaro, installed KeePassXC from the Manjaro Package Repository, am on Gnome 46.

The problem started to appear after the update to Gnome 46 and from keepassxc 2.7.6-3 to 2.7.7-2, not sure which one caused the issue.

Thanks for all the good work, I love the project!

@droidmonkey
Copy link
Member

This seems much more a gnome issue than ours. We haven't changed anything related to that setting in a long time. Plus it works perfectly fine everywhere else.

@mtompkins
Copy link

mtompkins commented May 31, 2024

I can confirm this abnormality on Gnome and X11.
At launch it will toggle, but arbitrarily it will cease responding to a toggle invocation.

If I exit and restart KPXC, the toggle then performs as expected.

It may indeed be an upstream gnome issue, but it does impact others so I am pushing back on "it works perfectly fine everywhere else" as it does not.

@droidmonkey
Copy link
Member

When I say it works perfectly fine everywhere else I am referring to everywhere that is not gnome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants