[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2018-12-19 Thread Bug Watch Updater
** Changed in: xorg-server
   Status: Confirmed => Unknown

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-06-22 Thread CSRedRat
When this fixed in 14.04 Trusty Tahr for 14.04.1 (24 July)?

Many critical bugs on ReleaseNotes Trusty Tahr page don't fixed presently: 
https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Known_issues
Installation bugs too:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1066480
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1172572
https://bugs.launchpad.net/ubuntu/+source/graphite2/+bug/1303516
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1297851
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1066342
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1172161
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1297234

upgrade:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1308530
https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/1304972
https://bugs.launchpad.net/ubuntu/+source/flightgear/+bug/1308338

and other:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1054732
https://bugs.launchpad.net/unity/+bug/1305586
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1271591
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1308037
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1305522
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1308761
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1292467

Too many errors in Trusty on: http://errors.ubuntu.com
Please fix the most annoying bugs. It interferes with work, use and 
distribution advice to friends.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-06-10 Thread Ara Pulido
** Changed in: oem-priority/trusty
   Status: Fix Committed = Fix Released

** Changed in: oem-priority
   Status: Fix Committed = Fix Released

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-06-03 Thread Launchpad Bug Tracker
This bug was fixed in the package qtbase-opensource-src - 5.2.1+dfsg-
1ubuntu14.2

---
qtbase-opensource-src (5.2.1+dfsg-1ubuntu14.2) trusty; urgency=medium

  * debian/patches/xi2-use-master-device.patch:
- Make xi2 select events on master device instead of slaves.
  (LP: #1307701)

qtbase-opensource-src (5.2.1+dfsg-1ubuntu14.1) trusty; urgency=medium

  [ Dmitry Shachnev ]
  * Backport upstream patch to fix issues with keymap update handling
(Add_better_support_for_keymap_update_handling.patch, copied from
Debian and rebased). (LP: #1318482)
  * Build-depend on libxkbcommon-x11-dev, as the new patch includes
xkbcommon/xkbcommon-x11.h.
 -- Maarten Lankhorst maarten.lankho...@ubuntu.com   Tue, 06 May 2014 
13:14:17 +

** Changed in: qtbase-opensource-src (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-29 Thread Ara Pulido
** Changed in: oem-priority/trusty
   Status: Triaged = Fix Committed

** Changed in: oem-priority
   Status: New = Fix Committed

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-27 Thread Brian Murray
Hello Steve, or anyone else affected,

Accepted qtbase-opensource-src into trusty-proposed. The package will
build now and be available at http://launchpad.net/ubuntu/+source
/qtbase-opensource-src/5.2.1+dfsg-1ubuntu14.2 in a few hours, and then
in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: qtbase-opensource-src (Ubuntu Trusty)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-27 Thread Steve Magoun
I can no longer reproduce this with qtbase 5.2.1+dfsg-1ubuntu14.2 - nice
work!

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-27 Thread Timo Jyrinki
** Tags removed: verification-needed
** Tags added: verification-done

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: xorg-server (Ubuntu Trusty)
   Status: New = Confirmed

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-13 Thread Launchpad Bug Tracker
This bug was fixed in the package qtbase-opensource-src - 5.2.1+dfsg-
1ubuntu17

---
qtbase-opensource-src (5.2.1+dfsg-1ubuntu17) utopic; urgency=medium

  * Disable PCH also on arm64 in addition to armel/armhf (LP: #1318635)
 -- Timo Jyrinki timo-jyri...@ubuntu.com   Tue, 13 May 2014 04:37:13 +

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: In Progress = Fix Released

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-13 Thread Timo Jyrinki
qtbase 5.2.1+dfsg-1ubuntu14.2 SRU for trusty is in unapproved queue now
too
(https://launchpad.net/ubuntu/trusty/+queue?queue_state=1queue_text=)

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-12 Thread Timo Jyrinki
** Also affects: xorg-server (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: unity (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: qtbase-opensource-src (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: qtbase-opensource-src (Ubuntu Trusty)
   Status: New = In Progress

** Changed in: qtbase-opensource-src (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: qtbase-opensource-src (Ubuntu Trusty)
 Assignee: (unassigned) = Timo Jyrinki (timo-jyrinki)

** Changed in: unity (Ubuntu Trusty)
   Status: New = Invalid

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-12 Thread Launchpad Bug Tracker
** Branch linked: lp:~kubuntu-packagers/kubuntu-packaging/qtbase-
opensource-src

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Alberto Milone
@Daniel: thanks for taking the time to file an upstream bug report.

I have tested Maarten's latest work on the Qt library, and I can confirm that 
it solves the issue on both tablets and non-tablets. Maarten's work is 
available here (you only need to update the qt packages):
https://launchpad.net/~canonical-x/+archive/x-staging

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Alberto Milone
** Package changed: xorg-server (Ubuntu) = qtbase-opensource-src
(Ubuntu)

** Changed in: qtbase-opensource-src (Ubuntu)
   Importance: Undecided = High

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: New = In Progress

** Changed in: qtbase-opensource-src (Ubuntu)
 Assignee: (unassigned) = Maarten Lankhorst (mlankhorst)

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Maarten Lankhorst
** Also affects: xorg-server (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: xorg-server via
   https://bugs.freedesktop.org/show_bug.cgi?id=78345
   Importance: Unknown
   Status: Unknown

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Daniel d'Andrada
I confirm that the Qt from
https://launchpad.net/~canonical-x/+archive/x-staging does
XISelectEvents on the master pointer (instead of the touchscreen slave
device, as previously) and that the resulting behavior of the xserver is
good. Ie., touch ownership mechanics work properly and mouse pointer
emluation from touch events keeps working as well.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Daniel d'Andrada
Qt still XISelectEvents my N-Trig Pen stylus and N-Trig Pen eraser
slave devices though. But thankfully no events come from them and thus
peace is maintained :)

** Changed in: unity (Ubuntu)
   Status: In Progress = Invalid

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Maarten Lankhorst
** Changed in: xorg-server (Ubuntu)
 Assignee: (unassigned) = Maarten Lankhorst (mlankhorst)

** Changed in: xorg-server (Ubuntu)
   Importance: Undecided = High

** Changed in: xorg-server (Ubuntu)
   Status: New = In Progress

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-07 Thread Bug Watch Updater
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 : 

[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Daniel d'Andrada
Took the liberty of correcting the bug title as unity does keep getting
touch events. It's the xserver mouse pointer emulation from touch events
that breaks badly.

** Also affects: xorg-server (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Daniel d'Andrada
Attaching detailed xserver log. The following steps were taken:

1- sudo restart lightdm (to restart the X server. so that de have a clean slate)
2- run a very simple qml app with qmlscene
3- tapped on that qmlscene window (touch id 1)
4- tapped on the desktop area (nautilus) (touch id 2)
5- sudo stop lightdm

From the logs you can see that no pointer emulation was done for touch
id 2 because xserver still thinks that touch id 1 is active.

** Attachment added: xorg_debug.zip
   
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/+attachment/4106287/+files/xorg_debug.zip

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Daniel d'Andrada
xserver packages I used to take the logs above.

** Attachment added: xserver debian packages with detailed logging of input 
events
   
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1307701/+attachment/4106288/+files/xorg_debug_packages.zip

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Daniel d'Andrada
Excerpt from #xorg-devel:


dandrader daniels, I've the following situation: clientX has a 
XISelectEvents(TouchBegin|Update|End, childWindowA, slaveDevice1); clientY has 
a XIPassiveGrabDevice(TouchBegin|Update|End|Ownership, rootWindow, 
AllMasterDevices)
 daniels, when a touch reaches xserver, it sends touch events to both clientX 
and clientY
daniels dandrader: yes, events are delivered separately thorough master and 
slaves - i'd recommend not using slaves for anything at all
dandrader daniels, but I believe it should send only to clientY, and only 
once clientY rejects the touch sequence should clientX finally start receiving 
the touch events (replayed), right?
daniels dandrader: if both clients were listening on a master device, then 
you'd be right
dandrader daniels,  hmm got it. so what I'm seeing is the expected behavior 
then and I should modify clientX to select events on AllMasterDevices instead 
of on slaveDevice1
 daniels, is that it?
daniels dandrader: exactly


So we have two problems here:
  1- touch ownership mechanics won't work in our situation as Qt is talking 
directly to the slave devices whereas unity7 is talking to the master devices.
   2- the xserver bug described in my previous comments where it gets confused 
with such situation and ends up with a borked internal state which ruins mouse 
pointer emulation

So if we could avoid the situation in item 1 (by changing either Qt or
unity7/Open Input Fw Grail code) we might (have to try it out to see)
circumvent the bug in item 2.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Alberto Milone
Is there a specific reason for calling XISelectEvents() for each slave
vs using XIAllMasterDevices in QXcbConnection::xi2Select() in Qt?

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Daniel d'Andrada
 Is there a specific reason for calling XISelectEvents() for each
slave vs using XIAllMasterDevices in QXcbConnection::xi2Select() in Qt?

Would have to dig into Qt code to tell that. But my guess is that
because it exposes QTouchDevice objects to applications. For every
QTouchEvent  you can get the QTouchDevice from where it came from. But
it might be that it could work with XIAllMasterDevices just as well.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Stephen M. Webb
The code in Qt that subscribes to slave device events is the explicit
tablet-handling code.  Checking the code, the touchscreen on my Dell XT2
is being treated as a tablet by the Qt code because it supports a stylus
mode on one of its alternate devices.

It sounds like the bug is in the Qt XCB QPA code, which explains why it
only started occuring in QML apps after the switch to Qt 5.2.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Maarten Lankhorst
I think the XIDeviceEvent.sourceid would tell you from which device it
originates. The XIDeviceEvent.deviceid member  would be set to the
master device, which might break things in a straight conversion.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Alberto Milone
@Stephen: I guess that means that your device passes the following
check:

if (tabletData.valuatorInfo.contains(QXcbAtom::AbsX) 
 tabletData.valuatorInfo.contains(QXcbAtom::AbsY) 
 tabletData.valuatorInfo.contains(QXcbAtom::AbsPressure))

which you can check using xinput list-props $device_id or simply using
evtest.

I have a non-tablet and a tablet, they are both affected by the same
problem, except that fixing the tablet use case will probably take a
little more work.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Alberto Milone
I've just rebuilt Qt with a partial fix which only covers the non-
tablet test case, and I'm glad to report that it solves the problem.

Maarten is working on an all comprehensive fix.

-- 
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


[Ubuntu-x-swat] [Bug 1307701] Re: xserver mouse pointer emulation from touch breaks with QML app.

2014-05-06 Thread Daniel d'Andrada
And here's the upstream bug I reported:
https://bugs.freedesktop.org/show_bug.cgi?id=78345

** Bug watch added: freedesktop.org Bugzilla #78345
   https://bugs.freedesktop.org/show_bug.cgi?id=78345

-- 
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