Open Bug 130421 Opened 24 years ago Updated 4 years ago

deleting and quoting selected text misbehaves

Categories

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

x86
Linux
defect

Tracking

()

Future

People

(Reporter: shaver, Unassigned)

Details

I can't seem to describe this well, but here's how I consistently reproduce it. Reply to a mail message (with quoting). You now have a buffer that looks like: Mike Shaver wrote: > First line. > Second line. > > Third line. > > Mike > | (The cursor is where the | is.) Now hold shift, and press UpArrow 3 times. You will have selected only the line after "> Mike" -- the blank quoted one -- while you should have, by my math, selected the "> Mike" line as well: the blank one, the blank-quoted one, and "> Mike", with the cursor at the beginning of "> Mike". But it gets worse (much). Keep pressing UpArrow until you have selected all but the top "> First line." line (the caret should be at the beginning of "> Second line.", which will be highlighted. Now press UpArrow one more time. Both "> First line." and "Mike Shaver wrote:" will be highlighted. (Maybe a separate bug?) Now, to work around that, because you want to leave "Mike Shaver wrote:" intact (usually because I want to delete the beginning of the quoted message, but retain a quote below for context in my reply), press DownArrow again (this will unselect both "Mike Shaver wrote:" and "> First line."), and start pressing RightArrow to select "> First line.". The caret will now be at the start of "> First line." and all but "Mike Shaver wrote:" will be selected. So, press Backspace to delete all that selected text. You'll be left with: Mike Shaver wrote: Sometimes, anyway. I'm having trouble figuring out what's tickling this, but I keep waiting to file it and not getting around to it. The other selection issues are certainly bugs, and I'll annotate this or file another one if I can consistently reproduce it.
reassign to editor
Assignee: ducarroz → kin
Component: Composition → Editor: Core
Product: MailNews → Browser
QA Contact: sheelar → sujay
Priority: -- → P2
Target Milestone: --- → Future
QA Contact: sujay → editor
Assignee: kinmoz → nobody
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.