Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Issue 1550953002: Keyboard events with keypad had wrong keycodes on ozone. (Closed)

Created:
4 years, 11 months ago by dtapuska
Modified:
4 years, 11 months ago
Reviewers:
sadrul, Wez, kpschoedel
CC:
chromium-reviews, darin-cc_chromium.org, jam, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Keyboard events with keypad had wrong keycodes on ozone. Ozone is generating virtual keys not like Windows and X11 are generating them. The removal of some code undercovered the issue. Add back some of the partial conversion code (numpad conversions only) to address the issue for the users. Whether numpad keys are "located" or not needs to be re-evaluated and all platforms made consistent. Documentation claims that numpad events are located but the platforms generate them to be consistent with windows. Ozone seemed to be the only platform that didn't generate them. Ideally the fix should be in the xkb_keyboard_layout_engine.cc part of ozone but for simplicity sake and that this needs to be backported to M48; restore some of https://codereview.chromium.org/1308063007 CL with respect to rewrite numpads based events. BUG=570388 Committed: https://crrev.com/f3c39ae68b3c462a7918b8ae092e6d322c418047 Cr-Commit-Position: refs/heads/master@{#367418}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M content/browser/renderer_host/web_input_event_aura.cc View 2 chunks +6 lines, -1 line 0 comments Download
M ui/events/keycodes/keyboard_code_conversion.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/keycodes/keyboard_code_conversion.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
dtapuska
I've created issue https://code.google.com/p/chromium/issues/detail?id=572942 to cover the actual bug with ozone. But the ask was ...
4 years, 11 months ago (2015-12-29 17:56:11 UTC) #5
Wez
On 2015/12/29 at 17:56:11, dtapuska wrote: > I've created issue https://code.google.com/p/chromium/issues/detail?id=572942 > > to cover ...
4 years, 11 months ago (2016-01-04 19:52:27 UTC) #6
Wez
On 2016/01/04 at 19:52:27, Wez wrote: > On 2015/12/29 at 17:56:11, dtapuska wrote: > > ...
4 years, 11 months ago (2016-01-04 19:53:01 UTC) #7
sadrul
stamp lgtm
4 years, 11 months ago (2016-01-04 20:02:29 UTC) #8
dtapuska
On 2016/01/04 19:52:27, Wez wrote: > On 2015/12/29 at 17:56:11, dtapuska wrote: > > I've ...
4 years, 11 months ago (2016-01-04 20:09:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1550953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1550953002/1
4 years, 11 months ago (2016-01-04 20:54:42 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-04 23:57:03 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 23:58:38 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f3c39ae68b3c462a7918b8ae092e6d322c418047
Cr-Commit-Position: refs/heads/master@{#367418}

Powered by Google App Engine
This is Rietveld 408576698