[Scummvm-tracker] [ScummVM :: Bugs] #11430: macOS Dark Mode compatibility makes content blurry on Retina displays
ScummVM :: Bugs
trac at scummvm.org
Sat Apr 18 12:48:51 UTC 2020
#11430: macOS Dark Mode compatibility makes content blurry on Retina displays
-----------------------+-------------------------------------
Reporter: dwatteau | Owner: criezy
Type: defect | Status: new
Priority: normal | Component: Port: Mac OS X
Resolution: | Keywords: retina,dark mode,blurry
Game: |
-----------------------+-------------------------------------
Changes (by criezy):
* status: closed => new
* resolution: fixed =>
Comment:
I am reopening this as the issue still exists when building with the SDK
10.14 or 10.15. Explicitly opting out of dark mode support in the
Info.plist (with NSRequiresAquaSystemAppearance = YES) does not fix the
issue.
LibreOffice also had a similar bug:
https://bugs.documentfoundation.org/show_bug.cgi?id=122218
They tracked down the issue was resulting from building with SDK 10.14 or
above. Just changing the two bytes for the LC_VERSION_MIN_MACOSX sdk value
in the resulting executable fixes the blurring. So this confirms that
macOS does something different depending on the SDK value.
They didn't track or fix the root cause of the issue, but added a
workaround when building with Xcode 11 and the 10.14 or 10.15 SDK to set
the SDK value to n/a in the executable:
https://git.libreoffice.org/core/+/645fe53be0dc36535dba0ed684e21ca4cda80d70%5E%21
The fix uses the -platform_version linker flag, which does not exist for
older version of the linker so a check needs to be added if we want to use
it (see for example
https://git.libreoffice.org/core/+/b7fd89100d8653dc73955780358fe31d38b68ebf%5E%21).
And this also means that building with Xcode 10 and the 10.14 SDK will
result in the blurring. But this should at least fix the blurring in most
cases (using SDK 10.13 or below, or using Xcode 11 or above). This might
not work when using cross-compilation though (e.g. on buildbot).
--
Ticket URL: <https://bugs.scummvm.org/ticket/11430#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list