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

Nested Modal Dialogs running on Mac OS can get wrong Z-Order

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.0 Beta4
    • 5.3.1, 5.4.0, 5.14
    • GUI: Window management
    • None
    • Mac OSX 10.9

    Description

      I have attached a sample creator app that exhibits the problem. The app has a main window and a button to launch a dialog. This is level one. Then that dialog launches a another dialog, which is level 2. Both dialogs are modal. The hierarchy is

      Main Window
      First Level
      Second Level

      Repro Steps:
      On Mac OSX (10.9, but others should repro the same)
      1. Launch the app. Click the first button and second button to get to the second level dialog.
      2. Using the mouse, switch to a Finder window or another application.
      3. Using the mouse, click on the first level dialog.

      Expected:
      The app activates, but the level 2 dialog is above the level 1 as it should be.

      Actual:
      The level 1 dialog will be above the level 2 dialog.

      Attachments

        1. DialogNestTest.zip
          7 kB
        2. fixed.tar.gz
          3 kB
        3. nested_modal.tar.gz
          12 kB

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              nteeuwentableau Nicolas Teeuwen
              Votes:
              7 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes