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

Auto dismiss Popup windows are hard to implement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.4.1, 5.5.0 Alpha
    • Quick: Controls 1
    • None

    Description

      Currently it's very hard to implement a popup window that gets automatically dismissed when someone click outside it.
      There're some workarounds, like putting a MouseArea under the MainWindow and listen for clicks. However these solutions are very error prone because often they depends on every mousearea to propagate clicked events.
      In the private source code there's already a QQuickPopupWindow that implements this behaviour. The only thing that's missing it just exposing it aa creatable Qml.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              cuke Filippo Cucchetto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes