Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
194 stars 9 forks source link

The mouse does is not recentered when radial menus are opened. #1934

Closed CheesecakeCG closed 3 years ago

CheesecakeCG commented 3 years ago

Describe the bug

The mouse does not get recentered when radial menus are opened.

To Reproduce

Enter NeosVR in desktop mode. Look at an avatar or tool, left click.

It seems to only happen on Linux. I tried it on both X11 with KWin and Wayland with Wayfire.

Expected behavior

The mouse should be centered in the middle of the radial menu.

Screenshots / Video

https://streamable.com/oh7fum

Bug information (please complete the following information):

Reporters:

Discord:

redyoshi49q commented 3 years ago

I have experienced this issue as well. For others who also have this issue, the following is a workaround for until the bug is fixed:

Frooxius commented 3 years ago

Unfortunately this seems to be limitation of the Unity API on Linux, as it doesn't support centering the cursor like this. Instead I made the menu not auto-dismiss if the cursor starts out outside of it in 2021.4.5.911, which should fix not being able to use it.