Page 1 of 1

Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 11:35 am
by TSG
I updated my macOS to 10.14 Mojave.
QCAD is still running well in "Light Mode".

But when I switch into the new "Dark Mode" text of the QCAD-UI is unreadable (i.e. white Text on white background).
Are there any plans to adapt QCAD to the Dark Mode of macOS Mojave?

Thomas

Re: Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 11:50 am
by andrew
I cannot reproduce this problem here.

QCAD looks exactly the same in light or dark mode (apart from the menus).

Can you include steps to reproduce, screenshots, etc.?

Re: Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 3:19 pm
by TSG
On my iMac the main window looks the same like yours.
But look at the layer-, block- or the other lists.
UNSELECTED text is white on white.

Thomas


Bildschirmfoto 1.jpg
Bildschirmfoto 1.jpg (15.32 KiB) Viewed 1414 times
Bildschirmfoto.jpg
Bildschirmfoto.jpg (38.77 KiB) Viewed 1414 times

Re: Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 3:28 pm
by andrew
Strangely that's not the case here. Looks like it's trying to switch parts of the UI to dark on your system. Which exact package (DMG file name) did you install?

Re: Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 3:43 pm
by TSG
Very strange indeed.
I'm using the QCAD release named qcad-3.21.3-pro-osx-10.10-10.13.dmg
Is there any newer release?

Thomas

Re: Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 3:53 pm
by TSG
By the way: the starting dialog looks like this

Bildschirmfoto 2.jpg
Bildschirmfoto 2.jpg (44.03 KiB) Viewed 1409 times

Thomas

Re: Dark Mode in macOS Mojave

Posted: Fri Oct 12, 2018 4:29 pm
by andrew
TSG wrote:
Fri Oct 12, 2018 3:43 pm
I'm using the QCAD release named qcad-3.21.3-pro-osx-10.10-10.13.dmg
Is there any newer release?
No - same package here.

Re: Dark Mode in macOS Mojave

Posted: Sat Oct 13, 2018 7:41 am
by TSG
Hooray, I found a solution...

The problem is in macOS Mojave not in QCAD !!!
Maybe it helps some other Mac Users:

1. open the program TERMINAL

2. type in the following command:
defaults delete -g NSRequiresAquaSystemAppearance

3. restart your Mac

Now QCAD looks in Dark Mode like it has to look.
Thank you Andrew for your help to localize the problem.

Thomas

Re: Dark Mode in macOS Mojave

Posted: Mon Oct 15, 2018 11:11 pm
by andrew
Thanks for the info!

You can also opt out of dark mode for QCAD only in it's Info.plist file (QCAD-Pro.app/Contents/Info.plist):

Add these two lines to the bottom (before "</dict>"):

Code: Select all

<key>NSRequiresAquaSystemAppearance</key>
<string>YES</string>
This will be added in the next release of QCAD (until Qt has some way of dealing with Dark mode properly).