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

Mac: non-modal QWindow called from application-modal QDialog is inoperable

XMLWordPrintable

      If you call a nonmodal QWindow from an applicationmodal QDialog, the QWindow appears behind the QDialog and is inoperable.
      To demonstrate this issue, I extended the qt-example 'windowflags' (see attached zip-File).
      From the 'windowflags' - Window, choose 'QDialog' and 'applicationmodal', click 'show Window' (window.png)
      From the 'Preview' - Window, choose 'Window' and 'nicht modal', click 'show Window' (dialog_applicationmodal.png)
      The next Window shows the resulting error (window_unreachable.png).

      Same code works under MS-Windows 8.1 as expected (non-modal QWindow in front of an application-modal QDialog).

        1. dialog_applicationmodal.png
          203 kB
          Brigitte Dunsbach
        2. window.png
          173 kB
          Brigitte Dunsbach
        3. window_unreachable.png
          226 kB
          Brigitte Dunsbach
        4. windowflags.zip
          13 kB
          Brigitte Dunsbach
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            bidi Brigitte Dunsbach
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes