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

Issue 1109873003: Fix VKEY determination for non-US layouts under Ozone. (Closed)

Created:
5 years, 8 months ago by kpschoedel
Modified:
5 years, 8 months ago
Reviewers:
spang
CC:
chromium-reviews, kalyank, jdduke+watch_chromium.org, ozone-reviews_chromium.org, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2357
Target Ref:
refs/pending/branch-heads/2357
Project:
chromium
Visibility:
Public.

Description

Fix VKEY determination for non-US layouts under Ozone. We attempt to match Windows behaviour for the value of VKEY on a keystroke. Some XKB layouts generate characters for AltGr+key combinations that are not present in the reference (Windows-based) sources, which led to mismtaches in the mappings, and incorrect VKEY values for those keys. To avoid this, we match on any AltGr+key result in cases the reference has none. The corresponding test is revised to use a valid dummy character for those cases, rather than 'NoSymbol'. TBR=spang BUG=480529 Review URL: https://codereview.chromium.org/1100393005 Cr-Commit-Position: refs/heads/master@{#326695} (cherry picked from commit e63d52e7a86a8cb5f6703b1ae98f44be1a85de35) Committed: https://chromium.googlesource.com/chromium/src/+/9653b26842ab4037b88091993b8dcbe0283e40ce

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -68 lines) Patch
M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc View 13 chunks +37 lines, -49 lines 0 comments Download
M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc View 14 chunks +19 lines, -19 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
kpschoedel
5 years, 8 months ago (2015-04-27 17:25:19 UTC) #1
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
9653b26842ab4037b88091993b8dcbe0283e40ce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698