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

On X11, the flag Qt::WindowMinimizeButtonHint is ignored for window with a parent

    XMLWordPrintable

Details

    Description

      On X11, a QDialog with a parent does not have the minimize button even with the flag Qt::WindowMinimizeButtonHint.

      Here is an example to reproduce the problem:
      #include <QtGui>

      int main(int argc, char **argv){
      QApplication app(argc, argv);
      QMainWindow parent;
      QWidget *dialog = new QWidget(&parent);
      dialog->setWindowFlags(Qt::Dialog | Qt::WindowMinimizeButtonHint);
      parent.show();
      dialog->show();
      return app.exec();
      }

      This problem is also reproductible with the Windowflags exemple in Qt.

      Attachments

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

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes