Unpredictable position of the toolbar after Tab Centre is used

I have this (applied with Stylish, a style named TabsToolbar below other bars):

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


It’s effective, and seems to have the additional effect of positioning the toolbar beneath the bookmarks bar, which I like:

After a click on the Tab Centre icon, the toolbar rises above the bookmarks bar:

After exiting Tab Centre, the toolbar is still not where I’d like it to be:

Workaround: quit Firefox.


Can I add something to the style to ensure that the toolbar is positioned below the bookmarks bar during and after use of Tab Centre?

Or should I raise an issue in GitHub?

… ensure that the toolbar is positioned below the bookmarks bar …

Solved. I used Stylish to add a style with this name:

#nav-bar{-moz-box-ordinal-group:5!important} – the toolbar, a.k.a. navigation bar, not on top


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



cor-el’s answer (2011-04-05) to How can I move my toolbars up and down? | Firefox Support Forum | Mozilla Support – with this, to be entered in the Web Console:

var Cc = Components.classes, Ci = Components.interfaces;
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var mw = wm.getMostRecentWindow("navigator:browser");
var doc = mw.document;
var nav = doc.getElementById('navigator-toolbox');
var elm = nav.getElementsByTagName('toolbar');
var i, inf='',moz='-moz-box-ordinal-group';
for(i=0;E=elm[i];i++){ inf+='#'+E.id+' { '+moz+': '+doc.defaultView.getComputedStyle(E,"").getPropertyValue(moz)+' }\n'; }

In my case, the console output was:

"#toolbar-menubar { -moz-box-ordinal-group: 1 }
#TabsToolbar { -moz-box-ordinal-group: 10000 }
#nav-bar { -moz-box-ordinal-group: 1 }
#PersonalToolbar { -moz-box-ordinal-group: 1 }
#diigotb-toolbar { -moz-box-ordinal-group: 1 }
#addon-bar { -moz-box-ordinal-group: 1 }
#s3gt-toolbox-panel { -moz-box-ordinal-group: 1 }