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

Gdx.input.setCursorCatched(true) crashes app on macOs with M1 chip #6989

Open
1 of 6 tasks
PilzHere opened this issue Sep 16, 2022 · 0 comments · May be fixed by #7361
Open
1 of 6 tasks

Gdx.input.setCursorCatched(true) crashes app on macOs with M1 chip #6989

PilzHere opened this issue Sep 16, 2022 · 0 comments · May be fixed by #7361

Comments

@PilzHere
Copy link

Issue details

Calling this particular function on macOs with M1 chip crashes the app:

Gdx.input.setCursorCatched(true);

Reproduction steps/code

  1. Use macOs with M1
  2. Create new LibGdx 1.11.0 project
  3. Add dependency:
api "com.badlogicgames.gdx:gdx-lwjgl3-glfw-awt-macos:$gdxVersion"
  1. Set source compatability to 1.8 in build.gradle
  2. Call function:
Gdx.input.setCursorCatched(true);

Version of libGDX and/or relevant dependencies

  • macOs Monterey
  • JDK 17
  • LibGdx 1.11.0 + gdx-lwjgl3-glfw-awt-macos

Stacktrace

link

Content from hs_err_pid28244.log

link

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS
@PilzHere PilzHere changed the title Gdx.input.setCursorCatched(true) crashes app on macOs with M1 chip Gdx.input.setCursorCatched(true) crashes app on macOs with M1 chip 🐛 :desktop: Sep 17, 2022
@PilzHere PilzHere changed the title Gdx.input.setCursorCatched(true) crashes app on macOs with M1 chip 🐛 :desktop: Gdx.input.setCursorCatched(true) crashes app on macOs with M1 chip Sep 17, 2022
@crykn crykn linked a pull request Mar 8, 2024 that will close this issue
@crykn crykn linked a pull request Mar 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants