Dark theme suddenly stops for Applications only
- /e/ version: 0.9-2020051454091
- Device model: Pocophone F1
- When it started to occur: At least for a month now
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS: Don't know
Summary
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a third party app -
The bug concerns security -
The bug concerns privacy
The problem
Steps to reproduce
- Set dark theme in settings -> appearance -> style -> choose dark
- Go to /e/ browser -> settings -> themes -> system default. BTW, /e/ browser is only one of the many apps affected by this issue, all apps using system default theme are affected.
- ??? Wait few hours will produce the bug, but what exactly triggers it, I don't know
What is the current behavior?
After step 3, the notification drawer, Android settings will still be dark, but all apps using "System default" or "Follow device theme" theme will consider that the device theme is light, but it's dark.
What is the expected correct behavior?
Apps are always considering the device theme is dark until I change it.
Technical informations
Relevant logs (adb logcat
)
Relevant screenshots
Solutions
Workaround
Possible fixes
Apps are using this to detect device theme, I don't know if it will help.