When exiting fullscreen (with F11 or through video settings) you can't click maximize until you restart the game.
This happens on Windows 7, but not on Ubuntu 16.4.
Code analysis
Outdated code analysis by @unknown is found here
New code analysis:
Based on MC-111254 the problem is indeed a LWJGL bug, now https://github.com/LWJGL/lwjgl/issues/142
As a hacky workaround (as stated in MC-111254), the method net.minecraft.client.Minecraft.toggleFullscreen()
could be temporarily changed to:
/**
* Toggles fullscreen mode.
*/
public void toggleFullscreen()
{
try
{
//...
Display.setFullscreen(this.fullscreen);
// New temporary code
if (!this.fullscreen) {
Display.setResizable(false);
Display.setResizable(true);
}
//...
}
catch (Exception exception)
{
LOGGER.error((String)"Couldn\'t toggle fullscreen", (Throwable)exception);
}
}
Related issues
is duplicated by
Attachments
Comments


Confirmed

Fixed in prerelease 2

The bug exists again in 1.8.2-pre5
I can maximize or do whatever with the window before I enter to fullscreen. After I exit from fullscreen, I cannot maximize the window, the size is fixed.
Windows 8.1 64bit, 1.6.5 Launcher, 1.8.0_25 64bit Java

Same here. Back again in 1.8.2-pre5. We should wait until pre6 comes out tomorrow, though, before doing anything.

Still exists in 1.8.2-pre6

Regression in 1.8.1-pre6

I'm not having this bug. Does it only occur on a specific operating system?

Can confirm in 1.8.2-pre6. Looks like this bug is specific to Windows.

Still exists in 1.8.2-pre7

Confirmed for 1.7.10, 1.8, 1.8.1 and 15w23.

15w23
What?

15w23a! Never heard of ever?
I can't believe it!

Still in 1.8.3

Yep, it is still in 1.8.3 and the most annoying bug in the world. You are forced to restart the game if you want to use a maximized window after full-screen mode.

Can confirm still in 1.8.3 for me, also general resizing through dragging window corners is disabled until a restart.
(Running Windows 8, using Java 1.8.0 update 25 as downloaded by the new launcher)

It exists in the final releases of both 1.8.2 and 1.8.3 for me. I've tried 1.8.1 and it works fine there.
(Using Windows 10 Technical Preview 64bit and Java Version 8 Update 31 (build 1.8.0_31-b13))

Can confirm for 1.8.3 and Windows 10 Tech Preview.

confirming for 1.8.3 please fix this

Found a fix workaround!
If you use the MultiMC launcher, this stops happening.
My best guess is it has something to do with the normal launcher ¯_(ツ)_/¯

We can't confirm that as a true fix as it relates to a third-party launcher not under Mojang's control.
Well, this is not a fix. It is a workaround.
Anyway, this bug did not occur before 1.8.2, so it is definitely not caused by the Launcher. If the MultiMC launcher "fixes" this, it propably modifies your Minecraft files.
Also notice: Other Launchers than the default Launcher are not supported. It is recommended to use the Minecraft Launcher provided by Mojang.

It doesn't change the files. My best guess is it uses different/newer libraries and LWGJL versions.
Or it starts it with different parameters. well i dunno ¯_(ツ)_/¯
Helps me though, great launcher.

I am having this very same problem only under 1.8.3. It seems odd to me that something this obvious would go unresolved this long and there be such a low number of votes and watchers on this ticket. I kind of thought the maximize button would be something a lot of people use. Because of boring reasons no one wants to hear, I must play Minecraft in non-fullscreen mode so it looks like I won't be able to use 1.8.3 at all until this is fixed...

I have 3 monitors, so I can't just keep exiting/entering fullscreen just to choose another track or YouTube video, so this is a really big inconvenience.

I can confirm this. Very frustrating.

Can confirm for 1.8.3

Can also confirm, under Windows 8.1 Pro x64, with two monitors of different resolutions. Is this a bug that only affects multi-monitor systems?
I just tested it - This bug also occurs if you only use one monitor.

If you go to your .minecraft folder you can change the fullscreen line in options.text from fullscreen: true to fullscreen: false and it will fix the issue.
It won't. If you are in fullscreen mode once and exit fullscreen mode again (via F11 or the options menu), the maximize button is disabled until you restart Minecraft, even if the fullscreen mode is not activated when Minecraft starts.

Yea for the option change to take effect you need to restart but it works because i just did it.
No, it won't work. I always have the option fullscreen in options.txt set to false. When I start Minecraft with the Launcher, Minecraft is not in fullscreen mode and I can maximize and restore the window as often as I want. But once I've pressed F11 or enabled fullscreen mode via the video settings and later pressed F11 again or disabled fullscreen mode via the video settings, I can't maximize the window anymore. If it still works for you then, that's strange.

Have you tried setting it to true starting it, closing it, and then setting it back to false? When i did it, the game was out of fullscreen but i could not maximize or resize the window so i closed the game, changed the option, saved and re-opened the game. I don't know why it would work for some and not others but it is a bug so idk.
I tried it and the maximize button was still disabled. Did you actually read my comment?
Try to open Minecraft and then go to Options → Video Settings and click on "Fullscreen" twice. Is your maximize button still enabled then?

Clicking the button disables it but then it is just a matter of restarting, my original comment was about using f11 to toggle which seems to work differently.
As far as I know F11 and the setting does exactly the same. Anyway, you can try the same but use F11 instead of the setting, and it will disable the maximize button too.

I know it does, it is what my original comment is based on, and restarting the client did not fix that for me, so i had to go to the text file and change the option.

Now whenever i close minecraft and restart, it automatically goes into fullscreen. Now there is no way to get out of it!
i hate fullscreen
@@unknown: To turn off fullscreen on startup, go to your .minecraft folder and open the "options.txt" file. Then change "fullscreen=true" to "fullscreen=false", close Minecraft and save the "options.txt" file. After that, Minecraft shouldn't start in fullscreen mode anymore.

thanks 🙂

The problem still exists in 1.8.4

Initial window size of freshly created Minecraft 1.8.2 in Launcher 1.6.11 : window is resizable and maximise tool icon works. Next three screenshots show window being resized, the fifth and last shows the window after fullscreen entered and exited: note maximise tool icon is disabled and user can no longer resize window. Minecraft 1.8.1 did not have this problem. Minecraft 1.8.4 still has this problem.
Note: Operating system is Windows 8 and java is 64bit installed by the launcher. Java -version output for this Minecraft 1.8.2 installation is:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
E:\progs\minecraft\mcexe\runtime>cd E:\progs\minecraft\mcexe\runtime\jre-x64\1.8
.0_25\bin
E:\progs\minecraft\mcexe\runtime\jre-x64\1.8.0_25\bin>java.exe -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
E:\progs\minecraft\mcexe\runtime\jre-x64\1.8.0_25\bin>

It's now version 1.8.5 and the problem is STILL present.
Environment-
i5 4690k
MSI GTX 970
8GB 2399MHz DDR3 RAM
Windows 7 SP1 64 bit
Java 1.8.0_45-b14 (Version 8 Update 45)

1.8.6 as well

it can probably be a laucher bug instead of a minecraft one
Try adding this line to your JVM Arguments on your profile's configuration:
-XX:-UseAdaptiveSizePolicy -Xmn128M
@unknown, that doesn't work for me. I tried it with 1.8.6.

that worked me a while, but only a while...

Not working and sometimes when i go full screen my 2th screen goes black.

I'm pretty sure that you can resolve this issue by going to your settings and enabling and disabling fullscreen.

Problem is still present in 1.8.7

I'm having this issue in minecraft 1.8.7.
restarting the game usually doesn't imidiatly work and often I have to change profiles a couple of times before I can go in windowed fullscreen. (my brother always puts it on borderless fullscreen.)

Confirmed for 1.8.8

Confirmed for 15w31b too.

Confirmed for 15w31c too

Still exists in 1.8.8.

And when it is on fullscreen (fn f11) the 'exit','restore down' and 'minimise' do not show up. I'm on 1.8.8

Confirmed for 15w33b

dkarik, that is by design; the minimize, maximize, and exit buttons aren't supposed to be visible in fullscreen

Confirmed for 15w33c

Confirmed for 15w33c.

Confirmed for 15w34a

Confirmed for 15w34b, 15w34c and 15w34d.
I found a way to maximize for Windows users!
Ctrl+Shift+Esc -> Task menager -> Right click on Minecraft -> Maximize 😃

