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

Implement support for native Popups and Menus

    XMLWordPrintable

    Details

      Description

      Popup and Menu seem to be implemented as adding a QtQuick item to the parent window instead of opening a new window.

      This has some drawbacks that make it very hard to properly implement context menus:

      • The context menu is clipped to the parent window. That means the context menu is cut off if the parent window is small (like a small notification window / message box)
      • The context menu gains focus when opened, which means the control that previously had focus looses it. This makes it impossible to implement a "Copy" action in a context menu, as the textedit that had focus previously looses it, which clears the selection (and therefore the copy action has nothing to copy anymore)

      Menu and Popup should be normal windows, at least on the desktop, to be able to implement context menus that behave properly.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mitch_curtis Mitch Curtis
              Reporter:
              tmcguire_pix4d Thomas McGuire
              Votes:
              11 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes