After removal of GTK3 button styling, Profile Picker and other classic dialogs now have no button styling
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox139 | --- | unaffected |
| firefox140 | --- | verified |
| firefox141 | --- | verified |
People
(Reporter: ferenosdev, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(6 files)
Because of the removal of GTK3 button styling in Nightly, the Profile Picker and all other Classic-era Firefox dialogs now lack proper button styling.
The logical fix here would be to give them the same styling as the non-native buttons seen in the footer of Customise Toolbar, as that is exactly what Lepton and GTKless have both done for their respective button -> non-GTK button CSS transformation mods, and would be most consistent.
| Reporter | ||
Comment 1•7 months ago
|
||
| Reporter | ||
Comment 2•7 months ago
|
||
| Assignee | ||
Comment 4•7 months ago
|
||
What GTK theme are you using? The issue seems to be that we get the same color for a lot of stuff, which is a bit unexpected.
I agree long term it'd be good to move towards more modern styling tho.
| Reporter | ||
Comment 5•7 months ago
|
||
Breeze
Color scheme: Norway (from KDE4&5) (official KDE Pling upload)
| Assignee | ||
Comment 6•7 months ago
|
||
Actually return the right color for Buttonface, and compute the
background for active buttons passing both the "hover" and "active"
states.
Updated•7 months ago
|
| Assignee | ||
Comment 7•7 months ago
|
||
This patch got a bit larger than expected mostly to deal well with
windows HCM, but the TLDR is that we introduce Button*border colors, and
deal with them in the non-native theme, rather than hard-coding them.
We also leave the previous hardcoded colors in the standin set, so that
web content doesn't change behavior, and reorder a bit the colors to be
closer together.
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Updated•7 months ago
|
Comment 10•7 months ago
|
||
Comment 11•7 months ago
|
||
| Assignee | ||
Updated•7 months ago
|
Comment 12•7 months ago
|
||
Comment 13•7 months ago
|
||
Comment 14•7 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dc2493908a75
https://hg.mozilla.org/mozilla-central/rev/5609d5ae7153
https://hg.mozilla.org/mozilla-central/rev/6a4046f08645
https://hg.mozilla.org/mozilla-central/rev/b4887437910f
Comment 15•6 months ago
|
||
:emilio, what are you're thoughts on the risk of requesting uplifting for this? (Including the fix for the regressor Bug 1970096)
| Assignee | ||
Comment 16•6 months ago
|
||
I think we should uplift just https://hg-edge.mozilla.org/integration/autoland/rev/198e2f43c0e3, but let the rest be.
There's also bug 1967569 interacting here, and the buttons in non-default themes look a bit uglier than expected, but not unusable...
| Assignee | ||
Comment 17•6 months ago
•
|
||
Comment on attachment 9491402 [details]
Bug 1968925 - Minor improvements to GTK button colors. r=stransky
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: Mostly fixes this (still would show out-of-place borders, but that's not the worst)
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 0 with a non-default GTK theme
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Fixes GTK button backgrounds.
- String changes made/needed: None
- Is Android affected?: No
| Assignee | ||
Updated•6 months ago
|
Comment 18•6 months ago
|
||
Comment on attachment 9491402 [details]
Bug 1968925 - Minor improvements to GTK button colors. r=stransky
Approved for 140.0b9
Comment 19•6 months ago
|
||
| uplift | ||
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 20•6 months ago
|
||
Hello! I installed Kubuntu 24.04, set the Global theme to Breeze and Colors to Norway by kdecommunity (downloaded from Get New color Schemes > System Settings)
Reproduced the issue with Firefox 140.0b8 on the above system. The buttons from Library, Page Info, and Profile Manager lack style.
However, I am not certain if the fixed builds show the correct behavior. I have attached a screenshot with fixed builds ( Firefox 140.0b9 (treeherder build from comment 19) and Firefox 141.0a1 (2025-06-12). These are tar.xz builds. Can you please confirm that this is OK, or am I missing something here? Thank you!
| Assignee | ||
Comment 21•6 months ago
|
||
Yes that's the expected behavior. There are further improvements in nightly that are not upliftable.
Comment 22•6 months ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #21)
Yes that's the expected behavior. There are further improvements in nightly that are not upliftable.
Thank you! Closing this based on the above comments.
Description
•