Confirmed for 15w35b
One of the longest running, extremely annoying bugs I've encountered.

Confirmed for 15w35c, 15w35d, and 15w35e

Confirmed 15w38b
Confirmed for 15w39a.

Confirmed on 1.8.8 running Windows 10

1.8.8 windows 10 jre 1.8.0_25 (64bit) confirmed, regardless of means of entering full screen
Confirmed for 15w41b.

Confirmed for 15w42a

Proof for 15w42a
Screenshot(https://i.imgur.com/b2SRdhj.jpg) Notice the maximize button greyed out.

still broken in 15w43c
windows 10 pro 64bit
java 1.8_065
BTW when you f11 to full screen from launching in a window also changes the options.txt file so next time it'll open in full screen. even if you change it back to playing in a window it doesn't re-write options.txt to reflect the change back to window mode

Confirmed for 15w44a and 15w44b. Very annoying bug.

Confirmed for 15w45a

Confirmed for 15w47a and 15w47c

I found a somewhat fix, by going into the launcher-> profile, you can enter in some random resolution and it will give you a screen that you can resize. It also will fix the start up on fullscreen mode error. It worked for me, hope this helps others!

You can quit the game, and change fullscreen setting in the options.txt file located in your .minecraft folder to false (type run into your windows search bar, type %appdata% into the popup, locate .minecraft, and find options.txt in there, usually twards the bottom for me.) Then relaunch Minecraft and you should be fine.

@@unknown You can also just change it via the Video Settings in the game.

Confirmed for 15w50a

Confirmed for 1.8.9

Problem still exists under 15w51b.
I have this bug since Windows 10...

It's not a Windows 10 Problem though...
I am running windows 7 and can confirm this...

Windows 8.1 user here. This affects me, too.
Also, take a look at the screenshots. They show the issue on Windows 7, 8/8.1, and 10.

This seems to have been resolved for me.

confirmed for 16w04a

I am having this problem on Windows 10. And I don't know if this is related or a separate issue, but the only reason I go use full screen is because the GUI remains small even when the window is maximized.

Confirmed for 16w05b

Confirmed for 16w06a. I have Windows 10

I don't know if this was said in the comments earlier, but you cannot drag the sides to resize it either. You also cannot pull it over to one side so that it fills half the screen.

confirmed for 1.9 pre-1

Confirmed for 1.9-pre2

I have reason to believe I have discovered the cause of this issue, and I have substantial proof to back it up:
When you open any window in Windows 10 the title bar has perfectly square buttons. However, if you maximize a non-universal (aka Win32) application, the title bar's proportions change and the buttons become wider than they are tall. I believe that when you take the game out of fullscreen the window thinks its maximized, even though it obviously is not. My proof is that when the window is in the bugged state the title bar is proportioned as if it is maximized. See the pictures I attached.
I do not think that this is the problem since the bug is also present in Windows 7 and Windows 8. It seems like only apps which are maximizable use the more quadratic close/restore/minimize buttons - It's the way how Windows 10 displays 'Single' (non-sizeable) windows.

I wasn't saying it was a Windows 10-specific problem, I was just using that specific behavior of Windows 10 to prove that something makes it think it is maximized.

@@unknown I see what you mean, but @unknown is right. Non-resizable windows just always have the small buttons (I tested with other applications), so it's not some bug (and the window doesn't 'think' it's maximized).

Confirmed for Pre-Release 4.
Video showing this bug:
https://youtu.be/ANfvuxkLV58

Confirmed on Official 1.9 Release. Idk why but that never happened to me before 1.9 ...

Please link to this comment in the description
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta.
This might be a LWJGL bug as for whatever reason setting the display mode after you called the Display.create()
method for the first time always disables resizing. Even if you try to destroy the display, set the display mode and then recreate it the window cannot be resized.

Confirmed for 1.9.1-pre3. Can a mod please update the affected versions? Thanks.

As for Minecraft 1.9 official release, if you install the mod Optifine, this problem doesn't occur

Do you know if the problem occurs without any mods but a Forge client?

I just tested it with Forge (not including OptiFine) 1.8.9, and maximizing the window isn't possible here either after exiting fullscreen.
Screenshot attached.
PS: Edit: Maximizing the window with a Forge-client after exiting fullscreen is not possible with loaded mods into the Forge client as well as without having any mods being active at all.
Even if you remove all mods from the mods folder, it shows 3 loaded mods by default though, Minecraft Coder Pack, Forge Mod Loader and Forge itself.

Just tested a MCPatcher-only-client (1.8), and exiting fullscreen lets you still maximize the window, the same as you can do it with an OptiFine-client.
Screenshot attached.
Still in 1.9.1 and 1.9.2. Without using any mods. Mods aren't officially supported so it doesn't matter for this bug report whether there are mods which fix this bug.

(sorry if meta)
@unknown I assume those modded clients (e.g. Forge+MCPatcher) in which it does not occur do matter in that regard as it might help codereaders to figure out the MC Vanilla issue.
Confirmed for Minecraft 1.RV-Pre1

That's not a "real" version. Check the date.

@unknown That's an april fool version LOL 😃

Confirmed for 1.9.3-pre1.
Also going INTO fullscreen changes the Windows 7 theme (visible with Alt+Tab). Could that be related? It doesn't change the selected theme in the system settings, but all the elements I made smaller are the normal size again and Aero is active again although I deactivated it.
Still in 1.9.4
Confirmed for 16w20a

I can confirm that this doesn't happen on Ubuntu 16.4 (MC 1.9.4), if that helps.
Still in 16w21a and 16w21b

Why is this postponed? Shouldn't it be Reopened and assigned so it can be fixed sometime this year? This bug is very annoying and is persisting through the 1.10 snapshots.

Postponed means:
We see this as a bug, and it will be fixed, just not right now.

Still in Minecraft 1.10

Release 1.10 And its still here

I don't know what I did, but this hasn't been happening to me recently. Instead, when I make my window from full to small screen, it goes black.

Still in 1.10.1.
Restarting doesn't help.
http://gaming.stackexchange.com/a/232607 <-- this doesn't work
http://gaming.stackexchange.com/a/228489 <-- this doesn't work
EDIT:
http://gaming.stackexchange.com/a/232607 <-- It helped after second restart.
EDIT2:
But when I turned on, and off fullscreen, it is again.
EDIT3:
Now, when I changed fullscreen option in .minecraft/options.txt to false, and do this:
http://gaming.stackexchange.com/a/232607
I can turn on full size window, but when I turn on and off full screen I can' t do this
PL: Po tym jak zmieniłem opcję pełnego ekranu w .minectaft/options.txt na false, i usunąłem odpowiedni tekst z argumentów javy w edycji profilu w launcherze, to za każdym razem gdy wyłączę minecrafta wszystko działa dopóki nie włączę pełnego ekranu.

Confirmed for 1.10.2

Still in snapshot 16w39a, confirmed

Still in release 1.10.2 but one of the comments solved it for me.
violine1101 added a comment - 09/Apr/15 8:33 PM
@Sophia Gardener: To turn off fullscreen on startup, go to your .minecraft folder and open the "options.txt" file. Then change "fullscreen=true" to "fullscreen=false", close Minecraft and save the "options.txt" file. After that, Minecraft shouldn't start in fullscreen mode anymore.
Hope it works for you too, thank you violine1101

Confirmed for 1.11 full release

The way to fix this is to make the Display resizable after you set fullscreen.
{{
Display.setFullscreen(fullscreen);
Display.setResizable(false);
Display.setResizable(true);
}}
It needs to be set to false first because the implementation caches the last value and will not update the Window if it is already resizable in the cached state.

Confirmed for 1.11.2

I can confirm that this is a LWJGL bug though, the Windows backbend doesn't properly setup the window with the current state of the Display class. Hence why you need to make it not resizable to clear the window state in the backbend, this clears the cache and allows the backend to set the resizable flag on the window.

Still an issue in 1.12-pre1.

I checked the LWJGL patch that fixed this issue on there end. It appears that you would need to set the window to resizable after exiting full screen, at least on Windows hosts.

Can confirm for Minecraft 1.12-pre5

Confirmed for 1.12.
Very annoying bug 😞

Finally it's fixed!

Fixed in 1.13 snapshots (tested in 17w46a). LWJGL?

Yep. Already marked as fixed in 17w43a, when the game updated to LWJGL 3.