← Back to team overview

desktop-packages team mailing list archive

[Bug 584632]

 

Thank you for your detailed answer which clarifies a lot of things. I
will investigate the interaction between Thunderbird and the editor
further.

Re. your last comment:
> I _think_ to fix that part you need to get Thunderbird tell Gecko about how
> to format the new paragraph. 

I tried with a <div contenteditable> in Firefox. The editor handles
insertion of images by itself. So the question is: How could
Thunderbird, the invoker of the editor, be notified, so it could in turn
do whatever it does normally (I need to investigate what that is
exactly) to communicate that the format required after the insertion?
Can an callback be installed that the editor calls when new nodes are
created in the DOM tree?

So far I get the following picture of the interaction between Thunderbird and the editor:
1) Thunderbird invokes the editor and communicates the initial conditions, font, size, etc.
2) The editor does all the editing. When new nodes are created in the DOM, no "special" style element is used, so to the Thunderbird user it looks like the style gets lost.
3) No callback to Thunderbird takes place while the editor is running.
4) Thunderbird may send "commands" to the editor, to change the font, bold, etc.
5) When the editing is done, Thunderbird receives a copy of the DOM (or the plain text or HTML) and stores it or sends it.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/584632

Title:
  composer changes font mid email

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in thunderbird package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: thunderbird

  As I'm typing my emails in Thunderbird, I can see what appears to be a
  font size change on screen, normally in the second line of text. The
  second line appear smaller than the first. It's barely perceptible, so
  half them time I think I am imagining it.

  Well, I've started Bccing to myself to check, and the emails I am
  receiving from myself are not only a different size, they're also a
  different font. Composer starts in some default serif, and by the
  second line is sans. I'd bee glad to email someone viz thunderbird,
  and also send along a screenshot of how it looks while I am typing.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/584632/+subscriptions