This problem should have been fixed with commit
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=dda7dab8274991e4a61a97c3...
after checking which Qt version includes such commit, I will remove
xcb.patch [1] and release a new keepassxc release to test its behaviour
[1]:
https://src.fedoraproject.org/rpms/keepassxc/blob/rawhide/f/xcb.patch