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

Strange appearance when Qt::CustomizeWindowHint is enabled

    XMLWordPrintable

Details

    • Windows

    Description

      Running the "Window Flags Example", enabling Qt::CustomizeWindowHint will cause the window has a thin white bar on the top.

      Only tested on Windows. Don't know what it looks like on other platforms.

      Re-reproducible on Qt 5.13.x and 5.14.x, earlier versions not tested.

      I'm not good at English, maybe the screenshot in the appendix can describe this bug better.

      DPI: 125% (but the device pixel ratio of this widget is 1.0, not 1.25)

      I can't place any widgets or paint anything on it, I feel like it's some kind of left over of the hidden title bar. I have no idea of the root cause, but if it's not a painting issue, then it should be a window system problem.

      Attachments

        1. bug.png
          bug.png
          85 kB
        2. QTBUG-79189.png
          QTBUG-79189.png
          27 kB
        3. QTBUG-79189.zip
          2 kB
        4. QTBUG-79189-qtdiag.txt
          8 kB
        5. qtbug79189.zip
          1 kB
        6. qtbug79189_diag.diff
          2 kB
        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
            wangwenx190 赵 宇航
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change