Closed Bug 1869299 Opened 9 months ago Closed 9 months ago

Consider updating the GTK3 adwaita colors to use the libadwaita ones.

Categories

(Core :: Widget: Gtk, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

()

Details

Attachments

(5 files, 1 obsolete file)

No description provided.
Severity: -- → S3
Type: defect → enhancement
Priority: -- → P3

We might want to use this conditionally for the default GNOME theme. In
any case it's not a lot of code so it shouldn't hurt to land this
separately.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Attachment #9367988 - Attachment is obsolete: true

This will be useful for Adwaita. Keep the field colors in this patch
tho.

This will allow to easily tweak the front-end for selected / known-good
themes.

Depends on D196150

Take the colors from the libadwaita documentation. Do a couple tweaks to
the urlbar too to match both our default themes and adwaita.

Depends on D196152

Attachment #9368127 - Attachment description: Bug 1869299 - More modern Adwaita colors and looks. r=dao,stransky → Bug 1869299 - More modern Linux theme colors and looks. r=dao,stransky

Depends on D196153

Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/66ce07c16232
Generalize -moz-mac-sidebar into a cross-platform -moz-sidebar{,text,border} set. r=dao,desktop-theme-reviewers,win-reviewers,gstoll

It is consistent. It'll just use the libadwaita system colors for titlebars / sidebars rather than the GTK3 ones.

Summary: Consider overriding the GTK3 adwaita styles to look more like GTK4 → Consider updating the GTK3 adwaita colors to use the libadwaita ones.

(In reply to {third: "Beedell", first: "Roke"}{.JSON5} from comment #8)

Don't do this.

Err, who are you to use imperative language here? Please don't use such language.

Either use a separate toolkit (or none) or use GTK4.

Changing the toolkit is a lot of work and not very realistic currently (as long a you don't volunteer to do the work).

Good to hear, emilio@crisal.io. Apologies for doubtin ya.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8d118be4c03d
Expose a media query for known gtk theme families. r=rmader
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34533b3add99
Remove some dead gtk lookandfeel code. r=rmader
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89da90df398f
More modern Linux theme colors and looks. r=dao,stransky,desktop-theme-reviewers,rmader
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a54a846dda9a
Clean up tab border set-up. r=dao,desktop-theme-reviewers
Keywords: leave-open

Sorry for the noise but: awesome, thanks a lot \o/

Regressions: 1870258

looks like this caused 2 small regressions in DevTools:

== Change summary for alert #40690 (as of Sat, 16 Dec 2023 04:28:11 GMT) ==

Regressions:

Ratio Test Platform Options Absolute values (old vs new)
6% damp browser-toolbox.close-process.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 49.69 -> 52.87
3% damp browser-toolbox.webconsole-ready.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 635.16 -> 651.43

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40690

(I'm not super confident about this as the graphs around the alert is pretty busy)

Regressions: 1871085

How sure are you of comment 19 Nicolas? Could we narrow it down a bit more? I did each commit on a different push so that it was easy to track potential regression but the pushlog from your alert seems huge. FWIW things seem to have gone back to previous values.

Flags: needinfo?(nchevobbe)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #20)

How sure are you of comment 19 Nicolas? Could we narrow it down a bit more? I did each commit on a different push so that it was easy to track potential regression but the pushlog from your alert seems huge. FWIW things seem to have gone back to previous values.

not sure at all! And yes, the graphs seems to confirm that the value are now the same as before, we can ignore my comment. Sorry about the noise

Flags: needinfo?(nchevobbe)
Regressions: 1877002
Blocks: 1877422
Regressions: 1879415
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: