Open
Bug 1340846
Opened 9 years ago
Updated 4 years ago
Ctrl Backspace and Ctrl arrow keys don't deleted properly in HTML editor on Windows
Categories
(Core :: DOM: Editor, enhancement, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: deocojo1, Unassigned)
References
Details
(Whiteboard: WONTFIX?)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170125094131
Steps to reproduce:
Press either Ctrl+Backspace, Ctrl+Left Arrow, Ctrl+Right arrow, Ctrl+Shift+Left Arrow, Ctrl+Shift+Right Arrow, in multi-lined text fields.
Windows
Actual results:
All of the keys ignore symbols up to the new word. This is a programmer's IDE thing, that would be great if supported.
Using Ctrl+Right arrow, the break line is followed and lapses from the last word to the start of a new paragraph, regardless of the new line breaks. This is seemingly unexpected due to humans not being able to realize where the carot would go ahead of time.
Ctrl+* keys ignore the existence of punctuation and ctrl+Right will skip it to the next line if on the last word of the paragraph.
Expected results:
All Ctrl+* shortcuts for navigation should be followed to symbols and respect line breaks and carriage returns.
Severity: normal → enhancement
Keywords: 64bit,
correctness
Ctrl+Backspace should deleted one line at a time, and no all new lines and a whole word from the previous paragraph.
Comment 2•9 years ago
|
||
I'm unsure about behaviors that you expect. Could you provide more concrete examples? For example:
Steps to reproduce:
1. Type the following text into the bugzilla comment box.
------------------------------------------------------------------------------
aaa bbb
ccc
------------------------------------------------------------------------------
2. Move the caret to the end of the first line (after "bbb").
3. Press Ctrl+Backspace.
Actual result:
------------------------------------------------------------------------------
aaa
ccc
------------------------------------------------------------------------------
Expected result:
------------------------------------------------------------------------------
ccc
------------------------------------------------------------------------------
This is my understanding of your comment #1. Is this correct?
Component: Untriaged → Editor
Product: Firefox → Core
Comment 3•9 years ago
|
||
<textarea>
Hello
World
</textarea>
Comment 1 sounds like the reporter expects that if the caret is just before "W",
typing Ctrl+Backspace should only delete the empty line above it, not everything
up to and including "Hello".
Firefox, Edge and Chrome are currently compatible in doing that though,
and they are also compatible regarding comment 2.
so I don't think we should change the behavior of Ctrl+Backspace.
Keywords: 64bit,
correctness
Whiteboard: WONTFIX?
Updated•9 years ago
|
Priority: -- → P5
Comment 5•4 years ago
|
||
No, it's not changed in HTMLEditor yet, but the HTMLEditor's behavior conforms to the Windows' rich text editor behavior, so, it's hard to say which behavior is loved by the users...
Severity: normal → S3
Flags: needinfo?(masayuki)
OS: Unspecified → Windows
Hardware: Unspecified → Desktop
Summary: Ctrl Backspace and Ctrl arrow keys don't deleted properly → Ctrl Backspace and Ctrl arrow keys don't deleted properly in HTML editor on Windows
You need to log in
before you can comment on or make changes to this bug.
Description
•