Coming soon - Firefox Client Side Decoration

Chat about Linux in general
User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Coming soon - Firefox Client Side Decoration

Post by Lucap » Sat Nov 25, 2017 3:53 am

http://www.omgubuntu.co.uk/2017/08/fire ... oming-soon

https://www.reddit.com/r/linux/comments ... n_firefox/

Apparently Fedora is already experimenting with it and it should be available to the rest of us by Firefox 59 going by the reddit link.

Though it's somewhat confusing as the pictures shown in the omgubuntu link looks like genuine client side decoration as the tabs go all the way to the top of the screen yet if you look at the Fedora link they still don't and just look like the title bar has been reduced slightly?

JosephM
Level 5
Level 5
Posts: 875
Joined: Sun May 26, 2013 6:25 pm

Re: Coming soon - Firefox Client Side Decoration

Post by JosephM » Sat Nov 25, 2017 3:58 am

Yeah, by the screenshot it looks like there is actually very little difference.
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.

User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Re: Coming soon - Firefox Client Side Decoration

Post by Lucap » Sat Dec 02, 2017 3:48 am

Lets hope there is something something wrong with Fedora's implementation as it does seem like a pointless exercise for a couple more pixels.

User avatar
Moem
Level 14
Level 14
Posts: 5409
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Coming soon - Firefox Client Side Decoration

Post by Moem » Sat Dec 02, 2017 4:39 am

Who knows, we may even be able to get the tabs back below the address bar, where they belong. :wink:
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

aes2011
Level 4
Level 4
Posts: 434
Joined: Wed Jul 06, 2011 10:39 pm

Re: Coming soon - Firefox Client Side Decoration

Post by aes2011 » Sat Dec 02, 2017 7:06 am

Lucap wrote:Lets hope there is something something wrong with Fedora's implementation as it does seem like a pointless exercise for a couple more pixels.
Seems to work "partially" for users of kwin or xfwm4 :(

User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Re: Coming soon - Firefox Client Side Decoration

Post by Lucap » Sat Dec 02, 2017 9:19 am

Moem wrote:Who knows, we may even be able to get the tabs back below the address bar, where they belong. :wink:
I'm slightly concerned you may also move the bottom task bar to the top as well. :P :wink:

aes2011 wrote:Seems to work "partially" for users of kwin or xfwm4 :(
I'm starting to wonder if it will make FF 59 considering they have been at it for ages and it was supposed to have been release ready for FF 57

User avatar
Pepi
Level 5
Level 5
Posts: 576
Joined: Wed Nov 18, 2009 7:47 pm

Re: Coming soon - Firefox Client Side Decoration

Post by Pepi » Sat Dec 02, 2017 9:24 am

Moem wrote:Who knows, we may even be able to get the tabs back below the address bar, where they belong. :wink:
I think I've read where this can be done by using the 'userChrome.css file in your profile. I added this file to get a little folder color back and it worked

User avatar
Moem
Level 14
Level 14
Posts: 5409
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Coming soon - Firefox Client Side Decoration

Post by Moem » Sat Dec 02, 2017 9:24 am

Lucap wrote:I'm slightly concerned you may also move the bottom task bar to the top as well. :P :wink:
Sorry, what's a bottom task bar? I looked at my bottom in the mirror but it doesn't appear to have a task bar. 8)
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

aes2011
Level 4
Level 4
Posts: 434
Joined: Wed Jul 06, 2011 10:39 pm

Re: Coming soon - Firefox Client Side Decoration

Post by aes2011 » Sat Dec 02, 2017 9:31 am

Moem wrote:Who knows, we may even be able to get the tabs back below the address bar, where they belong. :wink:
Eminently doable: https://github.com/Aris-t2/CustomCSSforFx/releases/ for that and much, much more!

But a clean version is right here: viewtopic.php?f=47&t=257605

Back to CSD. In the current Firefox 59 CSD still has far to go. Several pointless pixels above the tabs and an empty square at the left end of the tab bar. As things stand now, in KDE at least, it's easy to make a window-specific rule to cleanly lose the title bar. Min/max and close are also taken out but there's always the keyboard for that.
Last edited by aes2011 on Sat Dec 02, 2017 9:58 am, edited 1 time in total.

User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Re: Coming soon - Firefox Client Side Decoration

Post by Lucap » Sat Dec 02, 2017 9:56 am

* Insert twerking gif *
Moem wrote:Sorry, what's a bottom task bar? I looked at my bottom in the mirror but it doesn't appear to have a task bar. 8)
Try twerking the settings. :D

User avatar
Flemur
Level 14
Level 14
Posts: 5365
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Coming soon - Firefox Client Side Decoration

Post by Flemur » Sat Dec 02, 2017 11:47 am

I don't get it - is it a big deal to remove the titlebar (I do that with fluxbox) or move a menu bar somewhere else (can probably do that with userChrome.css) ?

If they want users to be able to customize a program's GUI they should emulate foobar - or just copy it because the guy designed and implemented it so well.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Re: Coming soon - Firefox Client Side Decoration

Post by Lucap » Sat Dec 02, 2017 7:27 pm

Flemur wrote:I don't get it - is it a big deal to remove the titlebar (I do that with fluxbox) or move a menu bar somewhere else (can probably do that with userChrome.css) ?

If they want users to be able to customize a program's GUI they should emulate foobar - or just copy it because the guy designed and implemented it so well.
https://addons.mozilla.org/en-GB/firefox/addon/htitle/

Apparently you have to be careful with layout.css.devPixelsPerPx with editing userChrome.css and alike otherwise there is scaling problems that the font rendering can look fuzzy in relation to the viewable screen?

aes2011
Level 4
Level 4
Posts: 434
Joined: Wed Jul 06, 2011 10:39 pm

Re: Coming soon - Firefox Client Side Decoration

Post by aes2011 » Sun Dec 03, 2017 6:48 am

In Firefox 59, chrome://browser/skin/browser.css has

Code: Select all


:root {
  /* Note: Setting this to 0 (without px) breaks CSS calculations for OSX. */
  --space-above-tabbar: 0px;
}

:root[extradragspace][tabsintitlebar]:not([inFullscreen]) {
  --space-above-tabbar: 8px;
}

/* Toolbar / content area border */
but adding that code to userChrome.css and reducing the px values does nothing for me even after adding "!important". There's still the ~8px dead space above the tab bar.

H.Remedy
Level 3
Level 3
Posts: 157
Joined: Sat Feb 08, 2014 6:52 pm

Re: Coming soon - Firefox Client Side Decoration

Post by H.Remedy » Mon Dec 04, 2017 1:49 pm

aes2011 wrote:As things stand now, in KDE at least, it's easy to make a window-specific rule to cleanly lose the title bar. Min/max and close are also taken out but there's always the keyboard for that.
I've accomplished the same in Xfce by installing a package called devilspie (instructions: https://serge-m.github.io/how-to-hide-f ... nsion.html) and using it to hide the Firefox titlebar.

As you say, removing the titlebar also removes the maximize/minimize/close icons. But you can get those back with the following Firefox extensions:
https://addons.mozilla.org/en-US/firefo ... he-window/
https://addons.mozilla.org/en-US/firefo ... he-window/
https://addons.mozilla.org/en-US/firefo ... he-window/

The end result is quite nice:
Image

aes2011
Level 4
Level 4
Posts: 434
Joined: Wed Jul 06, 2011 10:39 pm

Re: Coming soon - Firefox Client Side Decoration

Post by aes2011 » Mon Dec 04, 2017 10:34 pm

H.Remedy wrote:...
I've accomplished the same in Xfce by installing a package called devilspie (instructions: https://serge-m.github.io/how-to-hide-f ... nsion.html) and using it to hide the Firefox titlebar.

As you say, removing the titlebar also removes the maximize/minimize/close icons. But you can get those back with the following Firefox extensions:
https://addons.mozilla.org/en-US/firefo ... he-window/
https://addons.mozilla.org/en-US/firefo ... he-window/
https://addons.mozilla.org/en-US/firefo ... he-window/

The end result is quite nice:
Image
Thanks for the idea of putting back the icons. And devilspie is great for Xfce users who want to script window management.

User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Re: Coming soon - Firefox Client Side Decoration

Post by Lucap » Tue Dec 05, 2017 4:54 am

I can't remember the exact reason why ( it might have been the developer of Htitle that said it? ) but a few years back i vaguely remember there was a problem with devilspie and the developer vanished and then someone forked it into devilspie2.

I think it was something to do with the way it changed the pixel layout or something so it might be worth looking into if it can be done with devilspie2 until Firefox implements their own changes?

H.Remedy
Level 3
Level 3
Posts: 157
Joined: Sat Feb 08, 2014 6:52 pm

Re: Coming soon - Firefox Client Side Decoration

Post by H.Remedy » Wed Dec 06, 2017 9:11 pm

Lucap wrote:I think it was something to do with the way it changed the pixel layout
Thanks for the tip about devilspie2. It turns out the first version was just not being maintained anymore, so someone forked it. The fork is not compatible with the original. However, for my very simple need, the original version is fine.

Here's a link to the newer project for anyone interested: http://www.nongnu.org/devilspie2/. Amusingly enough, there's a big notice at the top asking for a new maintainer. :)

aes2011
Level 4
Level 4
Posts: 434
Joined: Wed Jul 06, 2011 10:39 pm

Re: Coming soon - Firefox Client Side Decoration

Post by aes2011 » Wed Dec 06, 2017 10:19 pm

H.Remedy wrote:
Lucap wrote:I think it was something to do with the way it changed the pixel layout
Thanks for the tip about devilspie2. ...
Here's a link to the newer project for anyone interested: http://www.nongnu.org/devilspie2/. Amusingly enough, there's a big notice at the top asking for a new maintainer. :)
@Lucap, @H.Remedy, thanks for the updates. I wonder if Wayland on the horizon is inducing a sense of "what's the use ..." ?

User avatar
InkKnife
Level 5
Level 5
Posts: 703
Joined: Mon Apr 30, 2012 5:24 pm

Re: Coming soon - Firefox Client Side Decoration

Post by InkKnife » Thu Dec 07, 2017 2:54 am

I hope this won't mean that Firefox will start ignoring user set window widget placement like Chrome does.
My good old PC:
Core2quad@2.33, 8GB Ram, Radeon HD 6850. 64GB SSD boot Drive, 750GB data dump drive, Mint/Cinnamon edition.

User avatar
Lucap
Level 5
Level 5
Posts: 858
Joined: Tue May 24, 2016 1:40 am

Re: Coming soon - Firefox Client Side Decoration

Post by Lucap » Thu Feb 15, 2018 1:53 am

Image

I just tried firefox 60 nightly and it now has the above customise option to hide the title bar and it worked just like the old htitle addon. :)

Post Reply

Return to “Chat about Linux”