#4337 Full Screen debug setting on MacOS results in a black screen

master
Andrey Kleshchev 2025-07-16 20:40:35 +03:00 committed by Andrey Kleshchev
parent dcd9d368c2
commit 211b6c65fd
2 changed files with 9 additions and 1 deletions

View File

@ -13742,7 +13742,7 @@
<key>FullScreen</key>
<map>
<key>Comment</key>
<string>run a fullscreen session</string>
<string>Run a fullscreen session. MacOS not supported</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>

View File

@ -3088,7 +3088,15 @@ bool LLAppViewer::initWindow()
.height(gSavedSettings.getU32("WindowHeight"))
.min_width(gSavedSettings.getU32("MinWindowWidth"))
.min_height(gSavedSettings.getU32("MinWindowHeight"))
#ifdef LL_DARWIN
// Setting it to true causes black screen with no UI displayed.
// Given that it's a DEBUG settings and application goes fullscreen
// on mac simply by expanding it, it was decided to not support/use
// this setting on mac.
.fullscreen(false)
#else // LL_DARWIN
.fullscreen(gSavedSettings.getBOOL("FullScreen"))
#endif
.ignore_pixel_depth(ignorePixelDepth)
.first_run(mIsFirstRun);