one_5
March 7, 2022, 3:54am
1
Description of the issue:
Dark mode for the mobile emulator does not work, but dark mode works for other parts of dev tools.
Steps to Reproduce (add as many as necessary): 1. 2. 3.
launch dev tools
select settings
under theme in the appearance section select dark
toggle device toolbar
Actual Result (gifs and screenshots are welcome!):
After toggling the toolbar device the mobile emulator displays with a white theme
Expected result:
Expected the display to show a dark mode theme
Reproduces how often:
Happens every time dev tools is launched
Operating System and Brave Version(See the About Brave
page in the main menu):
windows 10
brave version: 1.3.361.111
Additional Information:
This started happening a couple of days ago.
1 Like
Linux here (i.e. not a Windows issue) Version 1.36.119 Chromium: 99.0.4844.83 (Official Build) (64-bit) -Same same. Much like the speed reader various parts of the browser are now broken for adhering to selected colors and themes.
brave:master
← brave:issues/20491
opened 12:11PM - 15 Mar 22 UTC
`BraveDevToolsUIBindings` failed to load DevTools UI prefs properly which lead t… o DevTools settings not being persisted, also the sole purpose of this class was to enable dark mode, but now DevTools handles this automatically. Thus it's safe to fully remove this class.
Resolves https://github.com/brave/brave-browser/issues/20491
https://user-images.githubusercontent.com/5928869/158374371-9348ac88-f0d4-40ca-83bd-cee61938e475.mp4
## Submitter Checklist:
- [x] I confirm that no security/privacy review [is needed](https://github.com/brave/brave-browser/wiki/Security-reviews), or that I have [requested](https://github.com/brave/security/issues/new/choose) one
- [x] There is a [ticket](https://github.com/brave/brave-browser/issues) for my issue
- [x] Used Github [auto-closing keywords](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue) in the PR description above
- [x] Wrote a good [PR/commit description](https://google.github.io/eng-practices/review/developer/cl-descriptions.html)
- [ ] Squashed any review feedback or "fixup" commits before merge, so that history is a record of what happened in the repo, not your PR
- [ ] Added appropriate labels (`QA/Yes` or `QA/No`; `release-notes/include` or `release-notes/exclude`; `OS/...`) to the associated issue
- [ ] Checked the PR locally: `npm run test -- brave_browser_tests`, `npm run test -- brave_unit_tests`, `npm run lint`, `npm run gn_check`, `npm run tslint`
- [ ] Ran `git rebase master` (if needed)
## Reviewer Checklist:
- [ ] A security review [is not needed](https://github.com/brave/brave-browser/wiki/Security-reviews), or a link to one is included in the PR description
- [ ] New files have MPL-2.0 license header
- [ ] Adequate test coverage exists to prevent regressions
- [ ] Major classes, functions and non-trivial code blocks are well-commented
- [ ] Changes in component dependencies are properly reflected in `gn`
- [ ] Code follows the [style guide](https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/c++/c++.md)
- [ ] Test plan is specified in PR before merging
## After-merge Checklist:
- [ ] The associated issue milestone is set to the smallest version that the
changes has landed on
- [ ] All relevant documentation has been updated, for instance:
- [ ] https://github.com/brave/brave-browser/wiki/Deviations-from-Chromium-(features-we-disable-or-remove)
- [ ] https://github.com/brave/brave-browser/wiki/Proxy-redirected-URLs
- [ ] https://github.com/brave/brave-browser/wiki/Fingerprinting-Protections
- [ ] https://github.com/brave/brave-browser/wiki/Brave%E2%80%99s-Use-of-Referral-Codes
- [ ] https://github.com/brave/brave-browser/wiki/Custom-Headers
- [ ] https://github.com/brave/brave-browser/wiki/Web-Compatibility-Exceptions-in-Brave
- [ ] https://github.com/brave/brave-browser/wiki/QA-Guide
- [ ] https://github.com/brave/brave-browser/wiki/P3A
## Test Plan:
Thank you for reaching out. This is actually a known issue that the team is reviewing:
I’ve added your report as a +1 on the Github issue on your behalf.
Fix is in Nightly and will be uplifted to Beta and Release channels. Thanks for your patience, folks
Fix should be available in Release version soon.
system
Closed
April 26, 2022, 6:15pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.