qtubuntu sends wrong text as part of QKeyEvent
Bug #1664610 reported by
Albert Astals Cid
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Andreas Pokorny | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
qtubuntu (Ubuntu) |
In Progress
|
Medium
|
Andreas Pokorny |
Bug Description
When using Unity7 or Plasma a key event created by Ctrl+C is
QKeyEvent(
But Unity8+ qtubuntu send to the application
QKeyEvent(
This is most likely because QMirClientInput
This breaks for example Konsole that expects the correct text to be sent.
Related branches
lp://staging/~andreas-pokorny/mir/fix-1664610
- Mir CI Bot: Approve (continuous-integration)
- Daniel van Vugt: Approve
- Brandon Schaefer (community): Approve
-
Diff: 392 lines (+187/-12)12 files modifiedinclude/client/mir_toolkit/events/input/keyboard_event.h (+12/-0)
include/test/mir/test/event_matchers.h (+12/-0)
src/capnproto/mir_event.capnp (+1/-0)
src/client/input/input_event.cpp (+5/-0)
src/client/input/xkb_mapper.cpp (+39/-7)
src/client/symbols.map (+1/-0)
src/common/events/keyboard_event.cpp (+8/-0)
src/common/symbols.map (+5/-3)
src/include/common/mir/events/keyboard_event.h (+3/-0)
src/include/common/mir/input/xkb_mapper.h (+3/-2)
tests/acceptance-tests/test_client_input.cpp (+37/-0)
tests/unit-tests/client/input/test_xkb_mapper.cpp (+61/-0)
description: | updated |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in qtubuntu (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
Changed in mir: | |
status: | Confirmed → In Progress |
Changed in qtubuntu (Ubuntu): | |
status: | New → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Mir either has to expose the xkb_state (which we currently do not - and might be only on the server) or provide the keysym text directly with the event.