Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47049

[REG 5.4 -> 5.5] QProgressDialog is Shown Immediately After Allocation and Even Despite hide() Call.

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: QtPorts: Android
    • Labels:
      None
    • Environment:

      Host: Ubuntu-14.04 32-bit, target: Nexus-7-2013, Android 4.4.4

      Official qt-opensource-linux-x86-android-5.5.0.run
      android-sdk_r24.3.3-linux.tgz
      android-ndk-r10e-linux-x86.bin

      App compiled versus API-22

      Description

      App compiled versus API-22

      Steps to reproduce:

      1. Modify textedit example and add to its
      constructor allocation of QProgressDialog as below:

      this->progress_dialog_ =
      new (nothrow) QProgressDialog("Please, wait...",
      "Cancel", 0, PROGRESS_BAR_MAX_TIMESLOTS,
      this, // For parent relationship
      0);

      if (!this->progress_dialog_)

      { qDebug() << "TextEdit::alloc_wp_progress_dialog - failed to alloc QProgressDialog"; return 0; }

      // Don't show button "Cancel"
      progress->setCancelButton(0);
      progress->setWindowModality(Qt::ApplicationModal);
      progress->setMinimumDuration(0);
      progress->setObjectName("WPProgressDialog");

      // Even hide() is not helpful on Android
      progress->hide();

      2. Run the example;

      3. Observe that the progress dialog appears after some
      seconds, and it is positioned in the left upper corner of the display.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                esabraha Eskil Abrahamsen Blomfeldt
                Reporter:
                coroberti Robert Iakobashvili
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes