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

Popup Menu opens at the wrong position in QQuickView embedded in QWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.5.1, 5.6.1
    • Quick: Controls 1
    • None
    • Windows 10

      I have created a QWidget from a QQuickView using QWidget::createWindowContainer(). My widget is inside my main window and does not fill the entire window. My main.qml contains a Menu that I open on mouse click using Menu.popup(). The menu opens but it is not at the cursor position. it is actually at cursorPos + My widget's pos in its toplevel window.

      Note: I saw similar issues which have been marked resolved.

      I am on Windows 10 with two screens.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            celandre dzimiwine celandre
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes