Theme resets to Dark when changing language
Checklist
- I have tried ALL of the steps mentioned in the troubleshooting guide.
- I have searched for this in the issues tab.
Describe the Bug
When I select a theme other than Dark (for example, lemonade ) the theme changes correctly.
BUT when I change the application language after the theme is automatically reset to Dark !
The same behavior happens every time:
Select a theme. Change the language. The theme resets to Dark. Select another theme again. Change the language again. The theme resets to Dark again.
Im using Arch btw with Hyprland so I aint sure if this is related to system theme detection or how the theme state is reinitialized when the language changes, but the issue always occurs when switching languages.
umm i recorded a video check this
https://github.com/user-attachments/assets/d550d83c-eedf-4049-a721-a10b84b34fc4
To Reproduce
Open Upscayl. Go to Settings. Change the theme from Dark to another theme, such as Le Monde. Confirm that the new theme is applied. Change the application language. Observe that the theme is reset to Dark. Change the theme again. Change the language again. Observe that the theme resets to Dark again.
Upscayl Version (or commit hash)
2.15.0
Platform
Linux
OS Version
7.1.3-arch2-1
GPU Name
Intel Graphics
Expected Behavior
Changing the application language should not change or reset the selected theme theme should remain active after changing languages
Screenshots
Logs
System Info: {"platform":"linux","release":"7.1.3-arch2-1","arch":"x64","model":"Intel(R) Core(TM) Ultra 7 155U","cpuCount":14,"gpu":{"active":true,"deviceId":32069,"gpuPreference":0,"vendorId":32902}}Source: upscayl/upscayl