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

[macOS] Modality of QMessageBox does not work

    XMLWordPrintable

Details

    Description

      Setting Window Modality in QMessageBox does not work on Mac.

      On a mac, When the message Box is started from the dialog and is set to ApplicationModal and then if you switch to other application (to loose the focus) and then click back to dialog Message Box goes behind the parent dialog. (it may need couple of clicks to reproduce).

      This does not happen on windows.

      Attached example and video shows this.

      Update:
      The trick to reproducing it is to set the parent of the messagebox to be active, then switch back and forth to another application, then the messagebox will go behind again.

      Attachments

        1. QTBUG-46601.zip
          5 kB
        2. screen_rec.mov
          3.95 MB

        Issue Links

          Activity

            People

              vestbo Tor Arne Vestbø
              qtcomsupport Qt Support
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: