void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

keepassxc bug with wayland and qt5: UI text hidden after some inactivity

Open vr-ski opened this issue 3 months ago • 3 comments

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).

Image

Steps to reproduce

  1. Have the window open
  2. Wait for some time
  3. Text from UI elements is gone

vr-ski avatar Sep 03 '26 19:09 vr-ski

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 avatar Sep 05 '26 15:09 eholzbach

@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!

vr-ski avatar Sep 08 '26 08:09 vr-ski

XBPS doesn't support optional dependencies. There is no mechanism to demand qt5-wayland automatically for users in one class and not another.

ahesford avatar Sep 08 '26 10:09 ahesford