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

QDialog hides when lost focus on mac

    XMLWordPrintable

Details

    • macOS

    Description

      QDialog (or QWidget with Qt::Dialog flag) hides when I am clicking on desktop.
      If I use Qt::Window flag it works fine.

      #include <QApplication>
      #include <QDialog>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QWidget w;
          w.setWindowFlags(Qt::Dialog);
          w.show();
          
          return a.exec();
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-31133
        # Subject Branch Project Status CR V

        Activity

          People

            srutledg Shawn Rutledge
            taurus Ivan Romanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes