Closed
Bug 88164
Opened 23 years ago
Closed 23 years ago
Plaintext editor keyboard navigation: Many serious issues involving stuck cursor
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: jst, Assigned: mjudge)
References
()
Details
(Keywords: access, testcase, Whiteboard: FIXINHAND,PDT+)
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Try typing a few lines in a description field in bugzilla, or in plaintext
mailcompose and then move to the beginning for any line except the first line
and hit the left arrow key, nothing happens, the cursor should move the the end
of the previous line, same goes if you go to the end of any line except the last
line and press the right arrow key one would expect the cursor to move to the
beginning of the next line, but nothing happens.
This is a pathetic regression that should've been caught by pre-checkin tests,
but apparently wasn't.
Stopship! Must be fixed for rtm! (this is on the trunk, btw, todays nightly build).
Reporter | ||
Updated•23 years ago
|
Comment 1•23 years ago
|
||
removing nsBranch keyword until it is confirmed
using a trunk build from 2001062704 on win98, the arrow keys function correctly
in plaintext mail compose and in plaintext editor
what build were you using and what platform, are you using a debug build or opt
build, are you pulling from the trunk or the branch
Reporter | ||
Comment 3•23 years ago
|
||
beppe, I'm using a commercial nightly build (also 2001062704) on Win2k and the
arrow keys are definately not working, in any plaintext editing. I also see the
cursor get stuck in the middle of lines sometime when moving sideways with the
keyboard. Adding nsBranch keyword back until it's confirmed that this does *not*
happen on the branch, shipping with this bug would be disasterous.
Keywords: nsBranch
Comment 4•23 years ago
|
||
nsBranch is only added when it is approved for checking in, please do not readd
that keyword
Keywords: nsBranch
Reporter | ||
Comment 5•23 years ago
|
||
Beppe, please accept my appologies for re-adding that keyword, I'm lost in this
forest of keywords.
Btw, this also happens with todays nightly builds on Win2k.
Comment 6•23 years ago
|
||
cc akkana
akkana--this sounds like the bug you noticed about control-w (delete previous
word) not going to previous line.
Comment 7•23 years ago
|
||
Yes, I see this on Linux too, I agree that it's extremely annoying, and I
suspect Kathy's right that it's related to delete-word not deleting past the
beginning of lines (the two problems appeared at about the same time). I'd take
a WAG that it might be related to recent edit rules changes.
OS: Windows 2000 → All
Hardware: PC → All
Comment 8•23 years ago
|
||
I can confirm this on branch mozilla builds 062903 on win2K, linuxRH6.1 and Mac
OS9.1
This affects right and left arrow in plaintext fields like the Bugzilla
Additional Comments box. The arrow works if the line was wrapped but not if
broken by a return/enter key.
Comment 9•23 years ago
|
||
assigning to mike, he has other navigation issues, and cc jfrancis
Assignee: beppe → mjudge
Reporter | ||
Comment 10•23 years ago
|
||
This should IMO be a mozilla0.9.2 stopper, and absolutely a rtm stopper.
Comment 11•23 years ago
|
||
yes I see this also using 6/29 builds...very easy to reproduce:
1) launch netscape
2) jump to Bugzilla page
3) enter a new bug report
4) in description field, enter two lines of text
5) go to beginning of second line of text
6) hit left arrrow
it doesn't go to end of 1st line.
also end of 1st line of text, hit right arrow, doesn't go to beginning
of second line.
Comment 12•23 years ago
|
||
manager approval for checkin to trunk and branch, adding nsBranch keyword to
denote that
Keywords: nsBranch
Assignee | ||
Comment 13•23 years ago
|
||
here is a fix. backing out earlier test for BIDI check. this allows up to
operate properly. the wrapping bug is also gone it appears probably from a
different checkin on nsPresShell::CompleteMove. i will keep testing for that.
but this at least stops the real real bad bug.
Status: NEW → ASSIGNED
Whiteboard: FIXINHAND
Assignee | ||
Comment 14•23 years ago
|
||
Comment 15•23 years ago
|
||
*** Bug 88549 has been marked as a duplicate of this bug. ***
Comment 16•23 years ago
|
||
Does typing lots of lines, pressing end to get to the last letter of the line,
and not being able to hit the left key take part of this bug?
I have got bug 88710 telling this
Please mark as dup or new as adequate
Assignee | ||
Comment 17•23 years ago
|
||
*** Bug 88710 has been marked as a duplicate of this bug. ***
Comment 18•23 years ago
|
||
*** Bug 88871 has been marked as a duplicate of this bug. ***
Comment 19•23 years ago
|
||
*** Bug 88720 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
Bug 88909 reports similar problems about the Mailnews Composer. Is this the same
control ? (If yes then this would be the 4th dupe today)
Comment 21•23 years ago
|
||
Adding access, nsbeta1, testcase.
Summary changed from: "Plaintext editor keyboard navigation is hosed"
Keyboard problems seen in testcase:
1. Left arrow doesn't move left to end of previous line
2. After pressing "End" key, cursor cannot be moved left
3. After typing letters at the end of the line, then clicking to move the cursor
into the X's, the cursor cannot be moved into the new letters.
4. In a similar situation, after clicking into the new letters the cursor cannot
be moved into the X's.
5. For the record, this isn't a problem but when pressing "End" at the end of a
line the cursor will move one or two pixels to the right. This also happens when
I press "down" at the end of the last line.
6. When pasting a two-line string like "a\r\nb" at the end of a line after doing
that one-pixel trick, the "a" will be pasted at the start of the next line even
though it should be pasted where the cursor is located.
7. Also, after doing that one-pixel trick, sometimes pressing the "Enter" key
will insert TWO newlines instead of just one.
Once the content of the textbox is long enough to require a scrollbar, keyboard
navigation sometimes behaves itself, but not always.
If it weren't for the mouse workaround, I'd add dataloss. Keyboard-only users
are faced with an accessibility problem.
Comment 22•23 years ago
|
||
*** Bug 88909 has been marked as a duplicate of this bug. ***
Comment 23•23 years ago
|
||
*** Bug 88635 has been marked as a duplicate of this bug. ***
Comment 24•23 years ago
|
||
*** Bug 88842 has been marked as a duplicate of this bug. ***
Comment 25•23 years ago
|
||
*** Bug 89004 has been marked as a duplicate of this bug. ***
Comment 26•23 years ago
|
||
*** Bug 89050 has been marked as a duplicate of this bug. ***
Comment 27•23 years ago
|
||
we should go ahead and get this on the branch as soon as this is ready.
Whiteboard: FIXINHAND → FIXINHAND,PDT+
Comment 28•23 years ago
|
||
*** Bug 89122 has been marked as a duplicate of this bug. ***
Comment 29•23 years ago
|
||
*** Bug 89140 has been marked as a duplicate of this bug. ***
Comment 30•23 years ago
|
||
I would like to up this to a P1. This is a serious accessibility problem.
Anyone disagree?
Comment 31•23 years ago
|
||
Comment 32•23 years ago
|
||
*** Bug 89316 has been marked as a duplicate of this bug. ***
Comment 33•23 years ago
|
||
*** Bug 89370 has been marked as a duplicate of this bug. ***
Comment 34•23 years ago
|
||
*** Bug 88756 has been marked as a duplicate of this bug. ***
Comment 35•23 years ago
|
||
*** Bug 89334 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 36•23 years ago
|
||
backed out. all is gut
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 37•23 years ago
|
||
*** Bug 89338 has been marked as a duplicate of this bug. ***
Comment 38•23 years ago
|
||
*** Bug 89571 has been marked as a duplicate of this bug. ***
Comment 39•23 years ago
|
||
*** Bug 89594 has been marked as a duplicate of this bug. ***
Comment 40•23 years ago
|
||
*** Bug 89608 has been marked as a duplicate of this bug. ***
Comment 41•23 years ago
|
||
Verified 2001070604 Win98
Comment 42•23 years ago
|
||
*** Bug 89729 has been marked as a duplicate of this bug. ***
Comment 43•23 years ago
|
||
*** Bug 89821 has been marked as a duplicate of this bug. ***
Comment 44•23 years ago
|
||
verified on 7/9 trunk....will verify on branch and add comments here.
Comment 45•23 years ago
|
||
*** Bug 88047 has been marked as a duplicate of this bug. ***
Comment 46•23 years ago
|
||
verified on 7/9 branch and latest trunk.
marking verified.
Status: RESOLVED → VERIFIED
Comment 47•23 years ago
|
||
*** Bug 90121 has been marked as a duplicate of this bug. ***
Comment 48•23 years ago
|
||
*** Bug 90227 has been marked as a duplicate of this bug. ***
Comment 49•23 years ago
|
||
*** Bug 90265 has been marked as a duplicate of this bug. ***
Comment 50•23 years ago
|
||
*** Bug 90277 has been marked as a duplicate of this bug. ***
Comment 51•23 years ago
|
||
*** Bug 90291 has been marked as a duplicate of this bug. ***
Comment 52•23 years ago
|
||
*** Bug 90344 has been marked as a duplicate of this bug. ***
Comment 53•23 years ago
|
||
*** Bug 90141 has been marked as a duplicate of this bug. ***
Comment 54•23 years ago
|
||
(Build ID 2001071108 - Linux)
Is it the expected behaviour that moving the caret right to the end of the text
area wraps to the beginning of the area? Just hold down cursor right to
reproduce this.
Comment 55•23 years ago
|
||
*** Bug 90517 has been marked as a duplicate of this bug. ***
Comment 56•23 years ago
|
||
*** Bug 90632 has been marked as a duplicate of this bug. ***
Comment 57•23 years ago
|
||
Michael Schwendt: moving the caret right to the end of the text
area wraps to the beginning of the area is bug 82151.
Comment 58•23 years ago
|
||
*** Bug 90656 has been marked as a duplicate of this bug. ***
Comment 59•23 years ago
|
||
*** Bug 90848 has been marked as a duplicate of this bug. ***
Comment 60•23 years ago
|
||
*** Bug 90935 has been marked as a duplicate of this bug. ***
Comment 61•23 years ago
|
||
*** Bug 91262 has been marked as a duplicate of this bug. ***
Comment 62•23 years ago
|
||
*** Bug 91976 has been marked as a duplicate of this bug. ***
Comment 63•23 years ago
|
||
*** Bug 92038 has been marked as a duplicate of this bug. ***
Comment 64•23 years ago
|
||
Editor is much better on build 2001073003 but still at least 2 problems:
Shift right does not always move cursor correctly.
1. Type a line of text with spaces
2. Hit "end"
3. Append a space and some text to the line.
4. Hit "home"
5. Hit shift right arrow repeatedly.
Cursor will move to beginning of each word, which is correct.
But on last word before more text was appended, cursor will move to
original end of line, which is wrong.
Editor still has other probs. While editing this text,
changing "cursor will move to end of last word on original line"
to "cursor will also move to original end of line" caused
that text to vanish from the display. Text was still present,
just not displayed. Had to add and delete some
junk to get the display back.
Tested build 2001073003 Windows version.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 65•23 years ago
|
||
Mistake in editor bug report on build 2001073003:
The key that moves to beginning of next word is
ctrl right arrow not shift right arrow
Comment 66•23 years ago
|
||
Brent, let's not morph this bug about stuck carets into something different.
Let's file a new bug on what you are now seeing.
Remarking FIXED.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 67•23 years ago
|
||
For those interested, I filed bug 92850 for the issues Brent mentioned above.
Comment 68•23 years ago
|
||
*** Bug 93250 has been marked as a duplicate of this bug. ***
Comment 69•23 years ago
|
||
I can see one little annoying bug remaining here.
1) Go to the bottom of the text
2) Place the cursor at the end of that line
3) Press the down arrow. (It should stay at the last line, this is ok)
4) Press enter.
The cursor goes down 2 positions down instead of 1 as you would expect.
Comment 70•23 years ago
|
||
I have also noticed some frustrating behaviour when navigating around quoted
text. I'll report details when this happens again. This bug is definetely stil
not fixed.
Comment 71•23 years ago
|
||
If you type enough text into a field to warrant a scrollbar, hitting the right
arrow key takes you all the way to the beginning of your typed in text. The
'normal' behavior would be to have the cursor stop and not wrap to the beginning
of the entered text.
If, however, people like this action as an enhancement, then I would pose that
hitting the left arrow key at the beginning of the text should take you to the
end of the text (reversing the right arrow).
I use the right arrow key a lot in determining if I am at the absolute end of a
line of text. When entering lengthy text into a text box under Mozilla, I am
constantly annoyed when I get sent way back to the beginning with no way to undo
that action.
I'm not sure if this is because of this bug. If not, perhaps a new bug report
should be filed...
Comment 72•23 years ago
|
||
Kevin: that's a bug (or, at least, I hope so). I think someone filed it
recently, but I'm not sure and don't have the number offhand. You might check
mjudge's and anthonyd's lists. Or file a new one.
You need to log in
before you can comment on or make changes to this bug.
Description
•