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

The Overlay.modal of the Popup remains displayed after being destroyed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 6.5.3
    • None
    • All

      I destroyed a Popup set as modal, and the Overlay.modal object remains displayed. This issue occurs whether using a custom overlay or the default one. I've tested versions 5.15.2, 6.5.1, and 6.5.2, and this issue doesn't exist in them. If I first close it and then destroy it, everything works as expected. However, in actual software development, we can't guarantee that it will always go through the close process.

       

      Using test code, you can see that after clicking once, the popup will open, and then after clicking again, it will close. The expected behavior is to return to a completely black interface. However, in version 6.5.3, the green overlay remains.

        1. main.qml
          0.8 kB
          Jason Wong
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jasonwong Jason Wong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes