Closed
Bug 122879
Opened 23 years ago
Closed 3 years ago
ctrl+left, right on a wrapped line moves caret to unexpected position in a build with --enable-ctl
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: ian, Assigned: prabhat.hegde, NeedInfo)
References
()
Details
(Keywords: testcase, Whiteboard: [Hixie-P0][Hixie-1.0][caret][EDITORBASE-])
Attachments
(2 files)
STEPS TO REPRODUCE 1. Type a line of text long enough to wrap. 2. Press Ctrl + Left Arrow. 3. Press Right. EXPECTED RESULTS Caret should be in between the first and second letters of the last word of the text. ACTUAL RESULTS Caret goes to an unexpected location, namely up and right one position from the end of the line.
Reporter | ||
Updated•23 years ago
|
Keywords: mozilla1.0,
testcase
Whiteboard: [Hixie-P0][Hixie-1.0][caret][EDITORBASE]
Comment 2•23 years ago
|
||
Syd and I could not reproduce on Linux and WINXP. Resolving WFM
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 3•23 years ago
|
||
I can *reliably* reproduce this on a CVS tip Linux optimised build running on Mandrake 8.1. REOPENing. This is one of the most annoying things about Mozilla right now as far as I am concerned. Please tell me how I can help track this down.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 4•23 years ago
|
||
Note: I'm seeing this is in the <textarea> plain text editor. If you were trying to reproduce this in Composer, that would explain why you can't see it. What is the right component for bugs in the <textarea> plain text editor?
Hixie, some of us are having a problem reproducing this. Perhaps a URL to the page you are using, or a test case (with the text you are using) would help us out.
Reporter | ||
Comment 6•23 years ago
|
||
the page I'm always seeing this on: http://bugzilla.mozilla.org/enter_bug.cgi?product=Browser it works with any text, but I just saw it with: --------8<-------- adslkfjs dlfkjs lksjdf lsdkjf lsdkjf sldkjf sdlkfj sdlkfj sdlkfj sdlkfj sdlkfj sdlkfj sdlkfj sdlkfjsdlkjfslkdf jsdlkfj sldkfj lskdjf lkj --------8<--------
Reporter | ||
Comment 7•23 years ago
|
||
click on the URL link on this bug, click in the empty space at the end of the second line, click ctrl+left arrow (should move back a word) then right arrow (should move forward one character, but on my build, moves to the end of the second word on the first line).
Reporter | ||
Comment 8•23 years ago
|
||
I just tried this with a clean profile and that didn't solve it. I'm going to try building a clean build using the official flags tonight, see if that fixes it.
Reporter | ||
Comment 9•23 years ago
|
||
Ok, I've narrowed it down to my mozconfig file (attached). With the default config options for nightlies it works ok, but with these options I get the bug as described above. I'll keep investigating. I suspect the optimisation options.
Reporter | ||
Comment 11•23 years ago
|
||
Ok, I've worked out what build option is triggering this bug: --enable-ctl
Summary: ctrl+left, right on a wrapped line moves caret to unexpected position → ctrl+left, right on a wrapped line moves caret to unexpected position in a build with --enable-ctl
Comment 13•23 years ago
|
||
If not seen in the default builds, not EDITORBASE. Sorry, have to triage down to a list of things that most people will see.
Whiteboard: [Hixie-P0][Hixie-1.0][caret][EDITORBASE] → [Hixie-P0][Hixie-1.0][caret][EDITORBASE-]
Comment 15•22 years ago
|
||
What does --enable-ctl do?
Whiteboard: [Hixie-P0][Hixie-1.0][caret][EDITORBASE-] → [Hixie-P0][Hixie-1.0][caret][EDITORBASE]
Assignee | ||
Comment 16•22 years ago
|
||
I believe this is a dup of 188288. --enable-ctl enables edit operation by "Display Cell" units instead of by characters. This is particularly relevant to Complex Text Scripts such as Hebrew, Arabic, Thai and Indic languages.
Reporter | ||
Comment 17•22 years ago
|
||
No, bug 188288 is a duplicate of this bug, which was filed almost exactly a year earlier. For the record, the patch in that bug is attachment 115149 [details] [diff] [review]. See also bug 122882, which reports another ctl text editing bug.
Assignee: kin → prabhat.hegde
Status: REOPENED → NEW
Comment 19•22 years ago
|
||
Ian 'Hixie' Hickson wrote: > *** Bug 188288 has been marked as a duplicate of this bug. *** Erm... bug 188288 has a patch for that issue - why did you mark it as a duplicate of this one ?
Comment 20•22 years ago
|
||
editorbase-
Whiteboard: [Hixie-P0][Hixie-1.0][caret][EDITORBASE] → [Hixie-P0][Hixie-1.0][caret][EDITORBASE-]
Updated•18 years ago
|
QA Contact: sujay → editor
Comment 23•3 years ago
|
||
Hey Hixie,
Can you still reproduce this issue or should we close it?
Flags: needinfo?(ian)
Comment 24•3 years ago
|
||
Marking this as Resolved > Incomplete since the last activity on this issue was 14 years ago and it might not be relevant anymore.
Feel free to re-open if the issue is still reproducible on your end in the latest FF versions.
Status: NEW → RESOLVED
Closed: 23 years ago → 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•