New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 733653 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

System keystroke configuration no longer honored by Chrome in input boxes

Project Member Reported by jfincher@google.com, Jun 15 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
0. Configure your Linux machine to use MacOS/Emacs keystrokes for input boxes.  One of more of these will do the trick:

Put this in your .gtkrc-2.0:

    gtk-key-theme-name = "Emacs"

Run these commands:

    $ gconftool-2 --set /desktop/gnome/interface/gtk_key_theme Emacs --type string
    $ gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"
    $ gsettings set org.cinnamon.desktop.interface gtk-key-theme "Emacs"

1. Upgrade from 58.0.3029.110 to 59.0.3071.86.  The bug begins somewhere between those versions (left side exclusive, right side inclusive).

2. Type any of the following in input boxes:

Ctrl-A (should go to beginning of line, instead selects all)
Ctrl-E (should go to end of line, instead triggers the useless "Search Google" behavior)
Ctrl-F (should go forward one character, instead opens a "Find in this page" box)
Ctrl-B (should go backward one character, instead does nothing)

What is the expected behavior?

Chrome has respected the system configuration for these keystrokes for the better part of a decade, if not since it was released in 2008; this is a major behavioral regression from my perspective.

What went wrong?
I don't know.  Chrome just stopped respecting the configuration of system input boxes.

Did this work before? Yes 58.0.3029.110 (latest known)

Chrome version: 59.0.3071.86  Channel: n/a
OS Version: Goobuntu
Flash Version: ?
 

Comment 1 by jfincher@google.com, Jun 15 2017

Other keystrokes that are no longer honored:

Ctrl-W (should delete word, now closes the window, resulting in data loss)
Meta-W (should go backward one word, now does nothing)
Meta-F (should go forward one word, now does nothing)


Comment 2 by hdodda@chromium.org, Jun 16 2017

Cc: hdodda@chromium.org
Labels: TE-NeedsTriageHelp
As TE doesn't have enough technical knowledge to add keystrokes , requesting help to triage the issue and adding respective label.

Thanks!
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 12 2017

Labels: Hotlist-Google
Cc: timbrown@chromium.org
We switched to GTK+ 3 in 59 which is probably why this stopped working. According to the Arch Wiki[1], you need to add the following to ~/.config/gtk-3.0/settings.ini:

  [Settings]
  gtk-key-theme-name = Emacs

And then run 'gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"'.

Please give that a go and let me know if it works.


[1] https://wiki.archlinux.org/index.php/GTK%2B#Emacs_keybindings

Comment 5 by jfincher@google.com, Jul 18 2017

Thanks, Tim!  This worked perfectly.
Status: WontFix (was: Unconfirmed)
Great! Glad to hear it.

Closing this bug as there isn't anything else to do.

Sign in to add a comment