Closed Bug 1443481 Opened 6 years ago Closed 6 years ago

[Regression][CSD] Wrong titlebar button icons on some themes

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox60 --- fixed
firefox61 --- fixed

People

(Reporter: bruno.n.pagani, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image CSD_button_icon.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20100101

Steps to reproduce:

Following https://bugzilla.mozilla.org/show_bug.cgi?id=1408335, this issue has been fixed in the past but recently regressed.

I’m using Arc Theme.
Blocks: gtktitlebar
Assignee: nobody → stransky
Seems to be regression from Bug 1434646.
Status: UNCONFIRMED → NEW
Ever confirmed: true
It's because we style the button icons before we put the titlebar button to the actual titlebar - so we render the icons for standalone buttons instead of the titlebar ones.
Comment on attachment 8956478 [details]
Bug 1443481 - [Linux/Titlebar] Construct widget tree to get correct titlebar icon style before we render the actual icon,

https://reviewboard.mozilla.org/r/225390/#review231566
Attachment #8956478 - Flags: review?(jhorak) → review+
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/8c038bd77897
[Linux/Titlebar] Construct widget tree to get correct titlebar icon style before we render the actual icon, r=jhorak
https://hg.mozilla.org/mozilla-central/rev/8c038bd77897
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Comment on attachment 8956478 [details]
Bug 1443481 - [Linux/Titlebar] Construct widget tree to get correct titlebar icon style before we render the actual icon,

Approval Request Comment
[Feature/Bug causing the regression]: Bug 1434646
[User impact if declined]: Wrong titlebar icons on Ambiance (Ubuntu) Gtk+ theme.
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: no
[Why is the change risky/not risky?]: Change is isolated to internal button creation.
[String changes made/needed]: none
Attachment #8956478 - Flags: approval-mozilla-beta?
Comment on attachment 8956478 [details]
Bug 1443481 - [Linux/Titlebar] Construct widget tree to get correct titlebar icon style before we render the actual icon,

fix a regression in beta60 with some themes on gtk
Attachment #8956478 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: