-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(perf): auto-theme performance regression #650
Comments
This makes the UI very slow, btw! |
I've confirmed that if the user selects any theme other than "Auto", the UI performance is fast. Being optimistic, this means there's a workaround for users who don't want to await the next release (minor or hotfix patch). The feature is broken anyways (#627), so I doubt most people would use it as-is 🥲 |
This workaround also works for me ⚡ |
I was wrong. It's the default setting: universal-android-debloater-next-generation/src/core/theme.rs Lines 7 to 9 in c3fe1a4
We should fix this ASAP |
Is it an easy fix? |
Workaround works well, thank you for help! |
Sure! we can simply move the attribute to But the config file on some users' devices will still be set to "Auto". So UADNG should deem |
Found the culprit (search Who assigned to universal-android-debloater-next-generation/src/gui/style.rs Lines 103 to 107 in 47980f6
|
I'm already working on using |
Great work! |
Describe the bug
#531, more specifically this commit 76aba1e (according to
git bisect
), causes the entire UI to become sluggish on a Dell Inspiron 15R.IDK exact perf, but I guess previous commit (5f43725) is ~60FPS and the one I referenced is ~1FPS (no device connected) or ~0.5FPS (when the list of installed packs has been fetched)
Expected behavior
UAD-NG must have smooth performance while idle
You have a solution?
I suspect Iced is somehow calling
dark_light::detect
every frame 💀 (possibly our fault).If we upgrade to the new Iced (and ditch our implementation), then the
dark_light
integration should work properly as-isOperating System
Linux
Distro version
Debian 13
Window System + Manager
Wayland + Mutter
Desktop Environment
GNOME 46 (some apps are v47)
Provide logs
This may be irrelevant:
Acknowledgements
The text was updated successfully, but these errors were encountered: