[Ubuntu-sdk-bugs] [Bug 1519049] Re: Cannot exit and stop 'Run Click' when creating new device kit

2017-01-02 Thread sepehr Jabbari
Hey Guys i still have this issue . 
btw please delete the "no longer affects" by me , i did it by mistake 

** Also affects: qtcreator-plugin-ubuntu
   Importance: Undecided
   Status: New

** No longer affects: qtcreator-plugin-ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1519049

Title:
  Cannot exit and stop 'Run Click' when creating new device kit

Status in qtcreator-plugin-ubuntu package in Ubuntu:
  Confirmed

Bug description:
  When using the SDK, I create an app (for example clicking 'create new
  project' then 'QML App with Simple UI (qmlproject)'), and choose to
  create a new device kit in the project setup window (selecting any
  framework or architecture), a 'Run Click' window appears that says
  'Waiting for click to stop' and displays a log showing the creation of
  a new device kit.

  When I want to stop this process (due to a mistake in configuration,
  or if I don't actually need a new device kit especially for this app),
  I can't. I press the close button in the top of the window and a
  dialog asks me if I want to stop the click tool because it could break
  my chroot. Even if I select yes, nothing happens, and the device kit
  continues to be created. I simple cannot stop click through the GUI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1519049/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-sdk-bugs] [Bug 1646080] Re: Mir-backed InputDeviceModel’s count property is not updated timely

2017-01-02 Thread Timo Jyrinki
Can you test the ticket? It would be ready for xenial (overlay) and
zesty.

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

Title:
  Mir-backed InputDeviceModel’s count property is not updated timely

Status in qtsystems-opensource-src package in Ubuntu:
  In Progress

Bug description:
  I’m trying to use InputDeviceModel from QML with the following
  example:

  import QtQuick 2.4
  import QtSystemInfo 5.5
  Item {
InputDeviceModel {
  id: idm
  filter: InputInfo.Mouse
  onCountChanged: console.log("mice model count:", devices, count)
  onAdded: console.log("added mouse:", inputDevice, count)
  onRemoved: console.log("removed mouse:", deviceId, count)
}
readonly property bool hasMouse: idm.count > 0
onHasMouseChanged: console.log("has mouse:", hasMouse)
  }

  When I launch the example with qmlscene on my arale with no mouse
  connected, I’m not seeing any output (expected).

  Then I connect a bluetooth keyboard/mouse combo, and I’m seeing the following:
mice model count: 1 0
added mouse: QInputDevice(0x17f6298) 1
(note how 'hasMouse', which supposedly was initially false, hasn’t been 
updated)

  Then I disconnect the combo, and I’m seeing the following:
mice model count: 0 1
has mouse: true
removed mouse: 15 0

  Then I connect it again, and I’m seeing the following:
mice model count: 1 0
has mouse: false
added mouse: QInputDevice(0x18ee508) 1

  It appears the countChanged property is emitted before a device is
  added to/removed from the model, and thus the row count hasn’t
  actually been updated yet. So any property binding that relies on
  'count' will have an incorrect value.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtsystems-opensource-src/+bug/1646080/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp