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

QtQuick Window Dialog created dynamically can't be set with modality

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.0 Beta1
    • Component/s: Quick: Other
    • Labels:
      None
    • Environment:
      Linux
    • Commits:
      8cb02e23abbefc9d020707fc1a2d8b6eb4e103b6 a65ad5e919209f7b934e84516d732eaf2edd227f

      Description

      When I create a qml component dynamically that has a Window as root that is flaged as Qt.Dialog (and only with a Dialog), it doesn't stop the input of the parent when I set the modality. Not with Application nor WindowModality
      This happens when creating from javascript and also with a loader but not when it's directly inside the parent window.
      Attached is a test app I used to reproduce, with combo boxes to select the possible combinations of windows and modality.

        Attachments

        1. dynDialog.tar
          19 kB
        2. QTBUG-33644.tgz
          1 kB

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              labsin sam segers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes