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

QDialog .showfullscreen not working as expected on MacOSX Mavericks

    XMLWordPrintable

Details

    • bdd3ead8270dfde12b0b4eb57125a22e51ee88ce

    Description

      When trying to open a new QDialog with .showFullscreen() on mac OS Mavericks with QT 5.2.1, it doesn't take the fullscreen.
      http://qt-project.org/forums/viewthread/39346/


      Basic compilable example :

      #include "mainwindow.h"
      #include "ui_mainwindow.h"

      #include "dialogdummy.h"

      MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)
      {
      ui->setupUi(this);
      }

      MainWindow::~MainWindow()
      {
      delete ui;
      }

      void MainWindow::on_pushButton_clicked()
      {
      DialogDummy dialogdummy;
      dialogdummy.showFullScreen();
      dialogdummy.exec();
      }

      Attachments

        Issue Links

          Activity

            People

              liaqi Liang Qi
              blaisminator Maxime Blais
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: