mojira.dev
MC-1159

Mouse wrongly positioned in fullscreen

When opening an interface (eg crafting menu) while the game is in fullscreen, the mouse is not placed at the center of the screen, but rather in the bottom left quadrant of the screen.

What I expected to happen was...:
Opening an interface and the mouse being in the center of the screen.

What actually happened was...:
The mouse was in the bottom left quadrant of the screen

Steps to Reproduce:
1. Open any game in minecraft and put the game in fullscreen (either through menu option or F11)
2. Open an interface, such as inventory, but don't move the mouse
3. Notice mouse is not centered.

Linked issues

Comments 26

Confirmed.

When playing MC in a window, the mouse cursor defaults to the centre.

When playing MC fullscreen, the size of the window in windowed mode is used to determine where the cursor is placed.

So if you make your MC window really small, then switch to fullscreen and open your inventory, the cursor will be right down the bottom left.
If you then go back to windowed, make the window almost fit the screen, switch back and open inventory, the cursor will almost be in the correct place.

I have tested this and can confirm. If you use F11 to go fullscreen and then open the inventory, the mouse is not in the center where I expect it to be. It appears in the bottom left quadrant centered.

Updated. Still occurs on 1.4.4.

I can confirm this for Mac. Still occurs in snapshot 12w50b

16 more comments

@Uku, jonathan2520: I am simply stating that the current behaviour follows that of a bug (an inconsistent behaviour of sorts), and needs to be corrected. The proposition of changing said behaviour, regardless of the change, diverging from the original and apparent intended behaviour is considered that of a feature request, which is why I recommend putting it on the forums. I am not stating that this proposed fix is wrong/invalid, but rather this may not be the best place to bring attention to it.

Can you add an Attachment?

@Evan, could you please clarify?

Still an issue as of this post.

Seems to have been fixed as of 1.6.1

CubeTheThird

Nathan Adams

Confirmed

center, interface, menu, mouse, position

Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.4, Minecraft 1.4.5, Snapshot 12w50b, ..., Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w05b, Snapshot 13w06a, Minecraft 1.6.2

Minecraft 1.6.1

Retrieved