jrbudda / Vivecraft_114

VR mod for Minecraft. For Version 1.14.X http://www.vivecraft.org
Other
70 stars 12 forks source link

No focus on ingame menus #21

Closed galadril closed 4 years ago

galadril commented 5 years ago

I've an issue with my Oculus Rift S, that when I put the headset a way for like 1minute (a break) and put it back on, all the menu's in game are not working anymore.

So i can toggle the menu's, but i cant select an item because there the crosshair doesn't has any focus on the dialogs...

This also happens some times when just starting vivecraft, the first menu then doesn't show my crosshair..

any thoughts?

ZwipZwapZapony commented 5 years ago

If you have Vivecraft's game window set to run in fullscreen on the desktop display, can you confirm whether or not the Vivecraft window was actively selected on your desktop (edit: when you experienced this issue)?

(Minecraft: Java Edition uses exclusive fullscreen mode. This means that if Minecraft isn't in focus (edit: while in fullscreen mode), it gets minimized. And as Vivecraft tells Minecraft "the player has the cursor here" for GUI stuff and Minecraft's window becomes 0x0 pixels when minimized, Vivecraft doesn't seem to work right if it's minimized.)

galadril commented 5 years ago

I think that Vivecraft had fullscreen and was visible/active when it happened, but ill try and check a couple of nights. Thanks, ill report back