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

Issue 872213002: [Ozone] Fix ui::Event::GetCharacter() when Ctrl is pressed (Closed)

Created:
5 years, 11 months ago by pkotwicz
Modified:
5 years, 11 months ago
Reviewers:
kpschoedel, spang
CC:
chromium-reviews, jdduke+watch_chromium.org, 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

[Ozone] Fix ui::Event::GetCharacter() when Ctrl is pressed On X11, ui::Event::GetCharacter() returns 0x0 when the correct return value when control is pressed is unclear (e.g. Ctrl+[). This CL makes Ozone follow the same behavior. BUG=450849 TEST=Manual, see bug Committed: https://crrev.com/15b15abda2de487cac0a8ddd9e06f35d88d52139 Cr-Commit-Position: refs/heads/master@{#313366}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
pkotwicz
kpschoedel@ PTAL
5 years, 11 months ago (2015-01-25 01:04:17 UTC) #2
kpschoedel
https://codereview.chromium.org/872213002/diff/1/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/872213002/diff/1/ui/events/event.cc#newcode783 ui/events/event.cc:783: #elif defined(USE_OZONE) This code isn't run for normal key ...
5 years, 11 months ago (2015-01-26 19:34:22 UTC) #3
pkotwicz
kpschoedel@ can you please take another look? I ended up calling GetCharacterFromKeyCode() from XkbKeyboardLayoutEngine::Lookup() I ...
5 years, 11 months ago (2015-01-27 20:43:23 UTC) #5
kpschoedel
lgtm
5 years, 11 months ago (2015-01-27 20:48:43 UTC) #8
kpschoedel
+spang@ for ownership
5 years, 11 months ago (2015-01-27 20:50:06 UTC) #11
spang
rubber stamp lgtm
5 years, 11 months ago (2015-01-27 20:51:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/872213002/60001
5 years, 11 months ago (2015-01-27 21:01:27 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 11 months ago (2015-01-27 21:52:49 UTC) #15
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 21:55:04 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/15b15abda2de487cac0a8ddd9e06f35d88d52139
Cr-Commit-Position: refs/heads/master@{#313366}

Powered by Google App Engine
This is Rietveld 408576698