Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse relative mode still broken on MacOS 12.4 #5976

Closed
fhoenig opened this issue Jul 29, 2022 · 3 comments
Closed

Mouse relative mode still broken on MacOS 12.4 #5976

fhoenig opened this issue Jul 29, 2022 · 3 comments
Assignees
Labels
waiting Waiting on user response
Milestone

Comments

@fhoenig
Copy link

fhoenig commented Jul 29, 2022

referring to: #5340

When I enable relative mode, the mouse cursor is hidden correctly. However it stops at the edge of the screen.
I've tried all combinations of hints.

When I manually set the mouse cursor to the window center, it works while the cursor is visible. However not when it is hidden via set relative mode.

Possibly a hardened runtime / macos "security feature" ?

@slouken slouken added this to the 2.24.0 milestone Jul 30, 2022
@slouken
Copy link
Collaborator

slouken commented Jul 30, 2022

Can you try testsprite2 --info event_motion, and then hit Ctrl-R to enter relative mode?
I'm seeing relative mode working correctly, not bounded by the edge of the screen.

Does it work in your application if you disable hardened runtime?

@icculus icculus added the waiting Waiting on user response label Aug 2, 2022
@icculus
Copy link
Collaborator

icculus commented Aug 2, 2022

@fhoenig We're wrapping up the milestone here, if you get a chance to try this without hardened runtime soon, we can try to figure something out for 2.24.0.

@fhoenig
Copy link
Author

fhoenig commented Aug 2, 2022

Hey! I haven't got the time to try this yet. But I did notice one thing: relative still seems to work. I have reduced the issue to the fact that you cannot set the cursor position of a hidden mouse. since SDL docs state this behavior to undefined, I think you can close this issue.

@icculus icculus closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting on user response
Projects
None yet
Development

No branches or pull requests

3 participants