Closed Bug 1420818 Opened 7 years ago Closed 6 years ago

[Pantheon (elemenaryOS)] Titlebar is shown despite settings to draw in the titlebar

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Hi,
despite enabling CSD (customize / Title Bar [x]), the CSD titlebar is not shown on Pantheon (elemenaryOS) aswell.

echo $XDG_CURRENT_DESKTOP
Pantheon
Can you please run latest trunk and check what settings do work for you? Set browser.tabs.drawInTitlebar to true at about:config and run:

$MOZ_GTK_TITLEBAR_DECORATION=client firefox
$MOZ_GTK_TITLEBAR_DECORATION=system firefox

Thanks.
Flags: needinfo?(christian.ohrfandl)
(In reply to Martin Stránský [:stransky] from comment #1)
> Can you please run latest trunk and check what settings do work for you? Set
> browser.tabs.drawInTitlebar to true at about:config and run:
> 
> $MOZ_GTK_TITLEBAR_DECORATION=client firefox
> $MOZ_GTK_TITLEBAR_DECORATION=system firefox
> 
> Thanks.

err, by "firefox" I mean your nightly build which means you should call it by "./firefox" or so.
Will do on Friday, when I am back on my elementary PC.
Flags: needinfo?(christian.ohrfandl)
So, just tested with firefox-trunk (59.0a1 (2017-12-05) (64-bit))

> MOZ_GTK_TITLEBAR_DECORATION=client firefox-trunk
> MOZ_GTK_TITLEBAR_DECORATION=system firefox-trunk

Both versions work "the same" (c.f. picture).

However I am facing the following problems aswell:
- Double click on the top bar does not maximize/unmaximize firefox
- Header bar seems to only use the systems them for this narrow area above the "tab-row"; the tab-row uses just grey (I guess it should use the system theme aswell)
- Global window button arrangement (defined systemwide) seems to be ignored (they should be on the left)
- Window buttons are only visible if "Default" theme is selected (c.f. Customize...)
Flags: needinfo?(stransky)
Blocks: gtktitlebar
No longer blocks: 1417933
Thanks, looks like we can enable system decoration mode for Pantheon then.
Depends on: 1417933
Comment on attachment 8942073 [details]
Bug 1420818 - For rendering to titlebar make CSD window decorations mode default, enable WM decorations on Elementary OS,

https://reviewboard.mozilla.org/r/212290/#review218784
Attachment #8942073 - Flags: review?(jhorak) → review+
Pushed by stransky@redhat.com:
https://hg.mozilla.org/integration/autoland/rev/8dee5d879ef1
For rendering to titlebar make CSD window decorations mode default, enable WM decorations on Elementary OS, r=jhorak
https://hg.mozilla.org/mozilla-central/rev/8dee5d879ef1
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: