# Maximising Window differences from 3.2 to 3.3

**URL:** <https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338>\
**Category:** support\
**Created:** [May 29, 2019, 12:45am UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338 "2019-05-29T00:45:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcotton](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mcotton](https://discourse.glfw.org/u/mcotton)\
**Post date:** [May 29, 2019, 12:45am UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/1 "2019-05-29T00:45:56Z")

</div>

I have an existing project that has been using glfw 3.2 for a while now on windows 10 and recently tried to update to 3.3 but noticed that the behaviour of maximising the window on creation seems different? Previously when setting GLFW\_MAXIMIZED the window would correctly maximise on creation, but on 3.3 it seems to be in a “maximised state” ie. the maximise button appears as a restore button, but the window only takes up about a 1/4 of the screen size. Clicking restore and then maximise again will correctly maximise the window. This leads to a lot of frustration with window positioning etc inside my project itself.

I’m not sure what’s causing the issue, but I have seen similar behaviour to this with other apps because my windows desktop has resolution scaling on and some apps seem to not play nicely with it. Perhaps some internal modifications didn’t take resolution scaling into account?

It’s not a big deal right now as I was able to downgrade back to 3.2 without any issue. But it is a blocker for further upgrades in the future for me.

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [May 29, 2019, 10:17am UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/2 "2019-05-29T10:17:29Z")

</div>

Welcome to the GLFW forum!

We resolved a [previous issue with GLFW\_MAXIMIZED](https://github.com/glfw/glfw/issues/780) in 3.3, but it’s possible that this fix has issues on your system configuration.

Could you give a little more information about your resolution, resolution scaling, how you are launching the application (from MSVC or clicking exe), and if you can reproduce with a minor alteration of the sample code that would be great to see and I will try to reproduce the issue later on this week.

---

<div class="post-metadata">

**Author:** ![mcotton](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mcotton](https://discourse.glfw.org/u/mcotton)\
**Post date:** [June 5, 2019, 1:42am UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/3 "2019-06-05T01:42:49Z")

</div>

So my setup involves a laptop and 2 external monitors. I use the laptop display as the primary display for the GLFW application. The laptop scale is at 125% 1920x1080 and the two other monitors are at 100% 1920x1200. One of them is in portrait orientation.

I generally run the application from visual studio in debugging mode but also noticed running the exe directly resulted in the same situation. Unfortunately I rolled back the changes and don’t have a lot of time to test out much in the way of code alterations right now but when I get some spare time I’m happy to start poking around some more.

Thanks for the quick reply. Unfortunately I have been pretty busy lately and did not notice the reply. I should probably alter my notifications!

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [June 12, 2019, 6:24pm UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/4 "2019-06-12T18:24:21Z")

</div>

I’ve had time to briefly look at this and indeed when creating a window with `glfwWindowHint( GLFW_MAXIMIZED, GLFW_TRUE );` the window does not appear maximized but the maximize button is in the same state as when maximized.

This should be reported as a issue. If you have a github account do you want to file it on [https://github.com/glfw/glfw/issues](https://github.com/glfw/glfw/issues) if not I can do it for you. Hopefully I’ll also get a chance to look at and resolve this myself soon as well.

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [June 12, 2019, 6:40pm UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/5 "2019-06-12T18:40:11Z")

</div>

OK - I have a fix for this and will do some checks and hopefully submit the fix tomorrow (after filing the issue if you don’t do so before hand).

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [June 13, 2019, 10:05am UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/6 "2019-06-13T10:05:22Z")

</div>

I’ve submitted the issue as [https://github.com/glfw/glfw/issues/1499](https://github.com/glfw/glfw/issues/1499)

---

<div class="post-metadata">

**Author:** ![mcotton](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mcotton](https://discourse.glfw.org/u/mcotton)\
**Post date:** [June 14, 2019, 2:39am UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/7 "2019-06-14T02:39:46Z")

</div>

This is great news! Thank you very much.

---

<div class="post-metadata">

**Author:** ![elmindreda](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/elmindreda/32/26_2.png) [@elmindreda](https://discourse.glfw.org/u/elmindreda)\
**Post date:** [August 14, 2019, 9:14pm UTC](https://discourse.glfw.org/t/maximising-window-differences-from-3-2-to-3-3/1338/8 "2019-08-14T21:14:45Z")

</div>

This should be fixed in `master` now. Thank you for reporting this and for your patience.
