Merge lp:~saviq/unity8/workaround-lp1238417 into lp:unity8

Proposed by Michał Sawicz
Status: Merged
Approved by: Michael Zanetti
Approved revision: 436
Merged at revision: 439
Proposed branch: lp:~saviq/unity8/workaround-lp1238417
Merge into: lp:unity8
Diff against target: 15 lines (+6/-0)
1 file modified
tests/autopilot/unity8/shell/tests/__init__.py (+6/-0)
To merge this branch: bzr merge lp:~saviq/unity8/workaround-lp1238417
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Michael Zanetti (community) Approve
Review via email: mp+190574@code.launchpad.net

Commit message

Work around Mir not delivering input to shell after restart, if the device isn't reinitialized.

To post a comment you must log in.
Revision history for this message
Michael Zanetti (mzanetti) wrote :

tested, works

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/unity8/shell/tests/__init__.py'
2--- tests/autopilot/unity8/shell/tests/__init__.py 2013-10-09 20:57:00 +0000
3+++ tests/autopilot/unity8/shell/tests/__init__.py 2013-10-11 10:05:22 +0000
4@@ -87,6 +87,12 @@
5 self._proxy = None
6 self._lightdm_mock_type = None
7 self._qml_mock_enabled = True
8+
9+ #### FIXME: This is a work around re: lp:1238417 ####
10+ from autopilot.input import _uinput
11+ _uinput._touch_device = _uinput.create_touch_device()
12+ ####
13+
14 self.touch = Touch.create()
15 self._setup_display_details()
16

Subscribers

People subscribed via source and target branches