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

QMenu on QToolbar opens only on the primary display

    XMLWordPrintable

Details

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

    Description

      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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes