ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07414
[Bug 1638517] Re: Mir-backed InputDeviceModel doesn’t work on touch device
Got this working on my laptop w/ unity8...
Except it does work, still see that thread message, except the count is opposite of what it should be.
When I disconnect the keyboard (usb as well as bt) it says count: 2, and
when I connect it count: 1
When I first run the test qml, it reports count: 0
when it should report 1, as the laptop has a keyboard.
The first time I connect a keyboard there is no report, or when I first disconnect it.
Subsequent connection I see count: 1 (should be 2)
...
So it does seem to work regardless of the thread message, just not as it
should.
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtsystems-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1638517
Title:
Mir-backed InputDeviceModel doesn’t work on touch device
Status in qtsystems-opensource-src package in Ubuntu:
Confirmed
Bug description:
I’ve prepared a branch of webbrowser-app that makes use of the latest
qml-module-qtsysteminfo for input device detection
(https://code.launchpad.net/~osomon/webbrowser-app/use-
qtsystems/+merge/309667), and when I test it on arale, I’m seeing the
following error in the logs when connecting a bluetooth keyboard/mouse
combo to the device:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QInputInfoManagerMir(0xaa09a6ac), parent's thread is QThread(0x1fba0b8), current thread is QThread(0xb08612d8)
This looks like a threading issue in the implementation of the Mir
backend for InputInfo.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtsystems-opensource-src/+bug/1638517/+subscriptions
References