Launchpad has imported 8 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=78345.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-05-06T15:52:38+00:00 Daniel d'Andrada wrote:

It happens on Ubuntu running on laptop with a touchscreen.

Scenario:

- There's a small window whose client called XISelectEvents on it for
the touchscreen slave device with
mask=XI_TouchBegin|XI_TouchUpdate|XI_TouchEnd (client[5290,
/usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene qml-demo-minimal-client.qml]
in the logs).

- compiz and nautilus (which handles the desktop background) have
selections and/or grabs on the master device

Actions:

1- user taps the qmlscene window. Touch events are reported to both
qmlscene (from the slave device) and to compiz (from the master device).
compiz rejects the touch sequence and it's not delivered to anyone else

2- user now presses on the desktop background. TouchBegin,
TouchOwnership and further TouchUpdates are sent to compiz.

3- compiz rejects the touch sequence. TouchPuntToNextOwner fails to
emulate a pointer and pass it to nautilus as it still thinks that touch
1 is active. And as per pointer emulation rules, only the oldest active
touch is used for touch emulation. From the logs, the lines are:

"""
[  9223.917] (II)             TouchPuntToNextOwner: touch 2
[  9223.917] (II)               - Not all older pointer emulated touches have 
been seen yet. Oldest touch(client_id=1, active=1, pending_finish=0, 
emulate_pointer=1).
"""

4- user lifts his finger

So that scenario on touch 1 clearly left xserver in an inconsistent,
buggy, state.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/28

------------------------------------------------------------------------
On 2014-05-06T15:53:47+00:00 Daniel d'Andrada wrote:

Created attachment 98564
Xorg.log with detailed input event handling info

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/29

------------------------------------------------------------------------
On 2014-05-06T15:54:25+00:00 Daniel d'Andrada wrote:

Created attachment 98565
A filtered Xorg.log with only the interesting parts

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/30

------------------------------------------------------------------------
On 2014-05-06T15:54:42+00:00 Daniel d'Andrada wrote:

Created attachment 98566
output of xinput

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/31

------------------------------------------------------------------------
On 2014-05-06T15:55:08+00:00 Daniel d'Andrada wrote:

Created attachment 98567
output of xwininfo showing the whole window tree

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/32

------------------------------------------------------------------------
On 2014-05-06T15:57:35+00:00 Daniel d'Andrada wrote:

For reference, those were the steps I took when recording the log

- started lightdm (and threfore X)
- logged in
- launched the Qt app (qmlscene)
- tapped on the qmlscene window
- tapped on the desktop background (nautilus)
- closed the Qt app (qmlscene)
- stopped lightdm (and threfore X)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/33

------------------------------------------------------------------------
On 2014-05-07T15:09:20+00:00 Bugs-i wrote:

Created attachment 98629
xorg-integration-tests testcase

I think this reproduces the bug quite well, does this match your logs?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/39

------------------------------------------------------------------------
On 2014-05-07T15:56:41+00:00 Bugs-i wrote:

Comment on attachment 98629
xorg-integration-tests testcase

Woops, test is broken, the way it was written probably doesn't reproduce
this bug. Although I believe it probably matches the description of the
bug. Maybe missing something?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/comments/40


** Changed in: xorg-server
       Status: Unknown => Confirmed

** Changed in: xorg-server
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1307701

Title:
  xserver mouse pointer emulation from touch breaks with QML app.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1307701/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to