missing menu-bar

430 views
Skip to first unread message

Klaus Hartnegg

unread,
Jan 23, 2013, 7:59:37 AM1/23/13
to tb-ent...@mozilla.org
How can I can make Thunderbird show the menu-bar to new users?
mail.mail_menu.collapse_by_default=false has no effect.
mail.tabs.drawInTitlebar=false only corrects the color.
_______________________________________________
tb-enterprise mailing list
tb-ent...@mozilla.org
https://mail.mozilla.org/listinfo/tb-enterprise

Hubertus Hilgers

unread,
Jan 23, 2013, 8:34:49 AM1/23/13
to tb-ent...@mozilla.org, hart...@uni-freiburg.de
Hello Klaus,

under Windows XP we have:

mail.main_menu.collapse_by_default = true

mail.tabs.autoHide = true

mail.tabs.drawInTitlebar = false.

Hope that´s help.

Regards

Hubertus
--
Nota bene:

This message including the enclosures is intended exclusively for the
recipient stated and can contain privileged, onfidential or otherwise
protected information. Should you receive this message by mistake, it
is strictly prohibited for you to use, disseminate, forward, print or
copy this message.
Please inform the sender mentioned above and delete the message
received.

e-Nachricht: Hubertus...@gmx.de

Timo Pietilä

unread,
Jan 23, 2013, 8:35:39 AM1/23/13
to tb-ent...@mozilla.org
On 23.1.2013 14:59, Klaus Hartnegg wrote:
> How can I can make Thunderbird show the menu-bar to new users?
> mail.mail_menu.collapse_by_default=false has no effect.
> mail.tabs.drawInTitlebar=false only corrects the color.

Looks like that setting is in localstore.rdf. How to distribute that
without ruining the view for old users is a tricky question and I have
coffee deficiency right now so can't answer how to do that.

Timo Pietilä

Timo Pietilä

unread,
Jan 23, 2013, 8:44:50 AM1/23/13
to tb-ent...@mozilla.org
On 23.1.2013 15:35, Timo Pietilä wrote:
> On 23.1.2013 14:59, Klaus Hartnegg wrote:
>> How can I can make Thunderbird show the menu-bar to new users?
>> mail.mail_menu.collapse_by_default=false has no effect.
>> mail.tabs.drawInTitlebar=false only corrects the color.
>
> Looks like that setting is in localstore.rdf. How to distribute that
> without ruining the view for old users is a tricky question and I have
> coffee deficiency right now so can't answer how to do that.

Anyway, this seems to be the relevant section:
-------
<RDF:Description
RDF:about="chrome://messenger/content/messenger.xul#mail-toolbar-menubar2"
autohide="false" />

--------

"false" means menu is visible, "true" is that menu is not visible.

Klaus Hartnegg

unread,
Jan 23, 2013, 9:02:42 AM1/23/13
to tb-ent...@mozilla.org
Am 23.01.2013 14:34, schrieb Hubertus Hilgers:
> mail.main_menu.collapse_by_default = true
> mail.tabs.autoHide = true
> mail.tabs.drawInTitlebar = false.

With these options new users DON'T get the menu bar.
Windows-XP, Thunderbird 17.0.2

Hubertus Hilgers

unread,
Jan 23, 2013, 11:27:20 AM1/23/13
to hart...@uni-freiburg.de, tb-ent...@mozilla.org


If the menu bar is not displayed anymore, right-click on the new Thunderbird button and activate the menu bar again.

You need to open the advanced configuration if you want to display the title bar in the email client again. For that, click on Tools > Options or Menu > Options, and navigate to Advanced > General > Config Editor here.

Filter for the preference mail.tabs.drawInTitlebar and double-click it to set it to false. You should immediately see the title bar in the Thunderbird email client again.

Sorry we have also mail.tabs.autoHide = false

Klaus Hartnegg

unread,
Jan 23, 2013, 4:54:34 PM1/23/13
to tb-ent...@mozilla.org
Am 23.01.2013 17:27, schrieb Hubertus Hilgers:

> If the menu bar is not displayed anymore, right-click on the new
> Thunderbird button and activate the menu bar again.

I need a way to declare this as default setting, ideally to deploy that
default to all PCs.

Where does Thunderbird store the info if the menu-bar is on or off?

LIVINE Christin

unread,
Jan 23, 2013, 7:08:34 PM1/23/13
to Klaus Hartnegg, tb-ent...@mozilla.org
Le 23/01/2013 11:54, Klaus Hartnegg a écrit :
>
> I need a way to declare this as default setting, ideally to deploy that
> default to all PCs.
>
> Where does Thunderbird store the info if the menu-bar is on or off?
>
> _______________________________________________
> tb-enterprise mailing list
> tb-ent...@mozilla.org
> https://mail.mozilla.org/listinfo/tb-enterprise
>
>

On windows 2000 and XP.
In C:\Program Files\Mozilla Thunderbird\defaults\profile\, you can add
some default parameters in file prefs.js (proxy, ldap server),
certificate file cert8.db, bookmark.html (but didn't try with the newest
version of Thunderbird), maybe localstore.rdf, and others file.
When creating new session of Thunderbird, those files are loaded in
C:\Document and Users\xxxxxxxx\Appication
Data\Thunderbird\Profiles\xxxxxxxxxx.xxxxxxxxxx\.

Christin

LIVINE Christin

unread,
Jan 23, 2013, 7:22:29 PM1/23/13
to tb-ent...@mozilla.org
Le 23/01/2013 14:08, LIVINE Christin a écrit :
> On windows 2000 and XP.
> In C:\Program Files\Mozilla Thunderbird\defaults\profile\, you can add
> some default parameters in file prefs.js (proxy, ldap server),
> certificate file cert8.db, bookmark.html (but didn't try with the newest
> version of Thunderbird), maybe localstore.rdf, and others file.
> When creating new session of Thunderbird, those files are loaded in
> C:\Document and Users\xxxxxxxx\Appication
> Data\Thunderbird\Profiles\xxxxxxxxxx.xxxxxxxxxx\.
>
> Christin
>
> _______________________________________________
> tb-enterprise mailing list
> tb-ent...@mozilla.org
> https://mail.mozilla.org/listinfo/tb-enterprise
>
>

Or you include in a custom Thunderbird installer.
In this case, the files to be loaded are in Un7zipped Thunderbird
Setup\core\defaults\profile\
And created again the package with 7-zip, 7zSD.sfx and app.tag.

Some example in
http://howto.gumph.org/content/customize-firefox-installer/,
http://mike.kaply.com/2007/07/27/manually-repackaging-the-firefox-installer-on-windows/

Klaus Hartnegg

unread,
Jan 24, 2013, 5:15:21 PM1/24/13
to tb-ent...@mozilla.org
Am 23.01.2013 14:44, schrieb Timo Pietilä:
> On 23.1.2013 15:35, Timo Pietilä wrote:
>> On 23.1.2013 14:59, Klaus Hartnegg wrote:
>>> How can I can make Thunderbird show the menu-bar to new users?

> Anyway, this seems to be the relevant section:
> -------
> <RDF:Description
> RDF:about="chrome://messenger/content/messenger.xul#mail-toolbar-menubar2"
> autohide="false" />
>
> --------

The following in userChrome.css makes it visible,
but it adds another empty line below.

@namespace
url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#mail-toolbar-menubar2[autohide="true"] { display:inline !important; }

I read that one should use -moz-box instead of inline, but that doesn't
work.

Any ideas how to get rid of the empty line?

Klaus Hartnegg

unread,
Jan 24, 2013, 6:09:15 PM1/24/13
to tb-ent...@mozilla.org
These lines in userChrome.css make the menu-bar always visible, by
undoing the effect of 'autohide'.
It should be possible to deploy this file to new users, by saving it in
the directory defaults/profile in the program path.
/* disable autohide of menu-bar */
#mail-toolbar-menubar2[autohide="true"] { overflow-x: visible !important; }
#mail-toolbar-menubar2[autohide="true"] { overflow-y: visible !important; }

Many thanks to all who gave me hints, to whoever made DOM-Inspector, and
to Mike Kaply for this webpage:
http://mike.kaply.com/2012/03/30/customizing-firefox-default-profiles/

I found this by looking at the css-rules for window/toolbox/toolbar
(id=mail-toolbar-menubar2). This showed that the culprit is in xul.css
line 267.

Karsten Tröß

unread,
Jan 29, 2013, 9:13:24 AM1/29/13
to tb-ent...@mozilla.org

Hi,

I tried to use this settings, but it dosen't work!

I created a C:\Programme\Mozilla Thunderbird\defaults\profile\userChrome.css
with
-----------------------------------------------------------------------------------------------------------------------
@namespace
url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* disable autohide of menu-bar */
#mail-toolbar-menubar2[autohide="false"] { overflow-x: visible !important; }
#mail-toolbar-menubar2[autohide="false"] { overflow-y: visible
!important; }
-----------------------------------------------------------------------------------------------------------------------
and deleted the user - profile (c:\Dokumente und
Einstellungen\username\Anwendungsdaten\Thunderbird)

after a restart, the import - question and the account wizzard started
-> also a clean profile but the menue-bar is not visible.

Where is my mistake?
BTW: Where is the right place for: disable import - question, disable
rights info, disable filelink question / settings, disable update?

Thanks.
Best Regards
Karsten



schrieb Klaus Hartnegg:
--
Mit freundlichen Grüßen

Karsten Tröß

EDV-Abteilung


Subitec GmbH
Mellinweg 20
D-66280 Sulzbach/Saar

Phone 06897/77898-62
Fax 06897/77898-99
Email ktr...@subitec.de

a company of TBS Group

Handelsregister: AG Saarbrücken HRB 17740
USt.Ident-Nr.: DE 812 482 480
Geschäftsführer: Dr. Pietro Torrusio, Dr. Joachim Mohme



Sicherheitscheck: Diese Mail und die Dateianlagen wurden vom Absender
auf Computerviren geprüft.

Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene
Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten
Sie bitte, dass der Inhalt urheberrechtlich geschützt ist und dass jede
Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder
Weitergabe des Inhalts dieser E-Mail unzulässig und ggf. strafbar ist.
Wir bitten Sie, sich in diesem Fall umgehend mit dem Absender der E-Mail
in Verbindung zu setzen.

Klaus Hartnegg

unread,
Feb 20, 2013, 7:35:53 AM2/20/13
to tb-ent...@mozilla.org
On 29.01.2013 15:13, Karsten Tröß wrote:
> I tried to use this settings, but it dosen't work!

It must say autohide="true" and it must be in
%ProgramFiles(x86)%\Mozilla Thunderbird\defaults\profile\chrome

> I created a C:\Programme\Mozilla
> Thunderbird\defaults\profile\userChrome.css
> with
> -----------------------------------------------------------------------------------------------------------------------
>
> @namespace
> url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
> /* disable autohide of menu-bar */
> #mail-toolbar-menubar2[autohide="false"] { overflow-x: visible
> !important; }
> #mail-toolbar-menubar2[autohide="false"] { overflow-y: visible
> !important; }
> -----------------------------------------------------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages