Enable titlebar rendering on Gtk+ >= 3.10

RESOLVED FIXED in Firefox 59

Status

()

defect
P2
normal
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: stransky, Assigned: stransky)

Tracking

(Depends on 1 bug)

Trunk
mozilla59
Points:
---

Firefox Tracking Flags

(firefox58 wontfix, firefox59 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Investigate possibility to enable titlebar rendering on old Gtk+ version as GtkHeaderBar was introduced at Gtk+ 3.10. That brings better UI experience to Enterprise/LTS distros.
(Assignee)

Updated

2 years ago
No longer blocks: gtktitlebar
(Assignee)

Updated

2 years ago
Depends on: gtktitlebar

Comment 1

2 years ago
Can you please enable this for Nightly now? Most Ubuntu users and most Ubuntu based distros are based on Ubuntu 16.04 Xenial Xerus, which unfortunately ships with GTK+ 3.18 only.
(Assignee)

Comment 2

2 years ago
Sure, I'll look at it.
Comment hidden (mozreview-request)
(Assignee)

Updated

2 years ago
Assignee: nobody → stransky

Comment 4

2 years ago
mozreview-review
Comment on attachment 8929003 [details]
Bug 1414212 - Enable titlebar rendering on Gtk+ >= 3.10,

https://reviewboard.mozilla.org/r/200324/#review205420
Attachment #8929003 - Flags: review?(jhorak) → review+

Comment 5

2 years ago
The new Nightly build in https://launchpad.net/~ubuntu-mozilla-daily/+archive/ubuntu/ppa now has the "widget.allow-client-side-decoration" pref available in about:config.

Setting it to "true" does not do anything on Ubuntu 16.04 though. 16.04 uses GTK+ 3.18: https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=libgtk-3&searchon=names

So, it would be nice if you could also enable it for GTK+ >= 3.10 so that Ubuntu 16.04 users can also use CSD.

Comment 6

2 years ago
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/54128381bfe5
Enable titlebar rendering on Gtk+ >= 3.10, r=jhorak

Comment 7

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/54128381bfe5
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59

Comment 8

a year ago
Is this in the current Nightly as downloaded from the official Mozilla site? I didn't see widget.allow-client-side-decoration in about:config, and creating the key and setting it didn't seem to do anything, even upon restart.

I'm stuck on ESR until I get this fixed, since it can still use the Hide Caption Title Bar Plus extension
(In reply to Terrell Kelley from comment #8)
> Is this in the current Nightly as downloaded from the official Mozilla site?
> I didn't see widget.allow-client-side-decoration in about:config, and
> creating the key and setting it didn't seem to do anything, even upon
> restart.

The pref was removed, now you can enable it from customize mode (bottom right of the page) or by setting "browser.tabs.drawInTitlebar" to true.
If it still doesn't work, what is your DE? Can you paste $XDG_CURRENT_DESKTOP?

Comment 10

a year ago
Ah. I didn't even notice. Yes, that does turn the title bar off. 

I do notice a lack of the min, max, and close buttons, though. Is that intentional? I personally like the extra space*, as I never use the window except maximized, but I thought I'd mention it. 

I presume the DE is the same thing as the window manager. I use JWM (Joe's Window Manager), the default that comes with Puppy Linux. It is extremely lean and adds no dependencies other than Xlib.

Comment 11

a year ago
Oh, and dragging the tab bar doesn't do anything, either.
(In reply to Terrell Kelley from comment #10)
> Ah. I didn't even notice. Yes, that does turn the title bar off. 
> 
> I do notice a lack of the min, max, and close buttons, though. Is that
> intentional? I personally like the extra space*, as I never use the window
> except maximized, but I thought I'd mention it. 
> 
> I presume the DE is the same thing as the window manager. I use JWM (Joe's
> Window Manager), the default that comes with Puppy Linux. It is extremely
> lean and adds no dependencies other than Xlib.

No, it isn't expected. Please file a new bug blocking bug 1283299.

Comment 13

a year ago
Okay. I believe I've figured out how to do that: bug 1424158
You need to log in before you can comment on or make changes to this bug.