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

Transparent Widget does not redraw properly when using extendFrameIntoClientArea

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.3.1
    • Extras: Win
    • None
    • Windows 7

    Description

      I've been using extendFrameIntoClientArea to have a complete semi-transparent widget on Windows but I figure out that in Qt 5 (just moved from Qt 4.8 with my own custom function to Qt 5.3.1), widgets doesn't redraw properly, I have issue with QLabel but also QTabWidget.

      In the case of QLabel, using clear() function or setText() doesn't work properly, the text is written on top and the label not redraw before resized.
      I attached a sample project that show the glitch behavior on Windows 7.

      In the case of QTabWidget, removing closable tabs still draw it even it's not here anymore, resizing the window will fix the drawing.

      If you need anymore information, please ask.

      Attachments

        1. extendFrameIntoClientArea.zip
          1 kB
        2. qt_bug_40259.png
          qt_bug_40259.png
          85 kB
        3. qtbug40259.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            johnlamericain Jonathan Courtois
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes