Closed
Bug 1417933
Opened 7 years ago
Closed 7 years ago
Titlebar is shown despite settings to draw in the titlebar
Categories
(Core :: Widget: Gtk, defect)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: marco, Assigned: stransky)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(6 files)
I've set "widget.allow-client-side-decoration" to true.
The titlebar is still shown and the window controls are shown twice.
(In reply to Marco Castelluccio [:marco] from comment #0)
> Created attachment 8929012 [details]
> titlebars.png
>
> I've set "widget.allow-client-side-decoration" to true.
>
> The titlebar is still shown and the window controls are shown twice.
Maybe you forgot to set "browser.tabs.drawInTitlebar" to "true" ?
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to N. W. from comment #1)
> Maybe you forgot to set "browser.tabs.drawInTitlebar" to "true" ?
It is true by default.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(stransky)
Comment 3•7 years ago
|
||
I have the same bug on openSUSE Tumbleweed (snapshot 20171115) in KDE Plasma 5.11.3
I too have "widget.allow-client-side-decoration" and "browser.tabs.drawInTitlebar" set to "true".
Comment 4•7 years ago
|
||
Same bug here in XFCE 4.12 (Arch Linux), both "widget.allow-client-side-decoration" and "browser.tabs.drawInTitlebar" are set to true.
Comment 5•7 years ago
|
||
Same issue. Firefox 59 nightly on debian testing, xfce 4.12.
widget.allow-client-side-decoration" and "browser.tabs.drawInTitlebar" are set to true.
Comment 6•7 years ago
|
||
I've described the same issue here: https://bugzilla.mozilla.org/show_bug.cgi?id=1283299#c112
Copy of my comment:
> Experiencing a weird "double-icons" issue, most notably seen in the middle photo of the already uploaded attachment in this thread: https://bug1283299.bmoattachments.org/attachment.cgi?id=8901247
>
> Loosely explained, it seems to work as expected, however, the titlebar doesn't get removed. As a result, I have two sets of windows controls.
>
> You can see the result here: https://i.imgur.com/JpLMpS0.png
>
> Running Ubuntu 17.10 and Nightly from the PPA (so the version 59.0a1 (2017-11-16)). I can confirm that I'm experiencing the same issue with both Wayland and X11 sessions. Both "widget.allow-client-side-decorations" and "browser.tabs.drawInTitlebar" have been set to true.
>
> In the unmaximized fields, I see a top line between the old titlebar and the new titlebar+tabs (https://i.imgur.com/46kRc7A.png). When the window is maximized, the line disappears.
>
> In the Customize window, both "Title Bar" and "Drag Space" are unchecked. Using the default theme (slightly modified using userChrome.css, but I've recreated this using a temporary profile as well) and density set to Touch.
>
> Not sure what else I could do to help you out with replicating this issue, but I'll be glad to provide further info if necessary.
Assignee | ||
Comment 7•7 years ago
|
||
XFCE and KDE should be supported here, maybe Gtk+ version does the difference. Which distro do you guys run? I see Ubuntu 17.10, anything else?
Flags: needinfo?(stransky) → needinfo?(mcastelluccio)
Comment 8•7 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #7)
> XFCE and KDE should be supported here, maybe Gtk+ version does the
> difference. Which distro do you guys run? I see Ubuntu 17.10, anything else?
Debian testing & XFCE 4.12, libgtk 3.22.
Comment 9•7 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #7)
> XFCE and KDE should be supported here, maybe Gtk+ version does the
> difference. Which distro do you guys run? I see Ubuntu 17.10, anything else?
In my previous comment, I mentioned I use openSUSE Tumbleweed
I'm using GTK 3.22
Comment 10•7 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #7)
> XFCE and KDE should be supported here, maybe Gtk+ version does the
> difference. Which distro do you guys run? I see Ubuntu 17.10, anything else?
Arch Linux, GTK3 3.22, GTK2 2.24
Reporter | ||
Comment 11•7 years ago
|
||
Ubuntu 17.10 (switching back to Fedora soon!), GTK 3.22.25.
Flags: needinfo?(mcastelluccio)
Comment 12•7 years ago
|
||
I am having the same issues, but only when Firefox is running as a user process, when running as root all is fine.
Vanilla Firefox 59 (2017-11-18 (I had just updated, with no visible changes pertaining this issue)) (I had manually pushed the files to /usr/, Solus Unstable, libgtk-3 3.22.26, running Budgie 10.4.
As to why I even run Firefox as root, I only do it to update Firefox, as on Windows (I don't have the patience to manually update Firefox every day).
Comment 13•7 years ago
|
||
Running it as root here doesn't work, the titlebar is still there.
Comment 14•7 years ago
|
||
(In reply to gabrielhuwe from comment #13)
> Running it as root here doesn't work, the titlebar is still there.
For me (debian testing) running as root doesn't help either.
Comment 15•7 years ago
|
||
I'm seeing the same thing in Ubuntu MATE 17.10 with both the default window manager Marco and with Compiz.
Comment 16•7 years ago
|
||
Running as root gets rid of the titlebar for me on Ubuntu 17.10 (Xorg).
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #7)
> XFCE and KDE should be supported here, maybe Gtk+ version does the
> difference. Which distro do you guys run? I see Ubuntu 17.10, anything else?
Running KDE neon as the distro here, which basically is the official KDE distro and is always up-to-date with the latest KDE software: https://neon.kde.org/
KDE neon is currently based on Ubuntu 16.04, which uses GTK+ 3.18. This is what it looks like here:
https://bugzilla.mozilla.org/attachment.cgi?id=8929825
As you can see, the title bar is still visible, so the window controls are duplicated. Furthermore, as you can see from the screenshot, there is a a bit of additional space between the tab bar and the title bar, which looks odd.
Additionally, the window controls in the tab bar look odd, which probably is: https://bugzilla.mozilla.org/show_bug.cgi?id=1408335
Comment 19•7 years ago
|
||
I can confirm that running Nightly as root on Ubuntu 17.10 (in an X11 session) gets rid of the title bar.
Comment 20•7 years ago
|
||
Running as root did not remove the title bar for me on openSUSE Tumbleweed.
Comment 21•7 years ago
|
||
Running as root doesn't remove the title bar in Debian testing, XFCE 4.12, GTK 3.22.
Comment 22•7 years ago
|
||
Running as root removes titlebar for me - Solus Budgie (10.4), GTK 3.22. Normal user retains titlebar though.
Assignee | ||
Comment 23•7 years ago
|
||
Yes, I can see that on KDE on some other WM. Looks like only gnome-shell and Cinamon support to remove titlebar but simultaneously provide resize handlers.
We'd need to disable all decorations on the incompatible WM and provide resize handlers as Chrome does on Linux.
Assignee | ||
Comment 24•7 years ago
|
||
The solution would be based on https://reviewboard.mozilla.org/r/62490/diff/1#index_header
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → stransky
Assignee | ||
Comment 25•7 years ago
|
||
Partial fix (without the resizers implementation) will land at Bug 1418829.
Reporter | ||
Comment 26•7 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #23)
> Yes, I can see that on KDE on some other WM. Looks like only gnome-shell and
> Cinamon support to remove titlebar but simultaneously provide resize
> handlers.
>
> We'd need to disable all decorations on the incompatible WM and provide
> resize handlers as Chrome does on Linux.
I'm using gnome-shell on Ubuntu.
Assignee | ||
Comment 27•7 years ago
|
||
Please note that "widget.allow-client-side-decoration" is going to be removed at Bug 1418829 and only "browser.tabs.drawInTitlebar" does the titlebar rendering control.
Comment 28•7 years ago
|
||
Hi,
despite enabling CSD (customize / Title Bar [x]), the CSD titlebar is not shown on Pantheon (elemenaryOS) aswell.
echo $XDG_CURRENT_DESKTOP
Pantheon
Assignee | ||
Comment 29•7 years ago
|
||
(In reply to christian.ohrfandl from comment #28)
> Hi,
> despite enabling CSD (customize / Title Bar [x]), the CSD titlebar is not
> shown on Pantheon (elemenaryOS) aswell.
>
> echo $XDG_CURRENT_DESKTOP
> Pantheon
We may need to be more flexible here, I'm considering a kind of env variable to override the CSD detection.
Assignee | ||
Comment 30•7 years ago
|
||
Pantheon (elemenaryOS) is Bug 1420818 now.
Comment 31•7 years ago
|
||
Same problem here. FF nightly build (59, up to date) Ubuntu 17.10 running gnome-shell and have tried both xorg and wayland.
Comment 32•7 years ago
|
||
Update, fix found here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1283299
by running:
env MOZ_GTK_TITLEBAR_DECORATION=client ./firefox
Comment 33•7 years ago
|
||
Changing that variable is not working for me.
Previously the titlebar setting did work. It is no longer working, and no overrides are helping, but stopped working with yesterday's Nightly update.
Assignee | ||
Comment 34•7 years ago
|
||
Please note that due to regression Bug 1423810 the titlebar rendering was temporary disabled on systems other than gnome-shell/Cinnamon. It's tracked as Bug 1424974.
Comment 35•7 years ago
|
||
Is there any update on this?
When using the latest Nightly on KDE Plasma and disabling the "Titlebar" checkbox under "Customize", the titlebar is still being drawn by KWin (compositor/window manager) and there are not additional window minimize/maximize/close buttons being drawn inside Firefox.
Comment 36•7 years ago
|
||
Agreed. I have asked in Bug 1423810 why titlebar rendering has not been turned back on now that Bug 1424974 is listed as fixed.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 39•7 years ago
|
||
(In reply to N. W. from comment #35)
> Is there any update on this?
>
> When using the latest Nightly on KDE Plasma and disabling the "Titlebar"
> checkbox under "Customize", the titlebar is still being drawn by KWin
> (compositor/window manager) and there are not additional window
> minimize/maximize/close buttons being drawn inside Firefox.
Still not working with Nightly 59.0a1 (2013-01-13) (64-bit).
Comment 40•7 years ago
|
||
Titlebar also persists for me in 59.0a1 2018-01-13 64-Bit on Debian Unstable / XFCE. Also no minimize/maximize/close buttons inside firefox.
widget.allow-client-side-decoration = true
browser.tabs.drawInTitlebar = true
widget.allow-client-side-decoration = true
Comment 41•7 years ago
|
||
mozreview-review |
Comment on attachment 8941011 [details]
Bug 1417933 - enable CSD titlebar rendering mode on Unity desktop,
https://reviewboard.mozilla.org/r/211306/#review218572
Attachment #8941011 -
Flags: review?(jhorak) → review+
Comment 42•7 years ago
|
||
mozreview-review |
Comment on attachment 8941010 [details]
Bug 1417933 - enable CSD titlebar rendering mode as Bug 1424974 regression is fixed,
https://reviewboard.mozilla.org/r/211304/#review218786
Attachment #8941010 -
Flags: review?(jhorak) → review+
Comment 43•7 years ago
|
||
mozreview-review |
Comment on attachment 8941011 [details]
Bug 1417933 - enable CSD titlebar rendering mode on Unity desktop,
https://reviewboard.mozilla.org/r/211306/#review218788
Comment 44•7 years ago
|
||
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/4fbda7310828
enable CSD titlebar rendering mode as Bug 1424974 regression is fixed, r=jhorak
https://hg.mozilla.org/integration/autoland/rev/7d2121c8e0dd
enable CSD titlebar rendering mode on Unity desktop, r=jhorak
Comment 45•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4fbda7310828
https://hg.mozilla.org/mozilla-central/rev/7d2121c8e0dd
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment 46•7 years ago
|
||
Finally the titlebar is gone, a big thanks to the people who are working on it.
However it still doesn't look optimal, there is a bit of room above the tabs:
https://i.imgur.com/mR0vDtE.png
(Debian unstable, XFCE)
Comment 47•7 years ago
|
||
YES!! A big thanks!
FYI, mine appears fine (no extra space above tabs).
Ubuntu 17.10, gnome-shell, Wayland.
Assignee | ||
Comment 48•7 years ago
|
||
(In reply to helios.solaris from comment #46)
> Finally the titlebar is gone, a big thanks to the people who are working on
> it.
> However it still doesn't look optimal, there is a bit of room above the tabs:
> https://i.imgur.com/mR0vDtE.png
> (Debian unstable, XFCE)
That's Bug 1419442.
Comment 49•7 years ago
|
||
This is currently NOT fixed for me, when it worked just fine before it was disabled to fix that other bug. I am on Ubuntu 14.04 LTS, which is still supported for another year. Was this perhaps only fixed for GTK 3.20+ instead of 3.10+, as before?
Assignee | ||
Comment 50•7 years ago
|
||
(In reply to Terrell Kelley from comment #49)
> This is currently NOT fixed for me, when it worked just fine before it was
> disabled to fix that other bug. I am on Ubuntu 14.04 LTS, which is still
> supported for another year. Was this perhaps only fixed for GTK 3.20+
> instead of 3.10+, as before?
Please file another bug for that.
Comment 51•7 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #50)
> Please file another bug for that.
Filed as Bug 1431429
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•