
Mouse appears in the top left of screen instead of center when pausing or opening inventory
deweykai opened this issue ยท 2 comments
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.
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.
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
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