keepassxc bug with wayland and qt5: UI text hidden after some inactivity
Is this a new report?
Yes
System Info
Void 7.1.12_1 x86_64-musl GenuineIntel notuptodate FF
Package(s) Affected
keepassxc-2.7.12_3
Does a report exist for this bug with the project's home (upstream) and/or another distro?
https://github.com/keepassxreboot/keepassxc/issues/13643
Expected behaviour
Text should not disappear.
Actual behaviour
After keeping the program open for some time, or maybe after display sleep, text is missing/stripped from menu items and UI entries (e.g., buttons, labels, or dropdown options) in KeePassXC. However, DB text (password entries) appears normally. Quitting and reopening the program fixes the text. In the keepassxc issue they suggested it could be fixed by linking against qt6 (unfortunately I can't run AppImages and can't test their suggested fix).
Steps to reproduce
- Have the window open
- Wait for some time
- Text from UI elements is gone
I hit this same issue. From what I recall it was due to my environment, nothing specific to Void. My issue was resolved after installing qt5-wayland, setting QT_QPA_PLATFORM=wayland and set Sway to correctly scale for hidpi.
@eholzbach, thanks a lot for the info! I will test it for a bit and close the issue if it fixes it for me.
PS: I agree that this is not a Void issue, but does it make sense to include this package as a dependency for qt5 programs running on Wayland? This is not as a critique of the current way but more in the tone of "let's make it even better" (if it weren't for this communication, I wouldn't have known how to fix it).
EDIT: As promised I'm leaving my feedback after a couple of days - it did fix it. Thanks again @eholzbach!
XBPS doesn't support optional dependencies. There is no mechanism to demand qt5-wayland automatically for users in one class and not another.