Open Zyro1331 opened 1 year ago
this is a duplicate of #67
Re-opening. This is not a duplicate, @epicEaston197 @Zyro1331. This issue is describing something else entirely (the mouse cursor being locked and snapping to the centre of the screen when it shouldn't causing accidental closes of the context menu).
Video from @Readun demonstrating this issue:
The cursor in a single frame jumps to the centre of the screen once the mouse is moved most visible at 0:06 in the video- when the cursor suddenly jumps over to the Teleport locomotion. "Open conext menu > Click a submenu > Radial menu centers on the current cursor position > --As soon as the Mouse is moved-- > The curser jumps back to the center of the screen, but not the menu."
I believe this may be peripherally related to #242 which also sees the engine capturing/moving the mouse cursor when it otherwise shouldn't be, @Frooxius.
Describe the bug?
The Radial menu does not stay in the center of the screen in desktop mode, which causes a lot of annoyance when your cursor suddenly teleports to the middle of the screen and ends up dismissing the menu or selecting something you didn't intend.
To Reproduce
Simply enter desktop mode, either natively or within VR. Open your Radial menu using T or middle-mouse, then simply click the locomotion menu. If you freeze your mouse, the menu will stay off-center, but as soon as your mouse moves, it will teleport the the center of the screen and completely miss the menu causing it to close itself. The problem is worse if it happens while using the "flick" gestures.
Expected behavior
I expect the mouse recentering to either be disabled when the menu is not in the center of the screen, or simply make the menu forced to keep it's position at all times in Desktop mode.
Screenshots
This short video shows how my cursor will sometimes teleport to the center of my screen even when the menu is off-center. My condolences for the low resolution & bitrate.
https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/49619936/bd7171a0-5f7c-4457-80f0-d49c4c31fd33
Near the end, you'll notice that it strangely fixes itself and my intent to select the fly locomotion is being registered instead of constantly getting my mouse suddenly warped into the teleport locomotion.
Resonite Version Number
2023.10.20.831
What Platforms does this occur on?
Windows, Linux
What headset if any do you use?
Desktop
Log Files
MANGOVRG - 2023.10.20.831 - 2023-10-29 08_44_32.log
Additional Context
No response
Reporters
@zyro1331
on Discord