Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Force Firefox not to revert Tree Tab Bar in Australis default one (customize page)

  • 17 件の返信
  • 2 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Hadden

more options

I had a trick to resolve graphical issues when using two extensions (GlassFox and TreeTab ones). Applying that, the toolbars and windows buttons stopped to collapse. However, restoring the profile, I've lost the trick too. With another extension, Classic Theme Restorer, I'd partially fix the problem (forcing on the menu bar with built-in 10 fix but I still have wrong displaying of windows buttons). I'm on firefox 40.0.3, windows 10 x64.

Upload didn't work, however direct link of the issue http://i1334.photobucket.com/albums/w641/Hadden89/aero6_zps0gfcyaac.png (without menubar) http://i1334.photobucket.com/albums/w641/Hadden89/aero5_zpsmjwo8efx.png (with menubar)

I had a trick to resolve graphical issues when using two extensions (GlassFox and TreeTab ones). Applying that, the toolbars and windows buttons stopped to collapse. However, restoring the profile, I've lost the trick too. With another extension, Classic Theme Restorer, I'd partially fix the problem (forcing on the menu bar with built-in 10 fix but I still have wrong displaying of windows buttons). I'm on firefox 40.0.3, windows 10 x64. Upload didn't work, however direct link of the issue http://i1334.photobucket.com/albums/w641/Hadden89/aero6_zps0gfcyaac.png (without menubar) http://i1334.photobucket.com/albums/w641/Hadden89/aero5_zpsmjwo8efx.png (with menubar)

この投稿は Hadden により に変更されました

選ばれた解決策

The code above is useless, however now I'm using some scripts who improved the things: one for hide tab favicons, as often are "blank" and take space; one for make tab square; and one for have white text on toolbars and black on tabs and on menus (work both on partial/full glass approach). Strange behaviours seems to be fixed in latest beta of addon expect the little annoyance when click on customize.

この回答をすべて読む 👍 0

すべての返信 (17)

more options

If there was any customization that was used besides an add on or a toolbar might there be a user.js file or an added customization in the Old Firefox Data folder? (If you did a Firefox Refresh)

There is also an option to find a toolbar or add on from the Classic Theme restorer if I remember that it has one correctly.

more options

Well, actually I refreshed profile as the old was broken. Strangely, the old profile seems empty now (however I'm pretty sure the fix was the cause of broken profile) The main problem is between two extension I use (GlassMyFox/TreeStyleTab) and annoying event when I click "customize". It reverts to tabs on top (but I would keep on side) breaking the GUI (mess aero buttons, navbar on title bar and so on). Every time I've to reset manually my tab bar to "right" or "left".

Any chance to force - or at least prevent - Firefox not to change tab bar positioning when customize (eg. add/remove buttons) ? (It's very annoying). Probably, just a script for that purpose, would fix my problem.

この投稿は Hadden により に変更されました

more options

There is some funky stuff going on there. However I did add the Classic Theme restorer and added an image of the tweaks offered in the addons options. Did any of those help?

more options

If you have the "Old Firefox Data" folder on the desktop then check if your have a chrome directory and a userChrome.css file in it. If you find the chrome folder and files in it then try to copy the chrome folder to the current profile folder.

You can use this button to go to the current Firefox profile folder:

You may also have used Stylish instead. You can check the extensions.json and extensions.ini files for info about installed extensions.

more options

guigs said

There is some funky stuff going on there. However I did add the Classic Theme restorer and added an image of the tweaks offered in the addons options. Did any of those help?

For the buttons, it was sufficent to re-enable title bar :D (so simple I didn't think about it XD)

この投稿は Hadden により に変更されました

more options

cor-el said

If you have the "Old Firefox Data" folder on the desktop then check if your have a chrome directory and a userChrome.css file in it. If you find the chrome folder and files in it then try to copy the chrome folder to the current profile folder.

I think I'll make a new Test profile with GlassMyFox and TreeStyleTab only. Then I'll copy the userchrome.css (or use the stylish way)

You may also have used Stylish instead. You can check the extensions.json and extensions.ini files for info about installed extensions.

Yes, I'm pretty sure I won't manually touch that files anymore as almost all code can processed via Stylish :D (Probably also the content of userchrome below) In userchrome.css of old profile I found these. But If I understand, I can "install" that in stylish too :)

window, page, dialog, wizard, prefwindow {
  background-color: -moz-Dialog !important; }

/* Display the tabbar on the left */
#content > tabbox {        [actually, although seen as 1. is a # in the file]
-moz-box-orient: horizontal;
}

.tabbrowser-strip {
-moz-box-orient: vertical;
/* note: you can set this to -moz-scrollbars-vertical instead,
but then the scrollbar will *always* be visible. this way
there is never a scrollbar, so it behaves like the tab bar
normally does */
overflow: -moz-scrollbars-none;
}

.tabbrowser-tabs {
-moz-box-orient: horizontal;
min-width: 10ex; /* you may want to increase this value */
-moz-box-align: start;
}

.tabbrowser-tabs > stack > vbox > hbox > hbox {
-moz-box-orient: vertical;
-moz-box-align: stretch;
}

.tabbrowser-tabs > stack > vbox > hbox > hbox > tab {
-moz-box-align: start;
-moz-box-orient: horizontal;
}

In test profile I noticed the .css now does... nothing ._. Windows 10 buttons glitch fixed via re-enabling title bar in customize: buttons are corrected and follow the windows theme. Now there's only the problem with tab in vertical mode when you open "customize" (It moves up the nav bar and don't always bring on side then). Can always FORCE tab bar positioning on side, even on customize mode (with stylish) ? Or use the legacy "customize" window? (I think not). Maybe an autohiding before customize opens, could help (but not sure).

However, probably, the old profile was broken by an addon (extension.ini follows):

[ExtensionDirs] Extension0=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\tabkit2@pikachuexe.amateur.hk.xpi Extension1=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\{54BB9F3F-07E5-486c-9B39-C7398B99391C}.xpi Extension2=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\identfavicon@david.hanak.hu.xpi Extension3=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\proper-buttons@maroon.xpi.xpi Extension4=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\status4evar@caligonstudios.com.xpi Extension5=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\{210249CE-F888-11DD-B868-4CB456D89593} Extension6=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}.xpi Extension7=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\Restart@schuzak.jp.xpi Extension8=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\ALone-live@ya.ru.xpi Extension9=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\{7EE8902C-75BE-4286-A6CE-0C483607A322}.xpi Extension10=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\{b4b3e886-52d2-11e3-b4ad-f2ea6188709b}.xpi Extension11=C:\Users\Hadden\AppData\Roaming\Mozilla\Firefox\Profiles\wp174elb.Hadden\extensions\custombuttons@xsms.org

[ThemeDirs] Extension0=C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}

[MultiprocessIncompatibleExtensions] (< what refers to? As some of them worked) Extension0=tabkit2@pikachuexe.amateur.hk (THIS seems not work AT ALL with GlassMyfox since Firefox 40) Extension1={54BB9F3F-07E5-486c-9B39-C7398B99391C} Extension2=identfavicon@david.hanak.hu Extension3=proper-buttons@maroon.xpi Extension4=status4evar@caligonstudios.com Extension5={46551EC9-40F0-4e47-8E18-8E5CF550CFB8} Extension6=ALone-live@ya.ru Extension7={7EE8902C-75BE-4286-A6CE-0C483607A322} Extension8={b4b3e886-52d2-11e3-b4ad-f2ea6188709b} Extension9=custombuttons@xsms.org

この投稿は cor-el により に変更されました

more options

userChrome.css is the correct name. The capital C is important. And the folder name needs the lower-case c = chrome.

more options

the-edmeister said

userChrome.css is the correct name. The capital C is important. And the folder name needs the lower-case c = chrome.

I tought it wasn't case sensitive.. However the file - which had correct name in right folder - does nothing. Now I'm trying some stylish workarounds

この投稿は Hadden により に変更されました

more options

Did you verify in the properties that the file is a CSS file and not a text file with a hidden .txt file extension>

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
more options

I always enable hidden files in windows, so I'm sure that file is a .css Yup, I missed the namespace. I've corrected. Is this right?

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

Both on test profile and "official" profile (on the second I used stylish), something in the code (I admit, I'm not sure what it does) doesn't fully resolve the issue (the tab bar switch usually from tabs on bottom/tabs on top) but at least doesn't hide the title bar (which is the issue for broking GUI with aero/windows 10). If tab bar could be lockable on side, would perfect (every time I customize, I still have to reset left/right parameter in tab bar extension)

Looking at this, who pretty cover part of the code, seems that strings are kind "deprecated". Any chance on new builds? How extensions manage tab bar position then?

この投稿は Hadden により に変更されました

more options

Missing the quotes around the URI.

This is correct.

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

more options

http://kb.mozillazine.org/Move_the_tabbar_%28Firefox%29 This page was last modified 11:34, 2 September 2010.

Probably not accurate since Australis came out.

The MozillaZine KB has a lot of out of date pages, so the first thin you need to do when using it as a resource is to loom at the footer to see when the page was last updated. While still a good resource for all things Mozilla, it has been in decline since this forum was started in 2008, and many contributors shifted their efforts over here to SUMO.

As far as changes with "new builds", other than general fixes for Win10 that may come about - mods to Firefox via two extensions makes yours an extreme edge-case, IMO. Little chance a change will come from the Mozilla developers. Greater chance of you getting the add-on developers to work together for a change that benefits the users who use both add-ons, IMO.

more options

Can you post the full content of the userChrome.css file?

more options

Fully corrected the userChrome.css. Its content:

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

window, page, dialog, wizard, prefwindow {
  background-color: -moz-Dialog !important; }

/* Display the tabbar on the left */
#content > tabbox {
-moz-box-orient: horizontal;
}

.tabbrowser-strip {
-moz-box-orient: vertical;
/* note: you can set this to -moz-scrollbars-vertical instead,
but then the scrollbar will *always* be visible. this way
there is never a scrollbar, so it behaves like the tab bar
normally does */
overflow: -moz-scrollbars-none;
}

.tabbrowser-tabs {
-moz-box-orient: horizontal;
min-width: 10ex; /* you may want to increase this value */
-moz-box-align: start;
}

.tabbrowser-tabs > stack > vbox > hbox > hbox {
-moz-box-orient: vertical;
-moz-box-align: stretch;
}

.tabbrowser-tabs > stack > vbox > hbox > hbox > tab {
-moz-box-align: start;
-moz-box-orient: horizontal;
}

What dev addon could be useful in my case? I'll look sumo also as suggested

この投稿は cor-el により に変更されました

more options

選ばれた解決策

The code above is useless, however now I'm using some scripts who improved the things: one for hide tab favicons, as often are "blank" and take space; one for make tab square; and one for have white text on toolbars and black on tabs and on menus (work both on partial/full glass approach). Strange behaviours seems to be fixed in latest beta of addon expect the little annoyance when click on customize.

この投稿は Hadden により に変更されました

more options

There is a pref to hide the tab favicons, so you do not need to use userChrome.css unless you still want to display the throbber.

more options

cor-el said

There is a pref to hide the tab favicons, so you do not need to use userChrome.css unless you still want to display the throbber.

Well, I didn't think to it :) However I want to keep favicons on address and location bar. It's possible to replace default square favicons (address bar) with a nicer one? (I use an extension for that, but the customized favicons are often badly rescaled)

この投稿は Hadden により に変更されました