Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12380

BlackBerry device gets automatically connected when QtCreator is started

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • Qt Creator 3.5.0-beta1
    • Qt Creator 3.1.1
    • QNX Support
    • None

    Description

      How to reproduce:
      1) Have QtCreator and register a BlackBerry device (e.g. using Add BlackBerry device wizard)
      2) Restart QtCreator

      Actual behavior:
      QtCreator starts connecting to a BlackBerry device while QtCreator is starting.

      Expected behavior:
      QtCreator starts without connecting to a BlackBerry device.

      The reason for the expected behavior is that even through a developer is starting QtCreator which is having a BlackBerry device registered, it does not mean that he/she was to start using BlackBerry device... maybe he/she does not even work on a BlackBerry-specific projects...

      Implementation notes:
      QtCreator starts connecting to a BB10 device because of the following line in BlackBerryDeviceConnectionManager ctor:

      connect(deviceManager, SIGNAL(deviceAdded(Core::Id)), this, SLOT(connectDevice(Core::Id)));
      

      This line means that wheneven a BB10 device/simulator is added to DeviceManager, then BlackBerryDeviceConnectionManager class starts connecting to it. Note that 'deviceAdded' signal is emitted even when the DeviceManager is just loading the settings.

      Proposed solution:
      Remove this above mentioned line.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mfekari Mehdi Fekari
            dkaspar David Kaspar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes