Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does Firefox need a refresh when high contrast theme is selected?

  • 5 replies
  • 4 have this problem
  • 80 views
  • Last reply by John99

more options

Shouldn't it change content immediately when it detects a theme change? IE 11 does this and it would be a really nice-to-have feature, especially when it comes to accessbility constraints...

Shouldn't it change content immediately when it detects a theme change? IE 11 does this and it would be a really nice-to-have feature, especially when it comes to accessbility constraints...

All Replies (5)

more options

Hi chrispetsos, some themes require a restart when you change them. Others do not, it depends on the developer.

more options

Hi guigs2,

Perhaps my question was not very accurate. Basically, by "when high contrast theme is selected" i mean the theme that is selected at the OS level, e.g. in Windows 7 that woud be the themes one can select at the Personalization window, for instance "High Contrast Black" under "Basic and High Contrast Themes" section. I suppose you understood the themes created by developers for Firefox itself, while i meant the themes set at the OS level... Does this make my question any clearer?

more options

A possibility would be to always disable a high contrast theme in the Operating System when you use Firefox and use the NoSquint extension in Firefox.

more options

cor-el thanks for the reply, NoSquint seems quite useful but unfortunately it does not cover my use case. I have a use case where an external application is able to dynamically set the selected theme at the OS level, that is, set it to High Contrast Black or switch it back to the default Windows 7 Aero theme, so you should assume that i do not have any control over what is happening at the OS level regarding the selected theme, hence cannot "disable a high contrast theme in the Operating System". I see that some basic UI elements such as the select box arrow handle and radio buttons change immediately, but the overall outlook of the page (e.g. background colors, text colors) do not. Could this be solved with me implementing a Firefox extension which would interface with the system "theme-changed" event and perform a re-rendering of the page at that point? I am currently trying to find some info on this...

Modified by chrispetsos

more options

I added a Windows7 tag to the question, as it appears the post was from Linux.