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

QMenu on QToolbar opens only on the primary display

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Platform/s:
      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

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              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