Thunderbird preference does not show correct default font

Bug #306610 reported by markiereef
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mozilla Thunderbird
Fix Released
Medium
mozilla-thunderbird (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: mozilla-thunderbird

Options - Composition - General - Font - always reverts back to Variable Width - I want it to stay on Ariel

Using version 2.0.0.18 (20081105) on Vista

Revision history for this message
Prodigious Penguin (prodigiouspenguin) wrote :

Hi, thanks for your interest in reporting bugs.

However, your title is a bit deceptive. I almost invalidated your bug and pointed you to the Mozilla bug tracker because of your issue not being on Ubuntu. However, I was able to duplicate your problem with Thunderbird 2.0.0.18 in Ubuntu 8.10. I'm confirming the bug and updating the title.

Changed in mozilla-thunderbird:
status: New → Confirmed
Revision history for this message
Prodigious Penguin (prodigiouspenguin) wrote : Re: Thunderbird does not keep font preference

Ok, here's what I've found. The preference window doesn't seem to remember that I changed the font to something else, but when I actually go to compose a message, I get the right font.

Steps to reproduce:
1) Change default font (Edit > Preferences >Composition > HTML > Font in Ubuntu)
2) Click "Close" button on preferences window
3) Compose a new message, noting the font chosen is the font selected by the composition window
4) Check default font (Edit > Preferences >Composition > HTML > Font in Ubuntu)

Actual result:
Preference window shows "Variable width" font

Expected result:
Preference window should show font chosen by the user

Do the results you have in Vista seem to reflect this?

Revision history for this message
In , Prodigious Penguin (prodigiouspenguin) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4
Build Identifier: Ubuntu 8.10

The preference window does not show the user-chosen default font; only "variable width". However, the user-chosen font is used when composing a new message.

Reproducible: Always

Steps to Reproduce:
1. Change the default HTML font from "Variable width" to something else
2. Close the preferences window
3. Open the preferences window
Actual Results:
"Variable width" is displayed as the chosen font

Expected Results:
Another font "Arial", "Times New Roman", etc should be shown as the chosen font

Changed in thunderbird:
status: Unknown → New
Revision history for this message
markiereef (info-primeroweb) wrote :

Yes, that is correct, also the same with Thunderbird on XP

Revision history for this message
Connor Imes (ckimes) wrote :

Thanks for reporting this bug here and upstream. I can confirm this as well, and since there is enough information, I'll upgrade the bug status to Triaged and set the Importance.

Note that in Ubuntu it is
Edit->Preferences->General tab->Font list

connor@compy686:~$ apt-cache policy thunderbird
thunderbird:
  Installed: 2.0.0.18+nobinonly-0ubuntu0.8.04.1
  Candidate: 2.0.0.18+nobinonly-0ubuntu0.8.04.1
  Version table:
 *** 2.0.0.18+nobinonly-0ubuntu0.8.04.1 0
        500 http://ubuntu.media.mit.edu hardy-updates/main Packages
        500 http://security.ubuntu.com hardy-security/main Packages
        100 /var/lib/dpkg/status
     2.0.0.12+nobinonly-0ubuntu1 0
        500 http://ubuntu.media.mit.edu hardy/main Packages

connor@compy686:~$ uname -a
Linux compy686 2.6.24-20-generic #1 SMP Mon Jul 28 13:49:52 UTC 2008 i686 GNU/Linux

connor@compy686:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy

Changed in mozilla-thunderbird:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 306610] Re: Font issue with Thunderbird on Vista

On 12/10/2008 12:06 AM, Prodigious Penguin wrote:
> Hi, thanks for your interest in reporting bugs.
>
> However, your title is a bit deceptive. I almost invalidated your bug
> and pointed you to the Mozilla bug tracker because of your issue not
> being on Ubuntu. However, I was able to duplicate your problem with
> Thunderbird 2.0.0.18 in Ubuntu 8.10. I'm confirming the bug and
> updating the title.
>
> ** Changed in: mozilla-thunderbird (Ubuntu)
> Status: New => Confirmed
>
> ** Summary changed:
>
> - Font issue with Thunderbird on Vista
> + Thunderbird does not keep font preference
>
Please also check Mozilla bug tracker for this bug if you cant find it
please report one and drop us the link.

--
Sincerely Yours,
    John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

"How can i get lost, if i have no where to go"
    -- Metallica from UnforgivenIII

Revision history for this message
Prodigious Penguin (prodigiouspenguin) wrote :

Hi, I checked around upstream at Mozilla's Bugzilla already and didn't find any reports matching the issue, so I filed it and added the bug watch to this bug early yesterday morning.

Revision history for this message
In , Bienvenu (bienvenu) wrote :

this is pretty broken...

Revision history for this message
In , Shimoda (shimoda) wrote :

I also saw same problem on Thunderbird 2.0.0.x. On Shredder (trunk), no item is chosen instead of "Variable width".

The problem is caused by processes like following:
1. The preferences dialog is loaded. The menulist only have few built-in items,
   "Variable width", "Fixed width", etc.
2. <preference> tries to choose the menu item for "Arial". But there is no
   <menuitem> for the font. So, <preference> does nothing.
3. <prefpane> fires "paneload" event and gComposePane.init() is called.
   The list of installed fonts are generated by gComposePane.populateFonts().

To fix this bug, we have to generate the list of fonts before <preference>'s choosing.

Revision history for this message
In , Shimoda (shimoda) wrote :

Or, choosing menuitem again by populateFonts() can fix it too.

Revision history for this message
In , Shimoda (shimoda) wrote :

Created attachment 356635
Patch for Shredder (ver.1.0)

Revision history for this message
In , Shimoda (shimoda) wrote :

Created attachment 356636
Patch for Thunderbird 2.0.0.x (ver.1.0)

Revision history for this message
In , Bienvenu (bienvenu) wrote :

Comment on attachment 356635
Patch for Shredder (ver.1.0)

thx for the patch - I'll land this.

Revision history for this message
In , Bienvenu (bienvenu) wrote :

Comment on attachment 356636
Patch for Thunderbird 2.0.0.x (ver.1.0)

requesting approval for next 2.0x build - trivial fix. (no guarantee that we'll take this but it doesn't hurt to ask)

Revision history for this message
In , Bienvenu (bienvenu) wrote :

fix on trunk for Shredder

Changed in thunderbird:
status: New → Fix Released
Revision history for this message
Connor Imes (ckimes) wrote :

This has been fixed upstream for Thunderbird 3 Beta. A patch is also available for TB 2.0.0.x on the upstream bugzilla.

Changed in mozilla-thunderbird:
status: Triaged → Fix Committed
Revision history for this message
In , Dmose (dmose) wrote :

Comment on attachment 356636
Patch for Thunderbird 2.0.0.x (ver.1.0)

We have too few resources to introduce any risk into the branch for patches which are not security or stability problems. Unfortunately, this doesn't qualify as either of those. Apologies.

Revision history for this message
Przemek K. (azrael) wrote :

Thunderbird 3 will land in Lucid, marking as Fix Released

Changed in mozilla-thunderbird (Ubuntu):
status: Fix Committed → Fix Released
Changed in thunderbird:
importance: Unknown → Medium
Revision history for this message
Dotan Mazor (dotanmazor) wrote :

This is a deeper problem in Thunderbird.

The only thing that really solved it for me, was the QuoteAndComposeManager (former RealBorders) addon:
http://nic-nac-project.org/~kaosmos/realborders-en.html

In the addon settings, under the tab 'Fonts', select the option 'Stabilize predefined font'.

Good luck!
Dotan

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.