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

SizeGrip missing

    XMLWordPrintable

Details

    • macOS
    • 18f5b83e97828dd572eaf67c054a43aa5472a668 (qt/qtbase/dev) 120eb3b48cf1af902a8b03feb2ff1167b28883c9 (qt/qtbase/6.1)

    Description

      As shown in images, the size grip is painted in Qt 5.9.6, but is missing with 5.15.1.

      Code to reproduce:

      #include <QLabel>
      #include <QSizeGrip>
      #include <QGridLayout>
      MainWindow::MainWindow(QWidget *parent)
        : QMainWindow(parent)
      {
        auto w = new QWidget;
        auto g = new QGridLayout( w );
        auto l = new QLabel( qVersion() );
      
        auto r = new QSizeGrip( this );
        r->setVisible( true );
      
        g->setMargin( 0 );
        g->addWidget( l, 0,0, 1,1 );
        g->addWidget( r, 1,1, 1,1 );
      
        setCentralWidget( w );
      }
      

      Attachments

        1. 5.15.1.png
          18 kB
          Remik Ziemlinski
        2. 5.9.6.png
          14 kB
          Remik Ziemlinski
        3. qtbug90945.zip
          2 kB
          Andy Shaw
        For Gerrit Dashboard: QTBUG-90945
        # Subject Branch Project Status CR V

        Activity

          People

            vhilshei Volker Hilsheimer
            remik Remik Ziemlinski
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes