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 appears in the top left of screen instead of center when pausing or opening inventory #18304

Open
2 of 3 tasks
deweykai opened this issue Dec 9, 2024 · 3 comments
Open
2 of 3 tasks
Labels
Bug: Minor Status: Needs Confirmation Issue requires more investigation/testing/confimation on how it is caused. Type: Visual

Comments

@deweykai
Copy link

deweykai commented Dec 9, 2024

Your GTNH Discord Username

No response

Your Pack Version

2.7.0

Your Server

SP

Java Version

Java 21

Type of Server

Single Player

Your Expectation

I expect the cursor to appear in the center of the screen when pausing, opening inventory, or anywhere that causes the mouse cursor to appear.

The Reality

Opening an inventory causes the mouse cursor to appear in the top left quadrant of the screen.

From my testing this issue happens on the java 17 and 21 versions, but not the java 8 version. I am using a mac. It also goes away when I use an external monitor and set the system display scaling setting to match the monitor resolution.

Screenshots on mac don't show the cursor so I have marked where the cursor appears on the image.
Screenshot 2024-12-09 at 21 43 42

Your Proposal

Make the cursor appear in the center of the screen.

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
@deweykai deweykai added Bug: Minor Status: Triage Issue awaiting triage. Remove once this issue is processed labels Dec 9, 2024
@RAFAEL-SOSA-UH RAFAEL-SOSA-UH added Type: Visual Status: Needs Confirmation Issue requires more investigation/testing/confimation on how it is caused. and removed Status: Triage Issue awaiting triage. Remove once this issue is processed labels Dec 10, 2024
@tilocih203
Copy link

Also experiencing this issue. It is specific to macs using a retina display. It seems related to the new LWJGL version that GT:NH 2.7.0 uses, as using the LWJGL present in prior releases fixes the issue (using an old LWJGL will cause angelica to crash the game however, so it has to be disabled beforehand). This would also explain why OP did not observe the issue in the Java 8 version of GT:NH, as that uses LWJGL 2.

movie.mp4

GT:NH 2.7.0 (Java 17-21) – MacBookPro16,1 – macOS 10.15.7 – Temurin 17.0.7+7 JVM

@4kata4
Copy link

4kata4 commented Dec 17, 2024

I tried downgrading and it didn't work however I found out that putting the game in full screen (F11 not the mac borderless mode) fixed the issue for me

@ttt000000000000
Copy link

ttt000000000000 commented Dec 25, 2024

Going full screen solved the mouse problem, but the right edge of the screen popped out of the display.
スクリーンショット 2024-12-26 3 51 16
スクリーンショット 2024-12-26 3 51 06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Minor Status: Needs Confirmation Issue requires more investigation/testing/confimation on how it is caused. Type: Visual
Projects
None yet
Development

No branches or pull requests

5 participants