Closed Bug 69320 Opened 24 years ago Closed 23 years ago

Making new block doesn't always adjust selection properly

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: scottputterman, Assigned: mozeditor)

References

Details

(Whiteboard: [behavior] fixed, reviewed, approved)

Attachments

(2 files)

2001021720 NT Open the document I'm about to attach for editing. Place the cursor at the first line after the centered date (so it's blinking right after the "01") Now hit return to go to the next line. Hit the left align button. Expected behavior is that the cursor is now at the left margin on the second line. Instead, the cursor is now at the end of the previous line as if I had backspaced. It takes a lot of effort to get it so that the centered date stays centered and that the next line starts at the left.
Attached file document showing this bug. (deleted) —
nominating for beta 1 because it shouldn't be this much effort to use left align.
Keywords: nsbeta1
assigning to jfrancis
Assignee: beppe → jfrancis
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
it was part of our design criteria for align to try and annoy the user. However, we are rethinking that now...
Target Milestone: mozilla0.9.1 → mozilla0.9.2
the text string is within a <DIV ALIGN=CENTER>, if the caret is placed jsut after the 01, and immediately select left align, the caret moves back up to the previous line, however, if you type text first, then it algins to the left without any problems.
Keywords: correctness
Whiteboard: [behavior]
kin, i beleive this bug is a dup of the problem you looked into about the selection jumping outside a new list. just an fyi.
Attached patch editor/base diffs (deleted) — Splinter Review
this bug shows up in a lot of different places, changing title. attached patch fixes it. another common test case is type "xxxx", put cursor in middle of "xxxx", hit return, and then make list. without my patch list is made but caret is not in it. need r=,sr=
Summary: Left align doesn't always work → Making new block doesn't always adjust selection properly
Whiteboard: [behavior] → [behavior] finx in hand, need r=,sr=
r=fm; sr=kin; need a=
Whiteboard: [behavior] finx in hand, need r=,sr= → [behavior] finx in hand, need a=
a= asa@mozilla.org for checkin to the trunk. (on behalf of drivers)
Blocks: 83989
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [behavior] finx in hand, need a= → [behavior] fixed, reviewed, need a=
Whiteboard: [behavior] fixed, reviewed, need a= → [behavior] fixed, reviewed, approved
verified in 6/25 build.
Status: RESOLVED → VERIFIED
*** Bug 76374 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: