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

Menu and tool bar not showing up correctly when using OpenGL on 4K displays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.10.1
    • None

    Description

      I created a small test problem that replicates the issue. It has a main window, a menu bar, and a toolbar. The central widget is a QOpenGLWidget. On my regular desktop it shows up correctly, but on a laptop with 4K display something weird happens. The file menu appears to be hidden under the window's title bar and thus not visible. Even stranger, you can still select menu items by clicking where the menu ought to be. I emphasize that I've only seen this with apps that have all three: menu, toolbar, and QOpenGLWidget. I've attached a screen shot and the code of the test program.

      Attachments

        1. qtbug.pdf
          71 kB
        2. QtTest.cpp
          1 kB

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              belgiansteve78 Steve Maas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes