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

Closing Application Output tab of disconnected Android device takes two attempts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.4.0-beta1
    • Android Support
    • Arch Linux / Nexus 7

    Description

      Steps to reproduce
      1. Open e.g. "swipetoremove" example from Qt Quick Controls 2
      2. Start application on Android device
      3. Disconnect Android device
      4. Click 'X' on Application Output tab (opens the "Application Still Running" dialog)
      5. Click 'Force Quit'
      Expected outcome

      Tab is closed (as in Qt Creator 4.3.1)

      Actual outcome

      Nothing happens. Second click on 'X' closes tab (without any dialog) and prints

      SOFT ASSERT: "state == RunControlState::Stopped || state == RunControlState::Initialized" in file /work/build/qt-creator/src/plugins/projectexplorer/runconfiguration.cpp, line 662
      QProcess: Destroyed while process ("/opt/android-sdk/platform-tools/adb") is still running.
      
      Notes

      Also clicking on the "Stop Running Program" button (the little red square) does nothing (both in 4.3.1 and 4.4.0-beta1). I don't if this is expected, but it doesn't seem very intuitive.

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            juri.valdmann Jüri Valdmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes