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

Strange appearance when Qt::CustomizeWindowHint is enabled

    XMLWordPrintable

    Details

    • Platform/s:
      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. qtbug79189_diag.diff
          2 kB
        3. QTBUG-79189.png
          QTBUG-79189.png
          27 kB
        4. qtbug79189.zip
          1 kB
        5. QTBUG-79189.zip
          2 kB
        6. QTBUG-79189-qtdiag.txt
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              wangwenx190 赵 宇航
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes