Closed Bug 1285694 Opened 8 years ago Closed 8 years ago

Following mailto links always spawns a HTML composition window regardless of „Compose messages in HTML format“ is deaktivated for all accounts.

Categories

(Thunderbird :: Message Compose Window, defect)

45 Branch
x86
Windows 10
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mail, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160604131506

Steps to reproduce:

I click on a mailto link.
„Compose messages in HTML format“ is deaktivated for all accounts.


Actual results:

Thunderbird spawns a HTML composition window.


Expected results:

Thunderbird spawns a plaintext composition window.
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
I can't reproduce this. I tried with TB 45.2 and TB 50 (current Daily).

Are you using some add-on that could be causing this?
Please try in safe mode (Help > Start with Add-ons Disabled).
It's the same in safe mode.
The issue exists here for years.
Reproducible on two machines.
I've set mail.html_compose to false in about:config manually. 
That resolved the issue for me here.
Where do you click on the mailto-link? In Thunderbird or some other program, perhaps Firefox?

For as much as I try, clicking on a mailto-link in TB or FF will open a message in plain text if the account is configured like that.

The HTML setting for the individual account is stored in mail.identity.id<nn>.compose_html.
It occured by following mailto-links in Firefox, Thunderbird or elsewhere.

mail.identity.id<nn>.compose_html is set to false via gui for all identities.
You have to help us here. It works for me, so there must be something special about you.

Can you try on another profile? Run thunderbird -p to start the profile manager. Make the new profile the default temporarily so it gets used when you click a mailto-link.
The issue didn't occur with a new profile.
So what is special about your previous profile?
Jorg, from comment 3, try to see where we check the value of mail.html_compose pref. Maybe it overrides mail.identity.id<nn>.compose_html.
Aceman, there is something wrong with the setup of the user. He tells us in comment #7 that everything is working on a new profile.

mail.html_compose kicks in when the identity cannot be found(???):
https://dxr.mozilla.org/comm-central/source/mailnews/compose/src/nsMsgComposeService.cpp#230

How can that happen??? The users said that all this accounts are set to plain text, so that should work unless the profile is damaged.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Yeah, the pref is used if the default identity could not be found. It would need investigation if a proper account is set as default and if it has a working first identity.
(In reply to Jorg K (GMT+2, PTO during summer, NI me) from comment #8)
> So what is special about your previous profile?

There shouldn't be something special about these two profiles. They have been created in 2011.
(In reply to :aceman from comment #11)
> Yeah, the pref is used if the default identity could not be found. It would
> need investigation if a proper account is set as default and if it has a
> working first identity.

How would one do that?
Ok, I think I figured it out. It seems that my "local folders" where set as default account (I don't know why, since it's not an account with an e-mail address). I changed the default to a different account and the problem disappeared:

Go to "Account settings", select an account, click on the "Account actions" button and then "Save as default".
Yes, thanks for investigating. Local folders, is not a good account to be set as default, it is not usable as that.
It is a pity your settings got stuck at having Local folders as default, even though you seem to have a proper account available.

We already have bug 880602 filed for this so that TB isn't stuck at Local Folders and picks a better account for default once one becomes available.
Depends on: 880602
You need to log in before you can comment on or make changes to this bug.