New issue
Advanced search Search tips

Issue 896907 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature

Blocked on:
issue 899333
issue 898231



Sign in to add a comment

Please provide more customizable key bindings for ChromeOS

Project Member Reported by kbr@chromium.org, Oct 18

Issue description

Google Chrome	71.0.3578.8 (Official Build) dev (64-bit)
Revision	a2c2b8f674ee3b7372bc87891e04a14a0e51e812-refs/branch-heads/3578@{#14}
Platform	11151.4.0 (Official Build) dev-channel eve

In using the Pixelbook over the past few weeks the following key bindings would be very helpful:

 - Go to beginning / end of line without selecting text
 - Ability to remap the assistant key
 - Ability to type an em-dash (option-dash on a MacBook Pro)
 - Better ability to type accents from the US keyboard without switching to US-INTL. (Like "option-e e" types "é" on a MacBook Pro)

Thanks for considering this.

 
Cc: afakhry@chromium.org
ccing Ahmed that worked on input and can triage.

Thank you for the suggestions!
Cc: ovanieva@chromium.org shuchen@chromium.org kpschoedel@chromium.org
Owner: ovanieva@chromium.org
Status: Assigned (was: Untriaged)
>  - Go to beginning / end of line without selecting text
   We already support this: Search+Left => Home, Search+Right => End.  

>  - Ability to remap the assistant key
   We don't support this, and I believe there are no plans to do so. +ovanieva@

>  - Ability to type an em-dash (option-dash on a MacBook Pro)
>  - Better ability to type accents from the US keyboard without switching to US-INTL. (Like "option-e e" types "é" on a MacBook Pro)
   I don't know what these are, sorry. +kpschoedel@ and +shuchen@ who probably know.
For accents, your best bet is probably the “US Extended” layout, which has the dead keys in the AltGraph layer (right Alt ≈ Mac Option). The layout is nothing like Mac US, though, e.g. [AltGraph+' e] for [é].

None of the current English QWERTY layouts have emdash.

XKB does include a Mac-like layout, but Chrome OS does not expose it. Doing so would be technically straightforward (similar to https://codereview.chromium.org/1411603005).
>>  - Go to beginning / end of line without selecting text
>   We already support this: Search+Left => Home, Search+Right => End.  

Thanks. This shortcut doesn't seem to be listed in the "View keyboard shortcuts" window. It belongs in the "Text Editing" section next to "Select text to the beginning / end of the line". Could it please be added there?


>>  - Ability to remap the assistant key
>   We don't support this, and I believe there are no plans to do so. +ovanieva@

Understood that there may be reasons to not support it, but I'm putting in a vote for enabling remapping of it. There is no technical reason not to.


> For accents, your best bet is probably the “US Extended” layout, which has
> the dead keys in the AltGraph layer (right Alt ≈ Mac Option). The layout is
> nothing like Mac US, though, e.g. [AltGraph+' e] for [é].

Thanks! Didn't know about that. The US Extended keyboard layout looks like it'll work well. Looks like just AltGraph+e also works to produce é.


> None of the current English QWERTY layouts have emdash.

Would it be possible to add that to the US keyboard layout? I use it all the time and would prefer to not start using "--" as a replacement.

One more request: could you please allow remapping of shortcuts? In particular I would like to be able to customize the "next tab" and "previous tab" shortcuts. On macOS I used Command-Option-Left and Right. I'm getting wrist strain after switching to ChromeOS's Ctrl-Tab and Ctrl-Shift-Tab shortcuts and would like to be able to remap them to something else. Thanks.

Cc: wutao@chromium.org
>>>  - Go to beginning / end of line without selecting text
>>   We already support this: Search+Left => Home, Search+Right => End.  

> Thanks. This shortcut doesn't seem to be listed in the "View keyboard shortcuts" window. It belongs in the "Text Editing" section next to "Select text to the beginning / end of the line". Could it please be added there?

+wutao@
Labels: -Pri-3 Pri-2
Upgrading to P2 RFE because the inability to customize the system's shortcuts is causing me wrist strain.

#4 — I doubt changing an existing layout would fly, as it would annoy anyone used to the current mapping. I think adding a “US International (Mac)” option would be a good idea, as we already have a “US International (PC)” variant that emulates Windows, and that took substantially more work than a Mac-like variant would, given that the XKB support is already present. Perhaps file a separate issue for that?

Blockedon: 898231
Thanks - filed  Issue 898231  regarding the Mac International keyboard layout.

The ability to customize the keys for the system's shortcuts is a more pressing matter. I'd really like to be able to remap shortcuts like "previous tab" and "next tab" to avoid wrist strain. Should I file a separate request for enhancement about that?

Project Member

Comment 11 by bugdroid1@chromium.org, Oct 24

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/749181de7b7483fe9e3a9f124a68e341d8c2d80a

commit 749181de7b7483fe9e3a9f124a68e341d8c2d80a
Author: wutao <wutao@chromium.org>
Date: Wed Oct 24 21:10:16 2018

ksv: Add two shortcuts

This patch adds two shortcuts using `search' to go to beginning/end of
document.

Bug: 896907
Test: manual.
Change-Id: I517f32b89e4e0ea5ad31d54e18f44d591e34531b
Reviewed-on: https://chromium-review.googlesource.com/c/1296548
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Tao Wu <wutao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602452}
[modify] https://crrev.com/749181de7b7483fe9e3a9f124a68e341d8c2d80a/ash/components/shortcut_viewer/keyboard_shortcut_viewer_metadata.cc

cl in #11 added missing shortcuts in #6.
Thanks, but had two comments on https://chromium-review.googlesource.com/1296548 - it looked like they were supposed to say "beginning/end of line" rather than "beginning/end of document".

Blockedon: 899333
Have split off the request for enhancement about being able to remap keyboard shortcuts like "Next tab" and "Previous tab" into Issue 899333.

Project Member

Comment 16 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b76d671ac867eb60e15b2e4797877b67f9e44b90

commit b76d671ac867eb60e15b2e4797877b67f9e44b90
Author: wutao <wutao@chromium.org>
Date: Tue Oct 30 20:55:02 2018

ksv: fix shortcut description

This cl fixes two descriptions of shortcuts.

Bug: 896907
Test: manual.
Change-Id: I035a4cab3e8315437111f0f72bcdf3bf681e2876
Reviewed-on: https://chromium-review.googlesource.com/c/1298475
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Tao Wu <wutao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604009}
[modify] https://crrev.com/b76d671ac867eb60e15b2e4797877b67f9e44b90/ash/components/shortcut_viewer/keyboard_shortcut_viewer_metadata.cc
[modify] https://crrev.com/b76d671ac867eb60e15b2e4797877b67f9e44b90/ash/components/shortcut_viewer_strings.grdp
[modify] https://crrev.com/b76d671ac867eb60e15b2e4797877b67f9e44b90/tools/gritsettings/resource_ids

One way to do this would be to allow chrome.input.ime extensions to handle keystrokes which don't occur in a text input field.
As a longtime Mac user who switched exclusively to Chrome OS while a Googler, I greatly miss the built-in emacs-style shortcuts, particularly ctrl+a and ctrl+e to go to the beginning and end of a line. Search+Left and Search+Right are great to know about, but can't be done with one hand. The ability to customize this would be nice

Sign in to add a comment