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

Regression: Mac: QDialog sizing and drawing issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1: Critical P1: Critical
    • 5.1.0
    • 5.1.0
    • GUI: Look'n'Feel
    • Mac OS X 10.8, Qt 5.1 / qtbase 8c81b282f8e18897257b93cb3fc149d74441c40e
    • macOS

      Just creating and showing a QDialog with a label in it shows a weird window. See screenshot.
      Regression in Qt 5.1, works in Qt 5.0.2

      #include <QApplication>
      #include <QDialog>
      #include <QHBoxLayout>
      #include <QLabel>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QDialog w;
          QHBoxLayout *layout = new QHBoxLayout(&w);
          layout->addWidget(new QLabel("FOOOOO"));
          w.show();
          
          return a.exec();
      }
      

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

            vestbo Tor Arne Vestbø
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes