Skip to content

Conversation

cbednarski
Copy link

Hello! Thanks for working on KeepassXC. I use it daily, and it's in indispensable tool.

As previously reported, Keepass cannot be switched to via alt-tab after starting on Linux.

TL;DR: StartupNotify=true causes a delay after KeepassXC starts until the notification timeout is reached, making the KeepassXC window unavailable in the application switcher (i.e. alt-tab) on various Linux distros.

From what I've read on free desktop bug reports and the notification spec, StartupNotify=true creates an expectation that KeepassXC will make a subsequent call to the notifications API to remove the "pending startup" message, thus indicating that the app is ready. Apparently KeepassXC never does this?

I've tested this change on Fedora 42. Aside from the window instantly appearing in alt-tab, I did not notice any other difference as a result of changing the StartupNotify value. Maybe there is some other reason this hasn't been explored yet?

I run into this bug multiple times a day, so any kind of fix for this would be nice.

I see that this problem could also be fixed by #7774 but it's not clear that it will be completed in the near future. (To be clear, that is not meant as criticism; I'm just looking for a pragmatic solution here.) Thanks!

StartupNotify causes KeepassXC to hang on startup until the notification timeout is reached, making the KeepassXC window unavailable in the application switcher (i.e. alt-tab) on various Linux distros.

Fixes keepassxreboot#6423
Fixes keepassxreboot#11664
@droidmonkey
Copy link
Member

Huh interesting

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants