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.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: QPA
    • Labels:
      None
    • Environment:
    • Platform/s:
      Android

      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:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes