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

Z-index and rendering bugs with native MDI subwindows and "Stay on top"

    XMLWordPrintable

Details

    Description

      In an MDI area, if there is a native sub-window and a sub-window set to "Stay on top", then visual glitches and z-order issues can occur when sub-windows are moved over each other.

      In particular, making a non-native sub-window "stay on top" and moving the native sub-window over a different non-native sub-window causes parts of the moved window to render incorrectly, and clicking on the moved window above the non-native window instead clicks on the non-native window below.

      This behaviour occurs on Windows; I have also tested with Ubuntu, where the z-order bug is present but without any visual glitches.

      Attached is a Python script using PyQt5 to demonstrate the issue, along with a video of the behaviour (the window is rendered correctly upon taking a screenshot, so none of the behaviour can be demonstrated that way).

      Attachments

        1. qtmdibug.mp4
          4.18 MB
          Dominic Clark
        2. qtmdibug.py
          0.8 kB
          Dominic Clark
        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
            domclark Dominic Clark
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes