🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.thunderbird
Article #144

Re: Tip: Disable open on double click

#144
From: Paul
Date: Thu, 05 Nov 2026 07:25
92 lines
4003 bytes
On Wed, 11/4/2026 11:06 PM, T wrote:
> Hi All,
> 
> I getting a constant call from a customer whose employee will
> not stop double clicking on eMail and opening millions of
> tabs which she refused to close.
> 
> I have given up show them how.  Even made the a movie of how to.
> 
> So, here is my "I don't give a damn and will continue doing
> what I want and call you to fit it" solution:
> 
> 
> 
> Disable opening on double-click:
> 
>     --> Settings.
>       --> Config Editor (at the bottom of General)
> 
>     Search for:  mail.openMessageBehavior
>     Change its value to 3.
>     Default is 2
> 
> 
> -T

Updated   Dec 15, 2021  (Ghacks)
Thunderbird

The email client Thunderbird opens emails that you select,
for instance by double-clicking on them, in a new tab in the client's interface.

It is possible to switch to opening emails in message windows instead,
and you have the choice between using a single window for messages
or multiple windows instead.

The  mail.openMessageBehaviour options:
0 = Open emails in new message windows
1 = Open emails in a single window and replace the previous email in the process
2 = Open emails in tabs (default)

An attempt to select a value outside the range,
may be interpreted as a selection of the (default) choice.

*******

Either there is a new definition for this, or the documentation
is not up-to-date.

Strangely, when I used the CoPilot chat to ask the question,
it did no better than a Google search.

const MC.OpenMessageBehavior = {     <=== maybe removed already or re-written
  NEW_WINDOW: 0,
  EXISTING_WINDOW: 1,
  NEW_TAB: 2,
};

Pulling source and unpacking.

all-thunderbird.js

// If a message is opened using Enter or a double click, what should we do?
// 0 - open it in a new window
// 1 - open it in an existing window
// 2 - open it in a new tab
pref("mail.openMessageBehavior", 2);
// If messages or folders are opened using the context menu or a middle click,
// we open them in the background.
pref("mail.tabs.loadInBackground", false);

And the MailConsts.sys.mjs file has a more verbose flowery
listing with the same info basically. It is a file used to
store Javascript preferences. I have removed the comments.

export const MailConsts = {
  OpenMessageBehavior: {
    NEW_WINDOW: 0,
    EXISTING_WINDOW: 1,
    NEW_TAB: 2,
  },
};

I'm not even sure that preference is being parsed properly,
but I guess someone will test this for us.

In any case, there is no "3" in there. Doing that, relies
on some behavior, a behavior I haven't seen handled in source.
I don't know if there is a sanitizing code in there somewhere
for this, or not.

   Paul
Technical Details
Message-ID: <11chb0n$1c8br$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cgvc0$196a6$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.comp.software.thunderbird
Subject: Re: Tip: Disable open on double click
Date: Thu, 5 Nov 2026 02:25:11 -0500
Organization: A noiseless patient Spider
Lines: 92
Message-ID: <11chb0n$1c8br$1@dont-email.me>
References: <11cgvc0$196a6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 05 Nov 2026 07:25:13 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1450363"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+9HloAHZd2Sm/S1FWviqL7/iCaFLbEyzg="; posting-host="a5a54086a258f905701712bda7339d8f"
User-Agent: THIS SPACE FOR RENT
Cancel-Lock: sha1:knhySoG75ywwnpr3YlmD2Dz4iCs= sha256:qikduGBrxjrfD4/i7bbK8+bcf7Mafq/UNGQTzC8+jQc=
	sha1:QvqASkEe2JVZjk+vZO/rBz3K1O0= sha256:qgu43IxiJx1lLyEUNb00H6N6bL+x0MJCKyvLOIYmyGs=
In-Reply-To: <11cgvc0$196a6$1@dont-email.me>
Content-Language: en-US