Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Topbar menu invisible in fullscreen #1576
Doing more investigation the issues appears when pressing F11, having OpenGL enabled and there is a map open. Doing a screen shot and then pasting the image looks right(containing the topbar menu) but on the screen there is no topbar menus.
The issue disappears by disabling OpenGL in preferences.
Sounds like this is the problem: http://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows
Add the following code to the window source:
Hmm, indeed, thanks for digging that down!
The suggested solution is to do:
Though it says that this will add a 1 pixel border around the window to work around the issue. Since that may be annoying for scroll bars, I should probably only do that when OpenGL rendering is enabled.
Generally there isn't much of an advantage to the current OpenGL rendering btw, since it works through the QPainter API and as such it's usually not faster than software rendering.