Merge lp:~michael-sheldon/ubuntu-keyboard/fix-1385518-rtm into lp:ubuntu-keyboard/rtm-14.09

Proposed by Michael Sheldon
Status: Merged
Approved by: Bill Filler
Approved revision: 237
Merged at revision: 238
Proposed branch: lp:~michael-sheldon/ubuntu-keyboard/fix-1385518-rtm
Merge into: lp:ubuntu-keyboard/rtm-14.09
Diff against target: 15 lines (+6/-0)
1 file modified
qml/keys/CharKey.qml (+6/-0)
To merge this branch: bzr merge lp:~michael-sheldon/ubuntu-keyboard/fix-1385518-rtm
Reviewer Review Type Date Requested Status
Bill Filler (community) Approve
Review via email: mp+243610@code.launchpad.net

Commit message

Fire release event when backspace key is swiped out of to stop the backspace getting stuck.

Description of the change

Fire release event when backspace key is swiped out of to stop the backspace getting stuck.

To post a comment you must log in.
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Are there any related MPs required for this MP to build/function as expected? Please list.

 * No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)

 * In sync with rtm-14.09 branch

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?

 * Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/ubuntu-keyboard) on device or emulator?

 * Yes, except for last test in word prediction section as this isn't implemented in the 14.09 branch.

If you changed the UI, was the change specified/approved by design?

 * No change

If you changed UI labels, did you update the pot file?

 * No change

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?

 * No change

Revision history for this message
Bill Filler (bfiller) wrote :

approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/keys/CharKey.qml'
2--- qml/keys/CharKey.qml 2014-10-07 15:44:46 +0000
3+++ qml/keys/CharKey.qml 2014-12-04 01:11:12 +0000
4@@ -223,6 +223,12 @@
5 panel.state = "CHARACTERS";
6 }
7 event_handler.onKeyReleased(keyToSend, action);
8+ } else if (action == "backspace") {
9+ // Send release from backspace if we're swiped out since
10+ // backspace activates on press and deactivates on release
11+ // to allow for repeated backspaces, unlike normal keys
12+ // which activate on release.
13+ event_handler.onKeyReleased(valueToSubmit, action);
14 }
15 }
16

Subscribers

People subscribed via source and target branches