Universal-Debloater-Alliance / universal-android-debloater-next-generation

Cross-platform GUI written in Rust using ADB to debloat non-rooted Android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
2.18k stars 74 forks source link

bug(theme): `Auto` partially updates views, when changing DE color-scheme #550

Open Rudxain opened 2 months ago

Rudxain commented 2 months ago

Describe the bug

https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/pull/531#issuecomment-2220897348

https://discord.com/channels/1168607797081022514/1171387180409692160/1260638729463402638 :

The background doesn't update if the system theme changes while the program is running But the widgets do

New repro:

  1. Go to Settings
  2. Ensure Auto theme is set
  3. Change desktop environment theme
  4. Click any empty space in the Settings View Focus the window

Expected behavior

Either:

You have a solution?

No response

Provide logs

There's nothing. Only "change setting" events, which only get logged if user changes UAD theme, not DE theme

Acknowledgements

Frigyes06 commented 2 months ago

Can reproduce on Arch linux

Rudxain commented 2 months ago

I forgot to specify my system 😅:

AnonymousWP commented 1 month ago

@Universal-Debloater-Alliance/developers Can we fix this so we can release 1.1.0?

Rudxain commented 1 month ago

I might attempt to fix it, but I have to read the Iced docs first

AnonymousWP commented 1 week ago

Removed this from the v1.1.0 release milestone as it's likely something we can't fix.

lavafroth commented 3 days ago

The theme will change if you restart the program. Sadly, this is more of an iced-rs issue.