-
Notifications
You must be signed in to change notification settings - Fork 85
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
Element picker is light themed when uBO theme is set to auto in Firefox Nightly #2240
Comments
I bisected this down to
which means https://bugzilla.mozilla.org/show_bug.cgi?id=1782596 is responsible. I think it is the same issue as this one reported as a regression from the previous one https://bugzilla.mozilla.org/show_bug.cgi?id=1787127 Please let me know if this is a separate issue, I can open a bug in BMO. Thanks! |
It works fine with Firefox 104.0.1, hence it appears to be a regression in Nightly. |
Yes this happens only in Nightly at the moment. |
Works fine too in 105.0b6. |
Wasn't fixed on today's nightly, which seems to include it as far as I can tell. So I've opened https://bugzilla.mozilla.org/show_bug.cgi?id=1789338 |
Yeah, this seems kind of an unfortunate side-effect of the fix for #1408. The relevant Removing that, and just having the inherited color-scheme go through, would just work, and allow the iframe to remain transparent. But in Chromium which hasn't implemented this yet it'd regress that issue... So it's a bit tricky... |
I can inject |
with github dark theme after gorhill/uBlock@707609d -- |
@gorhill that doesn't quite work, I can write a patch that works everywhere. In fact I thought I replied to your comment and sent it already, but I must've dreamed it, sorry :-( |
This fixes uBlockOrigin/uBlock-issues#2240 and should get the desired behavior regardless of browser. Delay showing the iframe until load to prevent flashing a white background on the initial about:blank.
…#3872) This fixes uBlockOrigin/uBlock-issues#2240 and should get the desired behavior regardless of browser. Delay showing the iframe until load to prevent flashing a white background on the initial about:blank.
Great! |
Prerequisites
I tried to reproduce the issue when...
Description
GNOME 42.4 using system dark mode (Freedesktop colour scheme preference ie. Dark is set in Gnome control center>Appearance>Style), Firefox theme set to System - Auto, uBo theme set to auto.
Open the element picker in any page, it is light themed but uBO itself is dark themed (the settings page and the extension popup).
A specific URL where the issue occurs
https://hg.mozilla.org
Steps to Reproduce
Expected behavior
It should be dark themed
Actual behavior
See that it is light themed
uBlock Origin version
1.44.0
Browser name and version
Firefox Nightly 106.0a1 (2022-09-01) (64-bit)
Operating System and version
Archlinux
The text was updated successfully, but these errors were encountered: