Dark mode applied live, but not on app startup or when exiting preferences dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HomeBank |
Fix Committed
|
Low
|
Maxime DOYEN |
Bug Description
Follow-up to bug #2002177, as I'm now running Homebank 5.8.1 (running against GTK+ 3.24.43) on Fedora 40
… https:/
* It only does it live; if you restart the app, it resets to light mode even if your desktop environment was already in dark mode on Homebank's startup
* If you switch to dark mode while Homebank is running, it switches to dark mode, but if you open the Preferences dialog and immediately click the Cancel button, with the "Interface > Dark theme" switch left unchecked (and unchanged), it reverts back to light mode.
Shouldn't that "Dark theme" checkbox item in the preferences dialog's "Interface" panel be deprecated? (or otherwise replaced by a combobox choice between "System (auto)", "Always light" and "Always dark", if you still want to offer a choice)?
On GNU/Linux system the value is red and applied.
Do you have any log message if you run from a terminal ?
The dark theme checkbox could be only visible/used for Non GNU/Linux system users, yes until I code a light/dark detection as well.