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

QQuickMenu is incorrectly placed when embedded in an anchored(AppBar) window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.4.1
    • 5.3.2
    • Quick: Controls 1
    • None
    • Windows 7

      1. Create a QMainWindow and embed a QQuickView in it using QWidget::createWindowContainer()
      2. Setup a QML Button within the QQuickView. Set a menu for this button
      3. Anchor the QMainWindow on the right side of the desktop (using SHAppBarMessage(ABM_NEW) )
      4. Trigger the popup menu. Notice that the menu is displayed outside the app's window

      Expected: the menu is displayed under its corresponding Button
      (see the attached picture which illustrates this issue)

        1. appbar.zip
          7 kB
        2. QQuickMenu issue.png
          QQuickMenu issue.png
          29 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            ccristians Cristian Cioloca-Savan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes