mojira.dev
MC-13661

When re-sizing window before game loads internal view doesn't resize

When the window was resized before the game finished loading the minecraft view didn't maximize window had to be minimized and maximized before fixed

Linked issues

MC-110 Breaking effects sometimes duplicate sounds & effects Resolved MC-13691 Resizing window during world creation problem. Resolved MC-13821 Graphical Glitch Resolved MC-14121 Window Zoom Error Resolved MC-14124 Failing to re-size the window correctly Resolved

Attachments

Comments 33

Confirmed.

Also confirmed.

Confirmed, window events seem to get forgotten while the main thread is halted.

This is still an issue in 13w18c.

Happened to me too. I'd also like to mention that when I tried to resize the window again I Ninecraft crashed. Here's the console:

Client> 2013-05-10 16:00:52 [CLIENT] [INFO] [CHAT] Saved screenshot as 2013-05-10_16.00.51.png
Client> 2013-05-10 16:00:53 [SERVER] [INFO] Saving and pausing game...
Client> 2013-05-10 16:00:53 [SERVER] [INFO] Saving chunks for level 'testing'/Overworld
Client> 2013-05-10 16:00:54 [SERVER] [INFO] Saving chunks for level 'testing'/Nether
Client> 2013-05-10 16:00:54 [SERVER] [INFO] Saving chunks for level 'testing'/The End
Client> 2013-05-10 16:00:55 [SERVER] [INFO] Stopping server
Client> 2013-05-10 16:00:55 [SERVER] [INFO] Saving players
Client> java.io.IOException: Bad file descriptor
Client> 	at java.io.RandomAccessFile.seek(Native Method)
Client> 	at acv.a(SourceFile:306)
Client> 	at acv.a(SourceFile:249)
Client> 	at acw.close(SourceFile:230)
Client> 	at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:143)
Client> 	at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
Client> 	at acy.a(SourceFile:140)
Client> 	at acy.c(SourceFile:128)
Client> 	at alk.b(SourceFile:30)
Client> 	at alk.run(SourceFile:23)
Client> 	at java.lang.Thread.run(Thread.java:680)
Client> 2013-05-10 16:00:55 [SERVER] [INFO] Saving worlds
Client> 2013-05-10 16:00:55 [SERVER] [INFO] Saving chunks for level 'testing'/Overworld
Client> 2013-05-10 16:00:55 [SERVER] [INFO] Saving chunks for level 'testing'/Nether
Client> 2013-05-10 16:00:55 [SERVER] [INFO] Saving chunks for level 'testing'/The End
Client> Invalid memory access of location 0x0 rip=0x11ec75460
Client> 
Game ended with bad state (exit code 139)
Deleting /Users/Isaac/Library/Application Support/minecraft/versions/13w19a/13w19a-natives-1368215968968554000
23 more comments

Indeed, that seems like Microsoft's problem. (The half-sized reseting bug, I cant rememember which that is, is also Microsoft's problem).
However, you can edit your launcher profile to start the game with whatever your monitor resolution is.

Markku, on my Mac the operating system doesn't bring the window size down when minecraft moves my mouse to the center, it just leaves the window wherever my mouse was, so I think this is an issue with Windows.

The issue I was describing is indeed a different one. I couldn't find existing issue for it yet, but need to do more searching and testing before creating a new issue.

And yeah, may very well be specific to Windows platform, but I would not blame M$ first, but probably LWJGL. But nevertheless, worthy of own issue.

Markku, do you think you can provide a screen recording of your issue? Your descriptions, while decent, aren't the most helpful.

@Pokechu22
Not anytime soon. I have never tried to record the "desktop view" (so that it would capture the windows cursor, too), only the in-game view, so I need to study that stuff (and find time for that). Anyway, it is on my todo list now, just not very high on it... I seem to bump into that issue of minue like once a year, so, it is definitely quite a minor thing.

James Perkins

Nathan Adams

Confirmed

Snapshot 13w16a, Snapshot 13w18b, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w21a, ..., Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w38a, Minecraft 13w42b

Minecraft 1.7

Retrieved