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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes