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

QtQuick Menu pop-up appears in wrong location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.2.0
    • 5.1.0
    • Quick: Controls 1
    • None
    • Mac 10.8.x. Xcode 4.6. Qt 5.1.0 (from sources, as of Aug 5, 2013).
      Windows 7
    • 9554088557571d5c6b96c710424e591ab8db4e0d, 8fd71914b43350a21c0c05051c1a6e24e9d8cb85

      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.

        1. ComboBoxWrongLocation.zip
          4 kB
          Chris Meyer
        2. ComboBoxWrongLocation2.zip
          4 kB
          Chris Meyer
        3. qtbug32826.zip
          5 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes