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 MC-13691 Resizing window during world creation problem. MC-13821 Graphical Glitch MC-14121 Window Zoom Error MC-14124 Failing to re-size the window correctly MC-14201 During world load/generation resizing the window doesn't update the viewport. MC-14515 Window Resize - Purely Aesthetics - MC-14654 Resizing Minecrfat MC-14791 Screen Maximization error when loading world. MC-14811 Maximizing MC window when loading the world causes size bug MC-15490 Window resizing bug MC-15551 Fullscreening derp up MC-17671 Screen sometimes fails to resize to frame if maximized during world generation MC-17706 Wrong sized screen MC-18057 Scaling while loading world keeps the game small. MC-18280 Original Window Size Maintained After Resizing MC-18511 Game view does not resize correctly when window is maximised during loading MC-19383 Minecraft doesn't resize when window is resized MC-19435 Window will not resize properly while loading a world. MC-20062 the window deosn´t update MC-20072 Maximizing screen while loading a world doesn't work in 1.6.1. MC-20183 When increasing window size the new region gets light blue MC-20260 Minecraft 1.6.1 doesn't support Maximized Window Mode. MC-20634 Sitching to fullscreen leads to a graphical glitch MC-20818 Loading a world in window then changing to fullscreen leaves it window mode. MC-21268 Minecraft bug MC-21367 Maximizing the game on loading will show the normal size. MC-23983 Fullscreen bug at loading screen MC-24893 GUI Minimize/Maximize inGame Resolution Glitch MC-26155 Game not resizing correctly upon fullscreen MC-27219 Expand Screen bug on Mac MC-29888 full screen on build create world MC-31141 Visual bug at maximize window MC-31611 Main Screen Bug MC-31680 Broken home screen MC-31691 13w38a Menu Bug MC-31692 Game Resolution Bug MC-31733 Game starting in corner of screen MC-32026 shrunk menu MC-33082 Big window bug (Windows7) MC-34868 Full Screen error MC-36058 Border around game MC-36079 Game rendering in maximized window on world load MC-36238 If you maximize while terrain is loading, the screen will show the game in the botom left corrnor, and show white/grey everywhere else MCL-110 New Launcher doesnt go full screen when IG

Attachments

Comments

Tails

Confirmed.

Anon Ymus

Also confirmed.

Erik Broes

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

Chris Koehler

This is still an issue in 13w18c.

Isaac Park

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
Isaac Park

Sorry pushed the wrong botton. I wanted to say that I'm using OSX 10.6.8 in case it helps.

Ezekiel

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Tavis

Still a problem in 1.6.1.

Tails
Erik Broes

We'll get around to fixing this. The work around is far simpler than the solution. Just resize either earlier, later or again.

Biblioteca13

That happened to me Survival 1.6.1 when creating new fresh world. Win 7, Java 7
[Confirmed]

srchrono trigger

this bug still present in 1.6.1 :/

pokechu22

Wait, what? That's not true...
That's a crash, this isn't.
This is about fullscreening while a world is loading.

Chris Koehler

@Kumasasa

Umm no its not? MC-297 is about minecraft being unable to find the video card drivers. This is about the screen view remaining shrunk when the window is resized.

kumasasa

Sorry.

Chris Koehler

This bug appears to be partially fixed, sometimes the game will resize the internal view after loading like pre-1.6. It still happens in some cases, so I think it is a matter of timing.

Anon Ymus

Still exists for me in 1.6.2. It turns out the opposite is true; making the window smaller during load makes part of the window go off-screen.

bugi74

Also, I tried to adjust window size by dragging from the lower-right corner while the world still loads/generates, but the window simply gets into a super-tiny one, and is stuck at that until a bit later.

(As I thought already in MC-7707, leaving it around as Jeb decided came back haunting, pretty much for the reasons I predicted. Perhaps Jeb will reconsider his resolution now... Of course, it is possible that fixing that issue the way I suggested (adding single line of code) might not be enough to convince LWJGL...)

Jeuv

Confirmed in 13w42a.

bugi74

As it happens, I also got this again (on 1.6.4), had even forgotten this in the meanwhile. Cursor was seemingly on windows-usage, not for Minecraft, but enlarging the minecraft window from the very-wide but very low-height was not possible (i.e. that was the shape I had somehow managed to make it during the loading). But it did get somehow even smaller while trying things. This time, it seems that simply pressing esc (on Windows 7 environment, opening the game menu) allowed the cursor to do full resize functionality.

And just like before, once it is super-tiny, you can not see anything in it, including the quit button... (hint, hint: the related MC-7707 could really use another look by Mojangster).

NekoJonez

Still present. Lucky enough, this is an easy one to fix in terms of just resizing yourself.

bugi74

@NekoJonez
Except, if you read earlier comments more carefully, you'll notice that in many cases that "resize yourself" simply didn't work, at least not in any obvious or expected way, especially if the window got so tiny that there was no space to click in...

Ezekiel

Why would the window get that tiny?

Isaac Park

It doesn't it starts small and then when you expand the window the game stays small

Ezekiel

Yeah, but the window is still resizable.

bugi74

I can reproduce the problem consistently (at least on my setup). Right after clicking to load a world, if I try to adjust the window size while it loads, the window size typically first follows the cursor, but at some point it will simply snap into a super-tiny size and will not allow resizing until some tricks are done to release the focus.

So, in certain situations the window is not resizable.

Ezekiel

That sounds like a different issue, and probably with Windows, not Minecraft.

bugi74

Hmm, now that you mention it, the description of this issue could be interpreted in another way (especially after noticing the "internal view" in the title), and my issue could be another one.

And I'd put the blame on LWJGL or Minecraft, not windows, as I haven't noticed similar behavior in anything else.

pokechu22

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.

Ezekiel

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.

bugi74

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.

pokechu22

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

bugi74

@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