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

QQC1: QML Menu as a context menu is misplaced if it's used in a embedded QQuickView in a docked QDockWidget

    XMLWordPrintable

Details

    Description

      When embedding a QQuickView inside a docked QDockWidget, QML Menu type context menu is misplaced. The misplacement may be greater or smaller depending on the size of the dock widget and size of the window. If the QDockWidget is not docked, there is no misplacement and the context menu is in a proper position.

      Steps to reproduce:

      • Run attached sample
      • Click (mouse left button) on the red area inside the dockwidget
      • EXPECTED: Context menu opens at the cursor position
      • ACTUAL: Context menu opens with unspecified amount of y-offset

      Attachments

        1. qtbug63534_controls_diag.diff
          4 kB
        2. qtbug63534_log.txt
          3 kB
        3. qtbug63534.zip
          4 kB
        4. qtbug63534.zip
          2 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              jussi_witick Jussi Witick
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes