FF60: Client Side Decoration and Hiding TitleBar.[Linux]

User Help for Mozilla Firefox
Post Reply
rotozeev
Posts: 2
Joined: December 14th, 2017, 8:15 am

FF60: Client Side Decoration and Hiding TitleBar.[Linux]

Post by rotozeev »

Hi all!

The great official possibility in FF60 is the hiding titlebar. But the problem in my LinuxMint Cinnamon 18.3 is that there is still empty space between top of the tabs and top of the screen. See the screenshot (I marked this space in red color)

Image

This problem is absent in Chrome for Ubuntu, but I hope that it will be possible to fix it in FireFox.

Thanks!
Last edited by LIMPET235 on May 15th, 2018, 5:06 am, edited 1 time in total.
Reason: Added [Linux] to the title.
User avatar
Grumpus
Posts: 13236
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: FF60: Client Side Decoration and Hiding TitleBar.[Linux]

Post by Grumpus »

You can move the tabs and that will dump some of the space.
You can also make the Menu Bar visible and that will take up some of the space.
If I have the menu bar on and turn off the title bar there is no space using the code below.
However if you want to move things around a little there's some code you can put in the "chrome" folder of your profile.
First create the folder and secondly open a plain text editor

Thanks to flaneurb for reminding me:
You could open the customize panel by right clicking on one of the menu or toolbars and using the Titlebar check block to show or hide.
Works fine in Linux Mint 18.xx

Code: Select all

 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* Nav bar above */
#nav-bar {
-moz-box-ordinal-group: 1 !important; }

/* Personal toolbar in the middle */
#PersonalToolbar {
-moz-box-ordinal-group: 2 !important; }

/* Tabs below */
#TabsToolbar {
-moz-box-ordinal-group: 3 !important; }

/* Remove Haze NavBar */
#nav-bar,
#PersonalToolbar {
  background: transparent !important;
}
Last edited by Grumpus on May 16th, 2018, 4:17 am, edited 1 time in total.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
flaneurb
Posts: 622
Joined: December 10th, 2011, 3:50 am

Re: FF60: Client Side Decoration and Hiding TitleBar.[Linux]

Post by flaneurb »

Getting rid of the extra space was one of the reasons to delay pushing the title bar toggle to a release version of Firefox. If you see this with a clean new profile, you should file a bug report. The title bar toggle works just fine in Kubuntu 18.04. No extra space at the top.
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: FF60: Client Side Decoration and Hiding TitleBar.[Linux]

Post by dickvl »

The control buttons are in the the #titlebar container (#titlebar-content) and the tab bar is moved into this container when the title bar is hidden.
You can give the Tab bar a small negative margin-top to move up this bar a few pixels.

Code: Select all

#TabsToolbar { margin-top:-3px !important; }
rotozeev
Posts: 2
Joined: December 14th, 2017, 8:15 am

Re: FF60: Client Side Decoration and Hiding TitleBar.[Linux]

Post by rotozeev »

dickvl wrote:The control buttons are in the the #titlebar container (#titlebar-content) and the tab bar is moved into this container when the title bar is hidden.
You can give the Tab bar a small negative margin-top to move up this bar a few pixels.

Code: Select all

#TabsToolbar { margin-top:-3px !important; }
Thanks. This solution partially works, empty space is reduced. However, for any value -10px...-15px there is still a small (~1px) space between top of the screen and top of the tabs, so, when I click by mouse in this region I don't touch the tabs. And this is bad, because the main reason of my question is ergonomics of mouse using.
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: FF60: Client Side Decoration and Hiding TitleBar.[Linux]

Post by dickvl »

Maybe hide the tab-line that is displayed for the selected tab.

Code: Select all

.tab-line[selected=true] { display: none !important; }
Post Reply