← Back to team overview

touch-packages team mailing list archive

[Bug 1508415] [NEW] AP input events sometimes positioned outside screen geometry

 

Public bug reported:

With MultiMonitor, enable QtMir input debug logging with:
    initctl set-env --global QT_LOGGING_RULES="qtmir.*.debug=true"

Now watch the UI, while running this AP test:

autopilot3 run -v -v
unity8.indicators.tests.test_indicators.IndicatorPageTitleMatchesWidgetTestCase.test_indicator_page_title_matches_widget

For the swipe indicators to bottom of the screen, AP outputs:
12:01:25.466 DEBUG _uinput:412 - The pointing 'finger' is now at position 819,1904.
12:01:25.477 DEBUG _uinput:407 - Moving pointing 'finger' to position 819,1914.
12:01:25.479 DEBUG _uinput:412 - The pointing 'finger' is now at position 819,1914.
12:01:25.490 DEBUG _uinput:407 - Moving pointing 'finger' to position 819,1920.
12:01:25.491 DEBUG _uinput:412 - The pointing 'finger' is now at position 819,1920.

while QtMir gets:
qtmir.mir.input: Received MirTouchEvent((id=5,action=change,x=900.219,y=1903.06))
qtmir.mir.input: Sending to Qt (id=5,state=moved,normalPosition=(0.78144,0.991177))
qtmir.mir.input: Received MirTouchEvent((id=5,action=change,x=900.219,y=1916.22))
qtmir.mir.input: Sending to Qt (id=5,state=moved,normalPosition=(0.78144,0.99803))
qtmir.mir.input: Received MirTouchEvent((id=5,action=change,x=900.219,y=1922))
qtmir.mir.input: REJECTING INPUT EVENT, no matching window
qtmir.mir.input: Received MirTouchEvent((id=5,action=up,x=900.219,y=1922))
qtmir.mir.input: REJECTING INPUT EVENT, no matching window

Need to investigate why the values AP request do not match those QtMir
prints

** Affects: autopilot
     Importance: Undecided
         Status: New

** Affects: qtmir
     Importance: Undecided
         Status: New

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: autopilot
   Importance: Undecided
       Status: New

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1508415

Title:
  AP input events sometimes positioned outside screen geometry

Status in Autopilot:
  New
Status in QtMir:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  With MultiMonitor, enable QtMir input debug logging with:
      initctl set-env --global QT_LOGGING_RULES="qtmir.*.debug=true"

  Now watch the UI, while running this AP test:

  autopilot3 run -v -v
  unity8.indicators.tests.test_indicators.IndicatorPageTitleMatchesWidgetTestCase.test_indicator_page_title_matches_widget

  For the swipe indicators to bottom of the screen, AP outputs:
  12:01:25.466 DEBUG _uinput:412 - The pointing 'finger' is now at position 819,1904.
  12:01:25.477 DEBUG _uinput:407 - Moving pointing 'finger' to position 819,1914.
  12:01:25.479 DEBUG _uinput:412 - The pointing 'finger' is now at position 819,1914.
  12:01:25.490 DEBUG _uinput:407 - Moving pointing 'finger' to position 819,1920.
  12:01:25.491 DEBUG _uinput:412 - The pointing 'finger' is now at position 819,1920.

  while QtMir gets:
  qtmir.mir.input: Received MirTouchEvent((id=5,action=change,x=900.219,y=1903.06))
  qtmir.mir.input: Sending to Qt (id=5,state=moved,normalPosition=(0.78144,0.991177))
  qtmir.mir.input: Received MirTouchEvent((id=5,action=change,x=900.219,y=1916.22))
  qtmir.mir.input: Sending to Qt (id=5,state=moved,normalPosition=(0.78144,0.99803))
  qtmir.mir.input: Received MirTouchEvent((id=5,action=change,x=900.219,y=1922))
  qtmir.mir.input: REJECTING INPUT EVENT, no matching window
  qtmir.mir.input: Received MirTouchEvent((id=5,action=up,x=900.219,y=1922))
  qtmir.mir.input: REJECTING INPUT EVENT, no matching window

  Need to investigate why the values AP request do not match those QtMir
  prints

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