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

Dialog might not show up with certain call sequence.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      With following code, the dialog may randomly not show up. Here run it 4~5 times and it will be possible to reproduce the issue.

      #include <QApplication>
      #include <QDialog>
      
      int main(int argc, char* argv[]) {
          QApplication app(argc, argv);
      
          QDialog a;
          a.show();
          a.hide();
          a.exec();
          return app.exec();
      }
      

        Attachments

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

          Activity

            People

            • Assignee:
              dfaure_kdab David Faure
              Reporter:
              csslayer Weng Xuetian
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes