News for hackers. Stuff that matters.
Re:A Classic Extension Reborn: Tree Style Tab by Narretz on Thursday December 07, 2017 @08:54AM (#15869952)
I find it interesting that the gif shows the Tree Style Tab extension without the default Firefox tab bar, but at least in FF57, the tab bar can only be hidden with a custom userchrome.css, so the otu of the box experience is flawed at the moment. This is at the moment my biggest gripe with the extension, and I think the interview / article could have shown the default state of the extension, and pointed out that an API for hiding the tab bar is at least being worked on: https://bugzilla.mozilla.org/show_bug.cgi?id=1332447
Re:A Classic Extension Reborn: Tree Style Tab by tree_of_item on Thursday December 07, 2017 @11:51AM (#15871626)
Thanks for pointing this out, I got excited for a moment thinking they'd finally fixed this. The article seems pretty misleading by leaving this detail out: using this extension shows you two sets of tabs which is kind of ridiculous.
Re:A Classic Extension Reborn: Tree Style Tab by nextos on Thursday December 07, 2017 @01:26PM (#15872610)
Yes, there's this problem too if you run Tridactyl (Vimperator/Pentadactyl's successor).

You may want to have no address or tab bar given that you enter URLs in a Tridactyl's own field, and you manage tabs as buffers. Even worse, Firefox own address bar steals focus in some scenarios.

Re:A Classic Extension Reborn: Tree Style Tab by unicornporn on Friday December 08, 2017 @09:35AM (#15878820)
Does Tridactyl suck as much as Vimium-FF on FF57? I would guess so. I used to run VimFX, but I'm out of luck now. It seems we have to wait for the DOM to load before we can use our keyboard shortcuts...
Re:A Classic Extension Reborn: Tree Style Tab by semi-extrinsic on Thursday December 07, 2017 @05:03PM (#15874792)
You can hide the annoying/superfluous parts of the GUI pretty well with userchrome.css settings.

The worst part now is the "no extensions on special pages" and "no extension may open an about:* page".

Re:A Classic Extension Reborn: Tree Style Tab by pvdebbe on Friday December 08, 2017 @03:57AM (#15877556)
In the light of recent advancements on Firefox I feel optimistic these issues get addressed within the next 12 months.
Re:A Classic Extension Reborn: Tree Style Tab by jchw on Thursday December 07, 2017 @12:26PM (#15871913)
I just tried the userChrome.css hack and it breaks a lot of stuff. Tree Style Tab stops being able to tell which tab is active, my address bar only affects the first tab, and my window buttons are all blank. Looks like I'll have to wait for the tab hiding API to try this out.

edit: Nevermind. I was just using the wrong hack. Using this one: https://news.ycombinator.com/item?id=15870894 + using Customize to reenable the title bar works great.

Re:A Classic Extension Reborn: Tree Style Tab by hammerandtongs on Thursday December 07, 2017 @12:34PM (#15872007)
This in my userChrome.css works very well for me.

  #TabsToolbar {
        visibility: collapse !important;
      }
There are no real glitches or problems but can't imagine living in Firefox without TreeStyleTab in general over minor issues.
Re:A Classic Extension Reborn: Tree Style Tab by rbaud on Thursday December 07, 2017 @12:53PM (#15872246)
I've been using the following in Win 8.1:

  /* to hide the native top tabs */
  #TabsToolbar * {
      visibility: collapse;
  }
  /* to give the top toolbar a bit of height so the window controls don't dangle off to the right */
  #TabsToolbar:before {
    content: '';
    display: block;
    width: 100%;
    height: 20px;
  }

  /* to hide the sidebar header */
  #sidebar-header {
      visibility: collapse;
  }
Re:A Classic Extension Reborn: Tree Style Tab by wlesieutre on Thursday December 07, 2017 @02:16PM (#15873057)
Have you tried the built-in titlebar setting in Customize? There's an option at the bottom to turn on the regular system titlebar so that it displays as a normal window.
Re:A Classic Extension Reborn: Tree Style Tab by rbaud on Thursday December 07, 2017 @03:08PM (#15873579)
I have not. Thanks for the tip! I'll give it a whirl when I have some time.
Re:A Classic Extension Reborn: Tree Style Tab by themechanic on Thursday December 07, 2017 @01:50PM (#15872828)
For those using OSX, increase the height to 40px
Re:A Classic Extension Reborn: Tree Style Tab by lousken on Thursday December 07, 2017 @03:59PM (#15874147)
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xu...

#TabsToolbar {visibility: collapse;}

#titlebar {margin:0px !important; display:none}

#sidebar-header {visibility: collapse;}

#nav-bar-customization-target {margin-top:10px;}

I use this with titlebar disabled

Re:A Classic Extension Reborn: Tree Style Tab by jamoes on Thursday December 07, 2017 @04:10PM (#15874272)
I don't understand why they don't just create an API that allows extensions to modify userChrome.css. It seems like this would solve a lot of the complaints people have about the new extension framework, and it would be a way better experience for non-tech-savvy users.
Re:A Classic Extension Reborn: Tree Style Tab by devit on Thursday December 07, 2017 @04:52PM (#15874692)
Probably because any change to the Firefox UI would potentially break an extension using such an API, and part of the point of switching to WebExtensions is to have extensions that never break.

Also, such an API would allow an extension to make the browser UI unusable, which would make figuring out the problem and removing the offending extension quite hard.

Re:A Classic Extension Reborn: Tree Style Tab by the8472 on Thursday December 07, 2017 @05:07PM (#15874817)
Mozilla basically titled the security vs. versatility balance massively in the direction of security with no sudo-equivalent for AMO-distributed addons.
Re:A Classic Extension Reborn: Tree Style Tab by baby on Thursday December 07, 2017 @08:20PM (#15875955)
because they're inconsiderate of Tree Style Tab users. They could really well include a setting to disable the tab bar on top, but they're not doing it.

There are no security reasons for not having such a setting. None.

Re:A Classic Extension Reborn: Tree Style Tab by Manishearth on Thursday December 07, 2017 @09:00PM (#15876129)
Tree Style Tabs is used by like half the folks working at Mozilla.

I doubt that's the reason.

Re:A Classic Extension Reborn: Tree Style Tab by baby on Thursday December 07, 2017 @09:04PM (#15876148)
For some reason I really doubt that statement.
Re:A Classic Extension Reborn: Tree Style Tab by Manishearth on Thursday December 07, 2017 @09:10PM (#15876171)
I work at Mozilla.
Re:A Classic Extension Reborn: Tree Style Tab by nol13 on Thursday December 07, 2017 @10:50PM (#15876534)
The other half use tab center?
Re:A Classic Extension Reborn: Tree Style Tab by Manishearth on Thursday December 07, 2017 @11:45PM (#15876752)
shrug lots of folks don't use tab addons. But yes, Tab Center (Redux) is significantly used too.
Re:A Classic Extension Reborn: Tree Style Tab by baby on Friday December 08, 2017 @05:22AM (#15877795)
maybe a bit of dogfooding and getting everyone to try tree style tabs would help make Firefox a better browser.
Re:A Classic Extension Reborn: Tree Style Tab by baby on Friday December 08, 2017 @03:52AM (#15877540)
Then care to explain why we still can't hide the top bar as a setting?
Re:A Classic Extension Reborn: Tree Style Tab by ripdog on Friday December 08, 2017 @05:10AM (#15877756)
It's happening (as a WE API) but it's taking a while because they're doing it properly, and a lot of the browser expects the tab bar to be visible.
Re:A Classic Extension Reborn: Tree Style Tab by Manishearth on Friday December 08, 2017 @12:40PM (#15880387)
Folks are working on it, I've been part of a couple of discussions about this.

https://bugzilla.mozilla.org/show_bug.cgi?id=1332447

This comment kinda sums up why it's a hard problem https://bugzilla.mozilla.org/show_bug.cgi?id=1332447#c116

There's a major problem with addons doing stuff the users don't want, and the tab strip is a critical portion of the user interface so "just let them hide it" has problems with abuse. So it needs to be something that can still be autoreviewed, and it needs to be something that gives clear indications to the user as to what is going on.

Re:A Classic Extension Reborn: Tree Style Tab by PurpleRamen on Friday December 08, 2017 @06:21AM (#15878041)
They work on it. The main problem is simply that Mozilla fucked up the transition from legacy addons to the new system. There are so many APIs and functionallity still missing, that most commercial companys would have been killed over it. But with OpenSource this has become kind of normal to accept it. Just Remember KDE 3 -> 4. Python 2 -> 3. Gnome 1 -> 2 -> 3. Breaking things is just to common now.
Re:A Classic Extension Reborn: Tree Style Tab by cevn on Thursday December 07, 2017 @10:21AM (#15870757)
Agreed. I gave up on the extension because I couldn't get my userChrome.css to work the way I wanted.