Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!