BricksVR / bricksvr-issue-tracking

A repository used to keep track of bugs, feature requests, and TODOs for the BricksVR game.
https://bricksvr.com
13 stars 0 forks source link

UI doesn't function sometimes when you lose focus of bricksvr.exe #234

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the bug Sometimes the in-game UI does not function when you lose focus of the bricksvr window

To Reproduce Steps to reproduce the behavior:

  1. Get to a place where there's a menu
  2. Verify the menu works beforehand
  3. Open a different program, and the focus shifts to that
  4. When you try to click a button on the menu, it will not work, but only sometimes

Expected behaviour The menu is expected to fully function when you lose focus of bricksvr

Screenshots or Video

https://user-images.githubusercontent.com/29762615/124006235-006feb80-d9a8-11eb-9abc-a76282a3da49.mp4

Device information: Oculus Quest with Link

Build version: V0.2.33

Additional context

d12 commented 3 years ago

Haven't been able to reliably repro this, or pin down a cause. When I have been able to repro, refocusing the game window in Windows has always fixed the problem.

I'd like to be able to tell users when they need to refocus their game but I haven't found an event or a property that tells us when this bug is happening. When the game loses focus it "should" keep working. And it normally does, except sometimes it doesn't D: