Merge lp://qastaging/~vanvugt/unity/fix-953089 into lp://qastaging/unity

Proposed by Daniel van Vugt
Status: Superseded
Proposed branch: lp://qastaging/~vanvugt/unity/fix-953089
Merge into: lp://qastaging/unity
Diff against target: 206 lines (+42/-34)
5 files modified
manual-tests/Tapping.txt (+20/-0)
plugins/unityshell/src/LauncherController.cpp (+9/-25)
plugins/unityshell/src/LauncherController.h (+2/-2)
plugins/unityshell/src/unityshell.cpp (+10/-6)
plugins/unityshell/src/unityshell.h (+1/-1)
To merge this branch: bzr merge lp://qastaging/~vanvugt/unity/fix-953089
Reviewer Review Type Date Requested Status
Mirco Müller (community) Needs Fixing
Review via email: mp+97797@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2012-03-17.

Description of the change

Use more accurate timing to detect key taps (for Super or Alt). The previous
timing methods were failing on slow or busy systems, causing taps to be
misdetected and ignored. Instead use the timestamps that come with each
keypress/release event. (LP: #953089)

To post a comment you must log in.
Revision history for this message
Mirco Müller (macslow) wrote :

Code looks good, tested it myself by loading up my CPU with compiling-tasks in the bg... the response from <Super> and <Alt> feel solid, but a manual-test would be needed to help guide the QA-people be able to verify this fix. I'd say one can "simulate" a busy system with doing a CPU-hogging "make -j4" of e.g. nux or unity in the background, while running unity itself and testing the response-behaviour for <Super> and <Alt>.

With a manual-test in place, I'm gladly marking this as approved.

See the text-files under unity/manual-test to get an idea, what a manual-test is made up of.

review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.