Skip to content
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

🌑Dark theme persists in UI after switching back to Light🌕 #4056

Closed
InternetJohnny opened this issue Apr 9, 2019 · 5 comments · Fixed by brave/brave-core#2352
Closed
Assignees
Labels
feature/user-interface All UI related OS/Windows priority/P3 The next thing for us to work on. It'll ride the trains. QA Pass-Win64 QA/Yes release-notes/include

Comments

@InternetJohnny
Copy link

Description

Having enabled 🌑dark theme and gone back to using the 🌕light theme, some elements of the UI remain themed dark🌑 - settings dropdown, permissions alert box (notifications, location, etc) - while the address bar and tabs have the proper 🌕light theme.

Steps to Reproduce

  1. Switch to dark theme 🌑
  2. Switch back to light theme 🌕

Actual result:

Expected result:

Consistent theme throughout the UI (either all dark or all light)

Reproduces how often:

Happens every time on my laptop and not at all on my desktop (quite weird because I installed the same version of the Beta, from scratch, on both machines.

Brave version (brave://version info)

Brave 0.63.34 Chromium: 74.0.3729.40 (Official Build) beta (64-bit)
Revision 278d6a0d856d8314f36fb9a68b6e1d85cd0d14e7-refs/branch-heads/3729@{#470}
OS Windows 10 OS Build 17763.379
JavaScript V8 7.4.288.13

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds?
    It is happening on the Beta for me

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields?
    No
  • Is the issue reproducible on the latest version of Chrome?
    Chrome does not have a dark theme

Additional Information

@bsclifton
Copy link
Member

cc: @petemill @simonhong

@bsclifton bsclifton added the feature/user-interface All UI related label Apr 9, 2019
@InternetJohnny
Copy link
Author

InternetJohnny commented Apr 10, 2019

Ok, so I actually managed to find out a bit more about its behavior.

It seems like every element of the Brave UI - except for the address/tabs bar at the top - follows (is controlled by) the Windows setting for the UI theme (dark/light).

Basically, if your Brave theme is set to 'light' 🌕, but the Windows theme is set to 'dark' 🌑, your addres/tabs bar will be light, but the rest of the Brave UI will be dark.

Here's an example of this:

@rebron
Copy link
Collaborator

rebron commented Apr 12, 2019

cc: @srirambv to try to reproduce on Windows.

@simonhong
Copy link
Member

Aligning base UI theme(ex, context menu) with brave theme is not implemented on Windows for now.
On MacOS, we did this by changing app appearance when brave theme and OS theme are different.
With this, we can use different app appearance than MacOS theme.
However, we can't apply this approach on Windows because Windows doesn't support per-app appearance. Need to find different approach for Windows.

@btlechowski
Copy link

btlechowski commented Jun 12, 2019

Verification passed on

Brave 0.66.87 Chromium: 75.0.3770.80 (Official Build) beta (64-bit)
Revision 9a9aa15057b6b2cc0909bdcf638c0b65ecd516f2-refs/branch-heads/3770@{#948}
OS Windows 10 OS Version 1809 (Build 17763.379)

Verified test plan from brave/brave-core#2352 and from the description. Checked changing Light->Dark mode and Dark->Light mode. Checked settings dropdown, permissions alert box (notifications, geolocation, translations, alerts) and downloads bar. Also checked Same as Windows option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/user-interface All UI related OS/Windows priority/P3 The next thing for us to work on. It'll ride the trains. QA Pass-Win64 QA/Yes release-notes/include
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants