Closed Bug 51121 Opened 24 years ago Closed 1 year ago

Bad navigation in single line text edit with multiple lines

Categories

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

x86
Linux
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: BenB, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [behavior][nsbeta3-])

Reproduction:
1. Use a Unix build or set pref |editor.singleLine.pasteNewlines| to 0.
2. Copy multiple lines of text
3. Paste them in a single line text edit (e.g. the URLbar)
4. Try to get to the first line and back to the last

Actual result:
From bug 23485
- caret-up doesn't work, but home/caret-left does move to the previous line.
*Very* irritating.
- caret-down moves the caret one line down *on the screen* (i.e. it is under the
textedit field!) to the position where the second line would end, if it where a
2-line textarea.

Expected result:
caret-up down work just like in a multi-line text edit.

Additional comments:
See bug 50935 for why there can be multiple lines in a single line text edit.

ASSIGNing to buster per akk's comment in bug 50935 and because he knows the
discussion in bug 23485.
will propably be minused anyway, but I'll try...
Keywords: nsbeta3
akkana owns this issue
Assignee: buster → akkana
need to talk with akkana on this one
Whiteboard: [need info]
Status: NEW → ASSIGNED
this will need to wait until the next release, unless we can get outside help
Keywords: helpwanted
Whiteboard: [need info] → [nsbeta3-]
Target Milestone: --- → Future
Keywords: mozilla1.0
just an fyi: 

on the mac a multiline paste into a single line text field (urlbar)results in a 
single line paste --> truncated at end of first line

on windows a multiline paste into a single line text field (urlbar)results in a 
single line paste --> truncated at end of first line
Whiteboard: [nsbeta3-] → [behavior][nsbeta3-]
spam composer change
Component: Editor: Core → Editor: Composer
Component: Editor: Composer → Editor: Core
*** Bug 110719 has been marked as a duplicate of this bug. ***
removing myself from the cc list
QA Contact: sujay → editor

Removing myself as assignee for editor bugs, since the editor project is (sadly) long gone.

Assignee: akkzilla → nobody
Status: ASSIGNED → NEW
Severity: normal → S3

I think that we should drop supporting the value 0 from the pref because most web apps which has single line editors must not assume they may have multiple line value. Anyway, the navigation must be terrible because of no tests.

Status: NEW → RESOLVED
Closed: 1 year ago
Priority: P3 → P5
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.