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

Regression: Mac: QDialog sizing and drawing issues

    XMLWordPrintable

Details

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

    Description

      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();
      }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes