** Description changed:

  [Impact]
- TBD
+ Proper usage of grail gestures requires processing gestures only after they 
have finished "construction". Software, such as Unity, waits for this event in 
order to handle gestures properly. When the event does not occur, a grail 
gesture may be left unaccepted and unrejected, which may cause the touch 
interface to "hang" and become unresponsive to future taps. This bug causes 
grail to not emit a construction finished event under certain circumstances.
  
  [Test Case]
  Preconditions:
    - Activate a subscription for single-touch gestures of class "Touch".
    - There should be no other application with higher priority for getting 
ownership over the touches.
  
  Steps to reproduce the problem:
   1 - Perform a quick tap on a touchscreen.
      - That will produce 3 utouch-frame events
        a) a frame begin with owned == false
        b) a frame update with owned == true
        c) a frame end
  
  Expected outcome:
   The following slice events should be sent by grail:
     1. Slice Begin, construction finished == false
-     2. Slice Update, construction finished == false
-     3. Slice End, construction finished == true
+    2. Slice Update, construction finished == false
+    3. Slice End, construction finished == true
  
  Actual outcome:
   The following slice events are sent by grail:
     1. Slice Begin, construction finished == false
-     2. Slice Update, construction finished == false
-     3. Slice Update, construction finished == false
+    2. Slice Update, construction finished == false
+    3. Slice Update, construction finished == false
+ 
+ There is currently no code released that performs these steps. However,
+ there is code in development for Unity that causes this behavior. One of
+ the gesture stack developers will need to verify this bug is fixed.
  
  [Regression Potential]
- TBD
+ Small. The source code changes are minimal; a couple function calls are 
reordered so they behave properly. The rest of the changes introduce a test 
mock framework and a regression test for this issue. All previous functional 
and regression tests cases continue to pass.
  
- A new regression test case has been added for this issue. All previous
- functional and regression test cases continue to pass.
+ Areas of concern for testing is whether gestures continue to operate
+ properly, and whether touchscreens become unresponsive after gestural or
+ pointer interactions.

** Changed in: grail (Ubuntu Precise)
   Importance: Undecided => Medium

** Changed in: grail (Ubuntu Precise)
     Assignee: (unassigned) => Francis Ginther (fginther)

** Changed in: grail (Ubuntu Precise)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020315

Title:
  quick, single-finger, taps not correctly processed

To manage notifications about this bug go to:
https://bugs.launchpad.net/grail/+bug/1020315/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to