Closed Bug 1529713 Opened 6 years ago Closed 6 years ago

[Titlebar] Use Window manager decorations on GNOME again

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla67
Tracking Status
firefox66 --- verified
firefox67 --- verified

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

In Bug 1521012 we switched from Window manager decorations to client side decorations on gnome to apply the shape mask.

Looks like when the shape mask setup it carefully configured we don't need the client side decorations and we can switch back to window manager mode.

This should fix various regression from Bug 1521012 on gnome although they will stay on desktops where we use CSD titlebar mode (MATE for instance).

This patch enables the shape mask in CSD and Window manager decorations mode
when we're runnin on composited screen and mozilla.widget.use-argb-visuals is not set.

Also don't use shape mask with Wayland and GL backend. When shape mask is set,
advertise toplevel window transparency but don't advertise it
as alpha to GtkCompositorWidget.

Pushed by opoprus@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7d768598fee7
[Titlebar] Use Window manager decorations on GNOME again, r=lsalzman

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1530252
Blocks: 1525233
Blocks: 1526217
Blocks: 1525850

Liz: this (and bug 1530625) is new in 66, we shouldn't ship with this in 66 and then roll it back in 67, see also bug 1490344 comment 14.

Flags: needinfo?(lhenry)

Oh, let's uplift then. Thanks for pointing that out.
Martin can you request uplift here?

Flags: needinfo?(lhenry) → needinfo?(stransky)

Comment on attachment 9045762 [details]
Bug 1529713 - [Titlebar] Use Window manager decorations on GNOME again, r=lsalzman

Beta/Release Uplift Approval Request

  • Feature/Bug causing the regression: Bug 1521012
  • User impact if declined: We're recently use client side decorations on Firefox 66 which causes various regressions (https://bugzilla.mozilla.org/show_bug.cgi?id=1525850, https://bugzilla.mozilla.org/show_bug.cgi?id=1527837). This patch switches back to window manager decorations used in Firefox 65.
  • 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: Please verify that Bug 1525850 is fixed on Gnome / Firefox 66, reproduction steps are included there.
  • List of other uplifts needed: Bug 1525874
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Linux/Gtk+, verified in nightly. We're reverting the decoration rendering to state we used in Firefox 65.
  • String changes made/needed: none
Flags: needinfo?(stransky)
Attachment #9045762 - Flags: approval-mozilla-beta?

Comment on attachment 9045762 [details]
Bug 1529713 - [Titlebar] Use Window manager decorations on GNOME again, r=lsalzman

GTK only issue; OK for beta uplift.

Attachment #9045762 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Blocks: 1523560
Flags: qe-verify+

I verified that Window manager decorations is used again. First I reproduced the issue from Bug 1525850 on Firefox Nightly 67.0a1 (2019-02-07) under Ubuntu 18.04 (x64).

The issue from Bug 1525850 is fixed on latest Nightly 67.0a1 (2019-03-04) and Firefox Beta 66.0b13 under Ubuntu 18.04 (x64).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1555650
Regressions: 1469716
Regressions: 1682251
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: