Open Bug 1739016 Opened 3 years ago Updated 3 years ago

The border and shadow around the active tab button disappear after switching between system light/dark theme

Categories

(Firefox :: Tabbed Browser, defect)

Firefox 95
All
macOS
defect

Tracking

()

Tracking Status
firefox94 --- unaffected
firefox95 --- affected
firefox96 --- affected

People

(Reporter: hujq, Unassigned)

References

Details

Attachments

(1 file)

1.45 MB, video/quicktime
Details
Attached video screencast.mov

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0

Steps to reproduce:

  1. Switch to macOS light mode from Menu Bar -- Control Center -- Display.
  2. Open a Firefox window.
  3. Switch to macOS dark mode.
  4. Switch to macOS light mode again.

Actual results:

The border and shadow around the active tab button disappear after step 4.

Expected results:

The tab should always look the same in the light theme.

The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Theme

The same thing happens even after clicking outside of the Firefox window, you move the focus out of Firefox window so for me this behaviour seems expected.

After switching between dark/light themes if you move the focus back to Firefox are the border and shadow around the active tab button still missing?
Thanks.

Flags: needinfo?(hujq)

Ok, I tried again around different states of window focus and here's the result:

  1. Before switching between dark/light themes, the border and shadow are always there whether the Firefox window is focused or not.
  2. If I toggle dark mode on and off while the Firefox window IS focused, after that the border and shadow are missing only when the window IS focused and will appear if I focus on another window.
  3. If I toggle dark mode on and off while the Firefox window IS NOT focused, after that the border and shadow are missing when the window IS NOT focused and will appear when the focus is back on the Firefox window.

Also I noticed that in the original report the user-agent shows Mac OS X 10.15 but I'm actually on 12.0.1.

Flags: needinfo?(hujq) → needinfo?(hani.yacoub)
See Also: → 1738855

Thanks for the details.
Managed to reproduce this issue on macOS 11.6 on Firefox Nightly 96.0a1 and on Firefox 95.0b3.
I couldn't reproduce is on Firefox 94.0.1. Will try to provide a regression range ASAP.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Component: Theme → Tabbed Browser
Ever confirmed: true
Flags: needinfo?(hani.yacoub)
OS: Unspecified → macOS
Hardware: Unspecified → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: