- 
    Bug 
- 
    Resolution: Duplicate
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    5.4.0
- 
    None
- 
    Os: Windows 8.1
 Qt version : Qt 5.4.0 for Windows 32-bit (VS 2013), Desktop GL GeForce GTX 690/PCIe/SSE2
I create a QMainWindow with a menu bar that has a menu and action. If the main window contains a QQuickWidget (as the central widget or in any other form) the menu bar is not accessible when the main window in shown in full screen mode.
Here is a sample code that reproduces the issue :
#include <QApplication>
#include<QMainWindow>
#include <QMenu>
#include <QMenuBar>
#include <QQuickWidget>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QMainWindow w;
    QAction *actionNew = new QAction(&w);
    actionNew->setText("New");
    QMenuBar *menuBar = new QMenuBar(&w);
    QMenu *menuFile = new QMenu(menuBar);
    menuFile->setTitle("File");
    menuBar->addAction(menuFile->menuAction());
    menuFile->addAction(actionNew);
    w.setMenuBar(menuBar);
    w.setCentralWidget(new QQuickWidget);
    w.showFullScreen();
    return a.exec();
}
In this code sample when i click on a menu it will not open the menu.
If you show the main window in maximized mode, everything is fine.
- duplicates
- 
                    QTBUG-41309 QOpenGLWidget and QOpenGLWindow problems under Fullscreen -         
- Closed
 
-