[MC-8073] Switching from windowed to fullscreen and back moves the point of view Created: 21/Jan/13  Updated: 18/May/13  Resolved: 18/May/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w09a, Snapshot 13w09b, Snapshot 13w09c, Minecraft 1.5, Snapshot 13w11a
Fix Version/s: Snapshot 13w18c

Type: Bug
Reporter: José Luis Amador Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: None

Attachments: PNG File 2013-01-21_21.44.48.png     PNG File 2013-01-21_21.44.53.png     PNG File 2013-01-21_21.44.58.png    
Issue Links:
Duplicate
is duplicated by MC-10804 Viewing angle changes when going back... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

When you press F11 for second time. You look up.



 Comments   
Comment by Tails [ 18/May/13 ]

Fixed with the new launcher.

Comment by Markku [ 21/Jan/13 ]

I was thinking along those lines, too, but wanted to check the code first. Alas, when running the decompiled client in Eclipse, when it toggles back from fullscreen to windowed, it switches to menu (and with no view direction changes). This makes debugging the case a bit challenging

Edit: It ends up in the game menu even when the decompiled client is started from command line (instead of from inside Eclipse); apparently there are some differences... In any case, I can not really debug it since can not reproduce the effect in that environment. But then again, I don't have to - leaving this (quite the minor issue) to Mojang

Comment by MiiNiPaa [ 21/Jan/13 ]

The point of view moves up and turns clockwise.

It depends of relative position of center of window to cebter of the screen. How camera works: when you move mouse, game rotates camera depending on change of coords and then forsibly moves cursor to the center of the viewable screen. When you change from fullscreen game leave cursor in the center of the screen (as opposed to window center) for long enough to register it as mouse move.

Comment by Markku [ 21/Jan/13 ]

I couldn't make it happen on 1.4.7 at first try... But on second run it is now happening for me, too. Interesting.

Edit: After goofing with it enough, it is again not turning or not turning enough to notice. However, I'm already looking somewhat up...

Comment by Kumasasa [ 21/Jan/13 ]

The point of view moves up and turns clockwise.

Comment by Kumasasa [ 21/Jan/13 ]

Updated summary

Comment by Kumasasa [ 21/Jan/13 ]

Screenshots attached. Switched three times from windowed to fullscreen and back.

Comment by Kumasasa [ 21/Jan/13 ]

Confirmed.

Generated at Sun Jan 12 12:16:35 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.