[Bug 1007847] Re: qml pincharea doesn't work with opengl, works good otherwise
Vladimir Rutsky
1007847 at bugs.launchpad.net
Mon Nov 11 00:06:54 UTC 2013
My colleague and I debugged this issue and prepared patch for it.
If we undrestood correctly, bug was caused by code that searches widget
that should get touch input. It checks with "childAt()" which child
should get input, but doesn't pass event to root widget if no children
found (as done in other event handlers, for example in
"translateWheelEvent()").
This bug can be reproduced if you try to get touch input in root widget
(native X11 window, e.g. call "show()" on Qt widget without parents).
Also, looks like when any widget calls "QWidget.winId()" directly or
indirectly (e.g. by setting that this widget is rendering with OpenGL)
widget being promoted to native, and too became root of input widgets
hierarchy.
Attached patch was tested on our application and Qt demos on Ubuntu
13.04 and Ubuntu 13.10.
** Patch added: "fix_xinput2_for_root_windows.patch"
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1007847/+attachment/3904801/+files/fix_xinput2_for_root_windows.patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/1007847
Title:
qml pincharea doesn't work with opengl, works good otherwise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1007847/+subscriptions
More information about the kubuntu-bugs
mailing list