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

QMenu pops up on wrong screen

    XMLWordPrintable

Details

    • Windows
    • 851dc581cf (qt/qtbase/dev) f37df6f3a8 (qt/qtbase/6.3) 5e91d81180 (qt/qtbase/6.2)

    Description

      Porting my application from PySide2 version 5.14.1 to PySide6 6.2.4 I noticed that the app menus would always show on my left-most monitor. The app would always start on the left most monitor too, whereas the older code would start on the primary monitor (center). I'm filing this bug under Qt instead of PySide because I don't think it's related to PySide at all and hopefully it'll get more eyes on the bug here.

       

      I have a multiple monitor setup, but Qt6 seems to think I have only one monitor?

      Qt6:

      In [8]: screens = app.screens()

      In [9]: screens

      Out[9]: [<PySide6.QtGui.QScreen(0x2b0725a5350, name="ASUS VH232H") at 0x000002B073B27840>]

      Qt5:

      In [3]: app.screens()

      Out[3]:
      [<PySide2.QtGui.QScreen(0x253f28f4610, name="\\\\.
      DISPLAY3") at 0x00000253F4114B00>,
      <PySide2.QtGui.QScreen(0x253f28f4110, name="\\\\.
      DISPLAY1") at 0x00000253F4114D00>,
      <PySide2.QtGui.QScreen(0x253f28f46d0, name="\\\\.
      DISPLAY2") at 0x00000253F4114C80>]

       

      All 3 monitors are all the same make and model, all at the same resolution, all attached to a single video card (Radeon RX 570).

       

      Seems directly related to QTBUG-97533

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              anrocha André De La Rocha (Inactive)
              ecejeff Jeffrey Nichols
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes