Closed Bug 1414212 Opened 7 years ago Closed 7 years ago

Enable titlebar rendering on Gtk+ >= 3.10

Categories

(Core :: Widget: Gtk, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox58 --- wontfix
firefox59 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

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.
No longer blocks: gtktitlebar
Depends on: gtktitlebar
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.
Sure, I'll look at it.
Assignee: nobody → stransky
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+
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.
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/54128381bfe5
Enable titlebar rendering on Gtk+ >= 3.10, r=jhorak
https://hg.mozilla.org/mozilla-central/rev/54128381bfe5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
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?
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.
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.
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.

Attachment

General

Created:
Updated:
Size: