keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.45k stars 1.48k forks source link

KeePassXC fails when accessed while using VR #10454

Open Lafikateh opened 8 months ago

Lafikateh commented 8 months ago

Overview

KeePassXC freezes and starts leaking memory quickly if opened while a VR session is running. The process then has to be killed manually as the window stops responding to user input.

Steps to Reproduce

  1. Start a VR session using an Oculus Quest headset[possibly other brands/models too but that's what I have]
  2. Try to access KeePassXC in any way while the database is unlocked

Context

  1. Option "View -> Allow Screen Capture" is enabled
  2. Doesn't happen if the app is started as an Administrator
  3. Doesn't matter if started before or during the session
  4. Doesn't happen if the database remains locked
  5. Doesn't happen if the app is not interacted with/stays closed to tray

KeePassXC - Version 2.7.7 Revision: 68e2dd8

Operating System: Windows 10 1809

droidmonkey commented 8 months ago

Appears to be a qt bug: https://bugreports.qt.io/browse/QTBUG-55226

Lafikateh commented 8 months ago

Seems to be different from that, as opening the settings when locked[which has scrollbars] doesn't cause issues.

droidmonkey commented 8 months ago

I'm not sure what to say, I don't have a VR headset to test with, and we definitely aren't doing anything special in our code that would differ in VR.