Death screen releases the mouse while the buttons are gray
The bug
The death screen disables the "Respawn" and "Title screen" buttons to avoid the player accidentally pressing them after dying, but it does not grab the mouse while the buttons are disabled.
Steps to Reproduce:
- Die
/kill @p
Observed Results:
The player will die, the "You Died!" screen will show, and the mouse will immediately be free to move around.
Expected Results:
The mouse would be disabled for the brief moment that the "return to title screen" and "respawn" options are grayed out.
Notes:
When you are playing in windowed mode you can unintentionally close Minecraft because you were rotating your camera before you died, and your mouse ends up on the close window button.
Created Issue:
death screen releases the mouse while the buttons are gray
I mostly play minecraft in window mode and when i die in a pvp fight, i often try to turn around and attack. Sometimes i die and start a random program on my desktop...
Minecraft has the very useful feature that i can not quit to menu shortly after death to prevent me from clicking anything i do not want to click. Sadly that does not cover everything when i am in window mode.
Environment
probatly all environments
minecraft in window mode
duplicates
I mostly play minecraft in window mode and when i die in a pvp fight, i often try to turn around and attack. Sometimes i die and start a random program on my desktop...
Minecraft has the very useful feature that i can not quit to menu shortly after death to prevent me from clicking anything i do not want to click. Sadly that does not cover everything when i am in window mode.
This is not a duplicate of
MC-2835since that bug is about being stuck in death screen and mine isnt. So this is not resolved!
is duplicated by
duplicates
probatly all environments
minecraft in window mode
death screen releases the mouse while the buttons are grayDeath screen releases the mouse while the buttons are gray
I mostly play minecraft in window mode and when i die in a pvp fight, i often try to turn around and attack. Sometimes i die and start a random program on my desktop...
Minecraft has the very useful feature that i can not quit to menu shortly after death to prevent me from clicking anything i do not want to click. Sadly that does not cover everything when i am in window mode.
This is not a duplicate ofMC-2835since that bug is about being stuck in death screen and mine isnt. So this is not resolved!The bug
The death screen disables the "Respawn" and "Title screen" button, but it does not grab the mouse while the buttons are disabled. When you are playing in windowed mode you could accidentally close Minecraft because you were rotating while you died and your mouse ended up on the button to close the window.
In case you do not play with the full size window you could click in other open programs or start other programs by accident.
@EnderDragon
MC-2835is a complettly different issue. I am not resizing the game and i am not complaining about not being able to click anything, rather the contrary I dont want to click things on my desktop
The bug
The death screen disables the "Respawn" and "Title screen" button, but it does not grab the mouse while the buttons are disabled. When you are playing in windowed mode you could accidentally close Minecraft because you were rotating while you died and your mouse ended up on the button to close the window.
In case you do not play with the full size window you could click in other open programs or start other programs by accident.The bug
The death screen disables the "Respawn" and "Title screen" buttons to avoid the player accidentally pressing them after dying, but it does not grab the mouse while the buttons are disabled.
Steps to Reproduce:
- Die
/kill @pObserved Results:
The player will die, the "You Died!" screen will show, and the mouse will immediately be free to move around.
Expected Results:
The mouse would be disabled for the brief moment that the "return to title screen" and "respawn" options are grayed out.
Notes:
When you are playing in windowed mode you can unintentionally close Minecraft because you were rotating your camera before you died, and your mouse ends up on the close window button.
relates to
Dupe of
MC-2835Already fixed for 1.9
Thank you FVbico and Marcono1234
Can confirm for MC 1.12.1.
Confirmed for 1.13.1.
Confirmed in 1.15.2 and 1.16 Release Candidate 1.
Can canfirm in 1.20.2/23w41a
Requesting ownership of this issue to maintain it as the original poster is inactive.