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

QOpenGLWidget affect QMenu when showFullScreen()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3
    • GUI: Menus, GUI: OpenGL
    • None
    • Windows

    Description

      Developing in Windows 10
      Running in Windows 7 32bit

      1 Create a GUI example with QMainwindow(other is same), place a QOpenGLWidget on UI , and add some menu on UI.
      2 add setWindowFlag(Qt::FramelessWindowHint);
      code as :
      MainWindow::MainWindow(QWidget *parent) :
      QMainWindow(parent),
      ui(new Ui::MainWindow)

      { ui->setupUi(this); this->setWindowFlag(Qt::FramelessWindowHint); }

      3 change show to showMaximized;
      code is :
      int main(int argc, char *argv[])

      { QApplication a(argc, argv); MainWindow w; // w.show(); w.showMaximized(); return a.exec(); }

      and then run , something looks ok.

      when you use windeployqt eeee.exe, and copy these to anthoer PC,and double click the exe, click menu ,but the Menu not show.
      likes Qt 5.11.

      If you delete QOpenGLWidget, everything is OK.

      my app always showMaximized() or showFullScreen() , the bug make me miss a lot of projects

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            qtmu LLL LLL
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes