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

Regression: Mac: QDialog sizing and drawing issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: GUI: Look'n'Feel
    • Labels:
    • Environment:
      Mac OS X 10.8, Qt 5.1 / qtbase 8c81b282f8e18897257b93cb3fc149d74441c40e
    • Platform/s:
      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

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              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