Closed
Bug 38713
Opened 24 years ago
Closed 24 years ago
TakeFocus fails if batching is off
Categories
(Core :: DOM: Selection, defect, P2)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: akkzilla, Assigned: akkzilla)
References
Details
(Whiteboard: [nsbeta2+] Have fix, awaiting checkin approval)
Attachments
(1 file)
1.44 KB,
patch
|
Details | Diff | Splinter Review |
nsSelection::TakeFocus() returns NS_ERROR_FAILURE if batching is on. I worked around that earlier in the editor (see the comment in nsHTMLEditor::DeleteSelection), but now that auto-copy is on, it's causing other problems (I have some bugs which I'll mark dependant on this one) because the only way the editor has of doing line-oriented operations is by moving the selection, but changing the selection also triggers an unwanted autocopy, which I can't prevent by turning batching on because then I'll hit the NS_ERROR_FAILURE.
Assignee | ||
Comment 2•24 years ago
|
||
Bug 36559, dependant on this one, has just been marked nsbeta2+; so this one also needs to be. Mike, maybe I can help with this?
Keywords: nsbeta2
Assignee | ||
Comment 5•24 years ago
|
||
I have a fix and will attach a patch. Mike has blessed this in principle, but I want to test the code a bit before checking it in.
Assignee: mjudge → akkana
Whiteboard: [nsbeta2+] → [nsbeta2+] Have fix, testing now
Assignee | ||
Comment 6•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•24 years ago
|
Whiteboard: [nsbeta2+] Have fix, testing now → [nsbeta2+] Have fix, awaiting checkin approval
Assignee | ||
Comment 7•24 years ago
|
||
Fixed. QA: there's no black-box way to verify this except by verifying 36559.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 8•24 years ago
|
||
I am verifying this bug as fixed, per Akkana. Bug number 29219 is fixed, as marked by Chris and double checked by myself.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•