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

QtQuick Menu pop-up appears in wrong location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.2.0
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Mac 10.8.x. Xcode 4.6. Qt 5.1.0 (from sources, as of Aug 5, 2013).
      Windows 7
    • Commits:
      9554088557571d5c6b96c710424e591ab8db4e0d, 8fd71914b43350a21c0c05051c1a6e24e9d8cb85

      Description

      I've included a short program to demonstrate the issue.

      qmake, make, run the application. Click in the white area. Combo box appears, but relative to top left of screen. Should appear relative to Window.

      On Mac OS, put a Qml view in a QWidget using createWindowContainer.

      The Qml contains a Menu with a popup() method.

      The menu appears relative to the top left of the screen rather than the enclosing window.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              dedietri Gabriel de Dietrich (drgvond)
              Reporter:
              cmeyer Chris Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes