phileday / whirligig-old-issues

Whirligig Media Player bug tracking
0 stars 0 forks source link

Bug: mouse getting un-captured when menus are open #31

Open cheater opened 5 years ago

cheater commented 5 years ago

When menus are open, and 2D preview is on, the mouse will get un-captured. Can you please change this behavior so that this only happens when the headset is off the person's head?

I understand when the 2D preview is on, you want people to use the mouse and the program window as a normal 2D app. That's a good idea. But I think people will also turn it on when using the VR headset, so that they can see a 2D preview for the time they have the headset off. But you can figure out if they have their headset on, so could you do it like this?

If my headset is on, and I have 2D previews on, and I open a menu, quite often the mouse will go into some strange place and I can't see it in the view on my headset. Or worse yet, it will click on some other window on the desktop, and that window will be brought up in front of the WG window, and that sucks :)

Phil's response: Hi

When you say 2D preview are you referring to independant monitor? in which case I could add a tickbox for that so you can choose either way.

Phil

My response: No, what i mean is, I have my headset which is Display 2, and I have my desktop monitor which is Desktop 1, and when I start WG, then I have a small 2D window which is usual, and I turned on the option that makes this window not solid black, but instead display a preview of the movie being watched, and the direction the camera is looking in that window is controlled by the mouse. I'm not sure where exactly that option is. Anyways, when I click the LMB to display the menu, the mouse cursor gets un-captured and can go around the whole windows desktop, which I don't want. Maybe add an action to the input bindings menu that says "release mouse pointer", and when that button is pressed, then the mouse cursor can leave the window. But releasing the mouse cursor without that is dangerous. I would bind this to the right mouse button.