Open Bug 1778398 Opened 2 years ago Updated 2 years ago

Context menus follow the OS theme instead of the devtools theme when devtools is in a separate window

Categories

(DevTools :: Style Editor, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

See https://phabricator.services.mozilla.com/D151131

STRs:

  • set your OS in light or dark mode
  • set DevTools theme to the opposite
  • open devtools in separate window (or browser toolbox)
  • open context menu in any panel supporting this

ER: Menu should be themed according to the devtools theme
AR: Menu is themed after the OS theme.

Both browser-toolbox/window.html and toolbox-window.xhtml load directly common.css.
If we used theme-switching.js instead, we would apply the correct class on the root element and the theming would work as expected.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.