Text Editing Keyboard Shortcuts Don't Work
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: admin, Assigned: m_kato)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
I find Firefox for Android very difficult to use both on my software keyboard that has easy access to the control key (messagease) and when I use a bluetooth or other hardware keyboard because text editing shortcuts that work in every other Android application I have tried simply do not function. (It is also extremely frustrating and inconsistent to do the gesture/touchscreen equivalent of these functions, but that is perhaps another issue.)
I frequently use shortcuts such as Ctrl+A for select all, Ctrl+C for copy, Ctrl+V for paste, and Ctrl+X for cut. Also ctrl+backspace does not even do a backspace, let alone delete the previous word. I do not have a physical keyboard handy to test, but this may also happen with things like ctrl/alt plus cursors and the home/end keys for moving the cursor around a body of text.
Actual results:
Keyboard shortcuts do nothing and tend to swallow the input, i.e. ctrl+backspace will not even backspace.
Expected results:
The various standard text editing functions should happen, such as copy, paste, cut, select all, delete last word, move cursor to beginning of paragraph, etc.
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Keyboard shortcuts do nothing and tend to swallow the input, i.e. ctrl+backspace will not even backspace.
Does Chrome for Android work it well?
Although editbox (and contenteditable) 's keyboard shortcut is defined in https://searchfox.org/mozilla-central/source/dom/events/android/ShortcutKeyDefinitions.cpp, we can add it if it is assigned in Chrome (and/or Android's standard editbox).
Bug 1417352 is browser level shortcut (ctrl+l should be handled by browser, not Gecko).
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
Yes it works fine in Chrome and any other Android application I've ever used with textareas or editable text boxes.
Assignee | ||
Comment 4•5 years ago
•
|
||
https://android.googlesource.com/platform/frameworks/base/+/f2b233d44c796ceab3048a0130682fb5da3db557
commit f2b233d44c796ceab3048a0130682fb5da3db557
Author: Seigo Nonaka <nona@google.com>
Date: Tue Apr 7 21:02:13 2015 +0900
Introduce Ctrl+Backspace/Ctrl+ForwardDelete shortcut.
Ctrl+Backspace deletes preceding one word and Ctrl+ForwardDelete delets
following one word.
Used Chrome's implementation/behvior as a reference.
Bug: 17810742
Change-Id: I7b2ca515b2f017e457f7104ec7b8e7473ca4e081
Comment 5•5 years ago
•
|
||
P3 for now.
hi Chenxia, please feel free to let us know if we should have a higher priority for this issue for android, from your team's point of view.
Comment 6•5 years ago
|
||
Thanks for the heads up! We will be replacing Fennec (the current Firefox for Android in the Google Play Store) and are currently focusing all our efforts on Firefox Preview. If you find this is also a problem on Firefox Preview, please file a bug in our repo: https://github.com/mozilla-mobile/fenix
Thank you!
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
According to [*1], Android's text control now supports ctrl+backspace and
ctrl+delete shortcut. So we should support it since Chrome already have this.
*1 https://android.googlesource.com/platform/frameworks/base/+/f2b233d44c796ceab3048a0130682fb5da3db557
Reporter | ||
Comment 8•5 years ago
|
||
Note that Firefox Preview does not work with text editing shortcuts, either
Comment 10•5 years ago
|
||
bugherder |
Description
•