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

When putting a QWindow into a widget container and then adding that to a QMdiArea it can cause problems with stacking

    XMLWordPrintable

Details

    • Windows part bc31d2235cbf81c05ef80de723ebc4dc45a89695 (qtbase/5.9, 26.9.2017. 5.9.3)

    Description

      When putting a QWindow into a widget container and then adding that to a QMdiArea it can cause problems with stacking. This is because of the fact that the widget container now has a native handle and this is contributing to the problem. In the example attached there is another sub window that has always on top which is appearing correctly, but does not respond to input.

      To reproduce with the attached example, do:

      • Go to Major menu and choose Major SubWindow 2
      • Go to Minor menu and choose Minor SubWindow 1
      • Go to Major menu and choose Major SubWindow 1
      • Try to interact with the Minor SubWindow which is still visible and nothing goes through

      Attachments

        1. qtbug63121_diag.diff
          6 kB
        2. qtbug63121_log.txt
          28 kB
        3. qtbug63121_mdiexample.diff
          2 kB
        4. qtbug63121.tar.gz
          6 kB
        5. qtbug63121.zip
          15 kB

        Issue Links

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

          Activity

            People

              smd Jan Arve
              andysh Andy Shaw
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes