Open Bug 1561746 Opened 6 years ago Updated 5 years ago

When using Macbook Pro 15 2018 with an external keyboard that has an "End" key, the key does not move to end of text when clicked into a text field.

Categories

(Core :: DOM: Editor, enhancement, P3)

Unspecified
macOS
enhancement

Tracking

()

Tracking Status
firefox67 --- affected
firefox68 --- affected
firefox69 --- affected

People

(Reporter: therealsukhjit, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

Choose any text field on Firefox and type text into it.

Actual results:

When pressing 'Home' or 'End' keys do nothing.

Expected results:

The cursor should move to front of the text if "Home" key is pressed and vice versa if "End" key is pressed.

I tested this on iMac OS X 10.14 with FF Nightly 69.0a1(2019-07-01) and FF Release 67.0.4 and I can confirm the issue. I did the same steps in a random google docs document and the keys are working.
NOTE: I also tested on Windows 10 with FF NIghtly 69.0.a1(2019-07-01) and everything works as expected, the issue is not reproducible.

Status: UNCONFIRMED → NEW
Component: Untriaged → Keyboard Navigation
Ever confirmed: true
Version: 67 Branch → Trunk
Component: Keyboard Navigation → Editor
Product: Firefox → Core
OS: Unspecified → macOS
Priority: -- → P3

I guess root cause is that VK_END isn't mapped in https://searchfox.org/mozilla-central/rev/0671407b7b9e3ec1ba96676758b33316f26887a4/dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp#51. If Safari and/or Chrome handles VK_END in editable element, we should map it.

Severity: normal → S3
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.