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

QMenu on QToolbar opens only on the primary display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.15.0
    • Widgets: Main Window
    • None
    • Windows

      When putting a QMenu on a QToolbar in QMainWindow and having the window open on a secondary display, activating the menu displays it on the edge of the primary display instead of under the button where it should be.
      Very easy to reproduce:
      1. Start Qt Main Window Example.
      2. Drag the Window to a secondary display.
      3. Click on a Qt menu on the toolbar.

      The issue does not exist with Qt 5.13.1

        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
            pro-micron Steffen Mazur
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes