Event handlers on <editor/>s that display HTML markup, i.e. the one in msg compose, do not fire or do not work correctly. The root of the problem is that the pres shell of the document that the editor contains -- not the xul doc that contains the editor -- is receiving the event, which causes a bunch of gLastFocusedDocument == mDocument checks to fail, which causes the ESM to think that focus is being switched between two documents, which causes the (editor) document itself to receive the event. This happens because nsMarkupDocument::CreateShell inits a presshell with itself as the doc. saari/bryner, can you comment on possible solutions?
assigning to brade for review, but I suspect this will go to others involved in the event code
Assignee: beppe → brade
Target Milestone: --- → mozilla1.0
spam composer change
Component: Editor: Core → Editor: Composer
Component: Editor: Composer → Editor: Core
Assignee: brade → kin
Bulk move of mozilla1.0 bugs to mozilla.1.0.1. I will try to pull some of these back in if I can.
Target Milestone: mozilla1.0 → mozilla1.0.1
removing myself from the cc list
You need to log in before you can comment on or make changes to this bug.