Unsolved Menu bar not show
-
hi
i have QMainWindow with a menu bar
when i hide MainWindow, menu bar not reappear after show MainWindow again.
i have this problem in ubuntu & i'm use Qt 5.8
how can i fix this? -
Is it shown for the first time ? In ubuntu it is not shown along with MainWindow. It will be at the top of your screen. Just try selecting your MainWindow using the Mouse and see if menu bar appears in the top of your screen. If not just try calling this->menuBar().setVisible(true)
-
@dheerendra yes shown in first time
i test :
this->menuBar().setVisible(true)
menuBar()->show();
but don't work -
Can you paste your sample code here ? We can check about this.
-
@ARASHz4 Isn't it the standard behaviour on Ubuntu? Did you try to move the mouse to the top of the screen while your app is in foreground?
-
to add to @jsulm
Try disable that feature by setting it back to normal
http://askubuntu.com/questions/10481/how-do-i-enable-or-disable-the-global-application-menu
-
@jsulm yes i move the mouse to the top of the screen
-
@ARASHz4 Could be a bug, you should check https://bugreports.qt.io/secure/Dashboard.jspa