mojira.dev
MCPE-227904

GDK: The Cursor's appearing position after opening a GUI is not consistent

(This report has been edited.)

This issue may relate to MCPE-15796

In the UWP version, if you open a GUI and move the cursor to somewhere other than the center, when you open another GUI, the cursor will be at the same location as where it was when you closed the last GUI, instead of the center of the screen. The issue about it (MCPE-15796) is labeled as Won’t Fix.

However, in the GDK version, when doing the same thing, if you haven’t moved the camera before you opened another GUI, the cursor will stay where it was, like the UWP version. BUT if you have moved the camera before you opened another GUI, the cursor will be recentered to the middle of the screen.

Steps to reproduce this issue:

  1. Launch the GDK version of Minecraft Preview.

  2. Place a chest on the ground.

  3. Open it, move the cursor to somewhere else, then close it.

  4. Don’t move the camera, open the chest again.

  5. Observe where the cursor is.

  6. Do steps 3 and 4 again, but move the camera before you open the chest for the second time.

  7. Observe where the cursor is.

Expected result:

The cursor would behave the same, no matter if you have or have not moved the camera before opening a GUI. Either it always stays where it was when you last closed a GUI, or always in the center.

Actual result:

They are not consistent.

Linked issues

Attachments

Comments 3

Counterpoint: This is the intended way the cursor works on Java Edition, so this could be considered a parity fix. The previous report may have been marked “Won’t Fix” due to a limitation of the UWP system, but switching to GDK has fixed the issue.

This should be marked “Works As Intended”, as it fixes a longstanding parity issue.

Then it doesn’t get recentered if you didn’t move the camera, which should be a bug, this issue needs a fix either way.

SiKongSky

(Unassigned)

1477787

Confirmed

Windows

11

GDK

1.21.120.21 Preview

1.21.130.20 Preview

Retrieved