[wait for wx 3.2 release] macOS Mojave Dark Theme

Moderator: dadolphs

Post Reply
rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

[wait for wx 3.2 release] macOS Mojave Dark Theme

Post by rjversluis » 03.11.2018, 10:26

Hi,

with activated Dark Theme on Majove, most dialogs can hardly be read.
There is an open ticket for this issue at wxWidgets.org:
https://trac.wxwidgets.org/ticket/18146

But the fixes are made in the master branch and not yet merged into the 3.0 release branch.
default-light.png
The default theme looks like this.
dark.png
The Dark theme looks like this, and is with wxWidgets not really usable.
So we have to wait for release 3.2 or a merge in release 3.0.

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: macOS Mojave Dark Theme

Post by rjversluis » 03.11.2018, 19:18

Hi,

it seems its only in the master branch; I will test tomorrow.

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: macOS Mojave Dark Theme

Post by rjversluis » 04.11.2018, 17:21

Hi,

the 'Dark Theme' issue have to wait until wxWidgets 3.2 is released.
Compiling against the master branch makes no sense.

It looks better by using the master branch, but its not 100% compatible with wxWidgets 3.0.

h0mjk
Posts: 4
Joined: 16.01.2019, 22:02

Buttons can not be read on osX Mojave

Post by h0mjk » 17.01.2019, 08:22

Hello,

I had a problem yesterday, after installing RocRail on Mac OSX Mojave.
Most of the buttons had white text color on a white background, i.e. could not read them at all.
As I did not find this problem here or somewhere else, I will describe the solution, may someone else will run into it later on...

Reason was the "Dark" - Mode, introduced with the latest version of this OS.
In German:
Einstellungen - Allgemein - Erscheinungsbild - Hell/Dunkel
If you choose "Dunkel" (Dark), then the GUI of Rocrail is not readable.

Regards
Jörg

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: Buttons can not be read on osX Mojave

Post by rjversluis » 17.01.2019, 08:25


h0mjk
Posts: 4
Joined: 16.01.2019, 22:02

Re: Buttons can not be read on osX Mojave

Post by h0mjk » 17.01.2019, 08:27

sorry, did not find that threads...so this one can be removed...

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by rjversluis » 18.01.2019, 14:38

Hi,

http://wxwidgets.org
Latest News wrote: wxWidgets 3.1.2 Released

- Initial support for macOS 10.14 and its dark mode.
I will check this...

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by rjversluis » 18.01.2019, 17:15

Hi,

please test
https://launchpad.net/rocrail/sunrise/2 ... mojave.dmg
And report Asserts.

h0mjk
Posts: 4
Joined: 16.01.2019, 22:02

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by h0mjk » 18.01.2019, 17:47

Hi Rob,

the Buttons still have white font on white background, except the active button, which is readable.
Tested in the "Rocview Eigenschaften.." Dialog.

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by rjversluis » 18.01.2019, 18:06

Hi,

looks OK to me, but wx 3.1.2 has many bugs.
Screenshot 2019-01-18 at 18.04.37.png

h0mjk
Posts: 4
Joined: 16.01.2019, 22:02

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by h0mjk » 18.01.2019, 18:43

Hi Rob,

you are probably right. I start Rocrail from 14887..dmg but still get 14833 ...
I have to sort out what the problem on my side is...

Found my problem.

Yes, now the dark mode can be activated and I can still read all buttons, etc...

Thank you.

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by rjversluis » 18.01.2019, 18:52

Hi,

I removed the 14887 dmg; Too many Asserts.
I will work on that.

rjversluis
Site Admin
Posts: 41130
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: [wait for wx 3.2 release] macOS Mojave Dark Theme

Post by rjversluis » 27.01.2019, 15:41

Hi,

for the actual Mac builds I'm using wx 3.1.3 until 3.2 comes available.
I had put some effort in the Dark Theme support.
At the moment there is no way to ask the wxWidgets if the Dark Theme is active, so in the Rocview setup you will find beside the "Gray Icons" also "Background".
Disable the "Background" option in case you have the Dark Theme active.

Please give it a try with revision 14938+.

Post Reply

Return to “Basic topics”