mojira.dev
MC-213044

F3 button out of sync upon game start

When you first press F3 after loading the game, the debug menu does not appear, only appearing once you press it again. I assume the code just initialises with `isDebugShown = true` meaning that you have to press F3 twice to get it to the actually-open state.

Linked issues

Comments 6

I'm not able to reproduce (If I press F3 after loading into a world after starting the game, the screen opens immediately).  Does your keyboard have an fn key?

Yes but this only recently started happening 

When you press F2 for the first time, does it successfully take a screenshot?  Or do you need to press F2 a second time for it?  Same thing for F1 toggling the HUD, I guess.  (You may or may not need to restart Minecraft between testing each of these; it'd be interesting to know if you do need to)

No, doesnt happen with the other buttons. Also, its not only when I restart the game, it happends intermittently while playing.

Nixinova

(Unassigned)

Unconfirmed

(Unassigned)

21w03a, 1.16.5

Retrieved