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

Allow QQuickPopup to create a top-level window, instead of the QQuickPopupItem

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.8.0
    • None
    • Quick: Controls 2
    • None
    • Linux/Wayland, Linux/X11, macOS, Windows
    • 953f70179 (dev), 2874586cc (wip/nativemenus), 823026646 (wip/nativemenus), d02f3adad (dev), f218f63cc (6.8), 914c2ef4f (dev), 6a2c2488a (6.8)

    Description

      The popup in QQC2, as well as other popup types (Tooltip, Drawer, Menu, Dialog), create an item in the scene (QQuickPopupItem), instead of a top level window, to display the content inside of.

      This can feel off on desktop systems, especially when showing a dialog to a user.

      In Qt Widgets, dialogs are always top-level windows, and feel much better to use on desktop systems, than the QQC2 Dialog.

      QQC2 Popup needs to have the option to choose between creating a QQuickPopupItem or a Window, to add its content to.

      Adding this logic to QQuickPopup would allow tooltips and menus to appear outside the application's window, which could be useful on some circumstances. But dialogs are clearly the largest elephant in the room.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-121363
          # Subject Branch Project Status CR V

          Activity

            People

              hurlevent Oliver Eftevaag
              hurlevent Oliver Eftevaag
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: