Switching dark modes in macOS Big Sur not correctly happening

If you are using Fire IDE on Big Sur (or older probably) and you have the automatic dark mode switch enabled. Fire becomes unreadable as it doesn’t correctly get re-rendered when this appearance change occurs.

You need to restart to app to have the correct colours, such as the highlight background in the left panel.

Hmm, this used to work fine, I’ll have a check. main problem is, the APIs for detecting this are not only shit, but report misleading info… :frowning:

1 Like

Thanks, logged as bugs://85861

That doesn’t sound like fun! Maybe I just shouldn’t work until late :crazy_face:

the OS is literally lying to me:

2021-04-27 11:05:09.745322-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.745433-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.745448-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.745550-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.745565-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.745663-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.745681-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.751349-0400 Fire[9784:88117] _theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.751387-0400 Fire[9784:88117] editor theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.751635-0400 Fire[9784:88117] _theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.751655-0400 Fire[9784:88117] editor theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.751830-0400 Fire[9784:88117] _theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.751880-0400 Fire[9784:88117] _theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.751910-0400 Fire[9784:88117] _theme <FCEWhiteTheme: 0x130dadfb0>
2021-04-27 11:05:09.770245-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.770312-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.770719-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>
2021-04-27 11:05:09.770743-0400 Fire[9784:88117] _theme <FCEBlackTheme: 0x11c31b130>

this is the logging from when check the theme. if the EDITOR asks for it, there Os tells me I’m still on white (or whatever Fire was started with). any place else, the SAME code properly returns the current theme… :frowning:

Got it fixed, with a very nasty hack.

2 Likes

Awesome! Excited to try it out when it arrives in the stable channel :slight_smile:

1 Like

Will be in Preview on Friday, and that should be a very solid build.

1 Like

Appears to be working on my end with the latest update (*.2625). :ok_hand:t3:

MacBook Pro 2019 running Big Sur 11.3

1 Like

thanx for confirming; I tested with manual switching in Preferences, but not with the Auto mode (coz that only happens twice a day :upside_down_face:)

2 Likes

Yes, it worked for me too!

1 Like

:raised_hands:t3:

bugs://85861 got closed with status fixed.