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

      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

        1. qtbug63534.zip
          2 kB
          Jussi Witick
        2. qtbug63534_log.txt
          3 kB
          Friedemann Kleint
        3. qtbug63534_controls_diag.diff
          4 kB
          Friedemann Kleint
        4. qtbug63534.zip
          4 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes