Open Bug 140303 Opened 23 years ago Updated 3 years ago

Selection fires off too many bogus NotifySelectionChanged() notifications.

Categories

(Core :: DOM: Selection, defect, P5)

defect

Tracking

()

Future

People

(Reporter: kinmoz, Unassigned)

References

Details

If you fire up composer and put a break point in nsTypedSelection::NotifySelectionListeners(), you'll notice that clicking the mouse anywhere in the composer window will generate 2 NotifySelectionChanged() notification calls even though the selection hasn't really changed. IMO, selection should only be firing these notifications when the start or end points of a range in the selection have changed, or ranges have been added/removed from the selection. This is contributing to bugs like bug 125345, because the editor TypeInState() assumes that it will only be notified for true selection changes.
Target Milestone: --- → mozilla1.1alpha
Blocks: 168106
Without a fix for this bug, we had to implement a workaround in accessibility code - see bug 168106.
retargeting
Target Milestone: mozilla1.1alpha → Future
Assignee: mjudge → nobody
QA Contact: tpreston → selection

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.