Full-screen problem with the scale factor on macOS 15.5

On macOS 15.5 (I also tested on macOS 14.2.1 ARM & macOS 12.7 Intel and I have no problem), when I use a desktop global scale factor of 1.5 and I try to enlarge the window of my application in full screen mode but keeping the toolbars (green button of the window with the opt moficier), the window resizes badly. I can resize it manually and I don’t have this problem with other desktop global scale factors. A video is better than a long description :wink: Has anyone experienced this problem?

scale-resize

P.S. You can download the last version of the application here: Release 2.0.10 · Ircam-Partiels/Partiels · GitHub.

I had a quick test of the released binary on an M4 mac running macOS 15.5 and couldn’t reproduce the issue. I wonder whether the issue only triggers for specific display setups. Do you have any secondary displays connected?

Does the program work correctly for you if you quit and reopen it at 150% scale?

I also note that it looks like the resize is failing specifically at the top and bottom of the display, which makes me think that the issue might be affected by the visibility of the dock and menu bar. Does the app fill the entire display if you set the menu bar and dock to auto-hide? (System Settings → Control Centre → Automatically hide and show the menu bar; System Settings → Desktop and Dock → Automatically hide and show the Dock)

Thank you for your quick reply :slight_smile:

Do you have any secondary displays connected?

No, and I’m using a 14-inch, Nov 2024 / M4

Does the program work correctly for you if you quit and reopen it at 150% scale?

The problem remains

Does the app fill the entire display if you set the menu bar and dock to auto-hide?

If the dock is hidden, the problem dissapears, and if just the menu bar is hidden, the problem remains. So I guess the problem is related to the visibility of the dock.

Thanks, that’s interesting. I tested with the dock visible and still wasn’t able to repro the problem on a mac mini, so it seems that the issue isn’t triggered by dock visibility alone.

Please could you check whether the issue is present in a blank JUCE GUI app set to 150% global scale?

I did a test with the HelloWorldDemo, I simply added line 49 of Main.cpp:

 juce::Desktop::getInstance().setGlobalScaleFactor(1.5f);

And I get the same problem.

My screen resolution is the default 1512x982. If I test with other resolutions (1800x1169, 1352x878, etc.) the problem disappears.

I have done a few additional tests and it seems that this is related to the size of the dock (indirectly to the screen resolution). By changing the size of the dock, I can reproduce the problem with different screen resolutions. However, I cannot find the cause of the problem…