Closed Bug 77440 Opened 25 years ago Closed 25 years ago

caret jumps to top of text after deleting selected paragraph

Categories

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

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 67847
mozilla0.9.2

People

(Reporter: andreas.premstaller, Assigned: mozeditor)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.8.1+) Gecko/20010424 BuildID: 2001042404 After deleting a marked paragraph with the delete-key, the cursor does not remain in the line where it was before the delete-operation, but jumps to the top of the text. Reproducible: Always Steps to Reproduce: 1. produce some paragraphs of text 2. mark one paragraph in the middle, including the end of the paragraph 3. press delete-key Actual Results: The selected text is deleted, the cursor jumps to the top of the document. Expected Results: The selected text is deleted, the cursor remains at the beginning of the (former) selection. I see this with the message composer window (html-mode) and in composer.
Joe recently made a change which might have fixed this. Andreas--can you please retest with a newer build?
Assignee: beppe → jfrancis
I have tested it with Nightly 2001042604 on W2K, still here.
and I still see this with Nightly 2001050204 on W2K
setting to moz0.9.2 the odd thing here is if I select the text and hit delete I get what is reported, if I select the text and then select Edit|Delete it works correctly. I tried this on win32 using the build from 2-May-2001
Keywords: correctness
Priority: -- → P3
Target Milestone: --- → mozilla0.9.2
I wonder if this is related to my drag&drop bug (bad caret position). Confirming bug based on beppe's comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: HTML-editor: cursor jumps to top of text after deleting a selected paragraph → caret jumps to top of text after deleting selected paragraph
I think this is a dup of bug 67847, "Deleting selected text in message compose makes caret go to beginning of message".
Marking as duplicate. However, what about the target milestone, this one has 0.9.2, 67847 has 1.0? *** This bug has been marked as a duplicate of 67847 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verified duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: