Closed Bug 100753 Opened 24 years ago Closed 24 years ago

[REGRESSION] Bullet indents but doesn't return to original position

Categories

(Core :: DOM: Editor, defect, P1)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: shrir, Assigned: mozeditor)

Details

(Keywords: regression, Whiteboard: ETA: Fix ready now. FIXINHAND pdt+ EDITORBASE [QAHP])

Attachments

(1 file)

forked from bug 97797 steps: launch composer click bullet list item click right indent button click left indent button Expected results Bullet indents, then returns to its original position Actual results Bullet indents, and doesn't return to its original position
This is, I believe, the more serious variant of bug 97797. The average user will try to create a bullet list and indent it to the right level and the bullet doesn't indent, but instead drops down a few pixels while the text insertion point moves. The workaround is to type text and THEN indent the bullet, but this is truly annoying and counterintuitive. This is a REGRESSION. We must fix this or Composer will have lower quality than the previous release.
Severity: normal → major
Keywords: nsbranch+
Summary: Bullet indents but doesn't return to original position → [REGRESSION] Bullet indents but doesn't return to original position
I agree with Hong's assessment that this is a very visible regression, therefore I added regression to the keywords and PDT to the status whiteboard.
Keywords: regression
Whiteboard: pdt
Whiteboard: pdt → pdt EDITORBASE
adding QAHP
Whiteboard: pdt EDITORBASE → pdt EDITORBASE [QAHP]
joe, any eta on a fix for this?
ETA is now. I just need reviews. This is change is pretty low risk, as it is the same fix as in 97797, just applied in a WillOutdent() instead of WillInddent().
Status: NEW → ASSIGNED
Whiteboard: pdt EDITORBASE [QAHP] → FIXINHAND pdt EDITORBASE [QAHP]
Priority: -- → P1
Target Milestone: --- → mozilla0.9.4
Comment on attachment 50867 [details] [diff] [review] patch to editor/base/nsHTMLEditRules.cpp sr=kin@netscape.com Just fix the indentation for this change: - res = NS_NewISupportsArray(getter_AddRefs(arrayOfNodes)); + // make our array contain just this li node + res = NS_NewISupportsArray(getter_AddRefs(arrayOfNodes)); if (NS_FAILED(res)) return res;
Attachment #50867 - Flags: superreview+
Comment on attachment 50867 [details] [diff] [review] patch to editor/base/nsHTMLEditRules.cpp r=brade
Attachment #50867 - Flags: review+
Whiteboard: FIXINHAND pdt EDITORBASE [QAHP] → ETA: Fix ready now. FIXINHAND pdt EDITORBASE [QAHP]
check it in today - PDT+
Whiteboard: ETA: Fix ready now. FIXINHAND pdt EDITORBASE [QAHP] → ETA: Fix ready now. FIXINHAND pdt+ EDITORBASE [QAHP]
fix landed on 094 branch
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified in 9/28 branch. looks good.
Status: RESOLVED → VERIFIED
verified on 10/26 trunk....there is a regression now...but its in layout.. 1) launch netscape 2) launch composer 3) click bulleted list 4) right indent 5) left indent notice the bullet jumps down a bit...The source is the same as before when this was working, so Joe deduced that this is a layout issue. http://bugzilla.mozilla.org/show_bug.cgi?id=107041
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: