Open Harry-W-Haines-III opened 4 months ago
Seems fine on the latest build - https://github.com/linuxmint/jargonaut/releases
Nothing has been changed in jargonaut related to this
I'll remove everything from my system and re-install the official release.
Even after removing all traces and the .cache files and re-installing the official version it still has the same issue on my system.
Here are the steps to reproduce the issue. Boot off a USB live session. Eliminates the possibility of a 'contaminated' system. Switch to a dark theme. Install the latest version posted in GitHub. Everything will be dark when you open the app. Observe that the switch is thrown to 'Prefer dark mode'. Bur you are already in dark theme. Turn the 'Prefer dark mode' switch off. Switch to a light theme like Mint-X light. Then switch back to a dark them and the issue is present.
Because I switch at night and then again in the morning from light to dark theme, this issue was not present in some of the earlier releases. It was perfectly adaptable to a dark theme without having to do anything.
Confirmed this issue occurred after release 1.0.7
I can confirm the current behavior is a bit broken.
From my understanding, Prefer dark mode
toggle in Preferences makes sure that the app is always using dark mode, even if the global GTK theme is light.
However, if you toggle your global dark theme on (for example, using "Desktop Colors" feature in the "Welcome" application), manually go to the Preferences in jargonaut
, toggle Prefer dark node
on and then toggle it off, the chat window will use light theme, despite dark theme being used globally.
That's because update_dark_mode
function totally ignores the global (GTK) theme value and uses the app's (jargonaut
) Prefer dark mode
value to make the decision what theme should be used.
https://github.com/linuxmint/jargonaut/blob/544d7614f4b185305e078014d0c491f2ab4e78ac/usr/lib/jargonaut/jargonaut.py#L674
I will send a patch.
OK, I don't really know how to properly fix this without accessing the currently used theme (mixed/dark/light).
Just for reference, I will share a video with reproduction of the issue mentioned by @Harry-W-Haines-III:
https://github.com/linuxmint/jargonaut/assets/9695470/86fdb832-35f6-4835-8aae-26c02c9bb722
It is very annoying that the same flag is being changed from both settings app and the app toggle itself. :(
We can reproduce it and it will get fixed sooner or later.
System is: Linux Mint 21.3 Cinnamon Edition fully updated.
On a previous release Jargonaut had perfect adaptability to the change from a light to dark theme. Now that is gone and you have to manually toggle the switch "Prefer dark mode".
Light Theme:![image](https://github.com/linuxmint/jargonaut/assets/45599505/37678d60-7968-407c-a3e0-cd2e75753859)
Dark Theme:![image](https://github.com/linuxmint/jargonaut/assets/45599505/2a33983b-ea20-4d6f-8e3d-b973feb9fb00)
Notice the large white area. Could we please restore that feature?