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

QDesktopWidget::primaryScreen() always return the old value.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 4.8.5, 4.8.6, 5.3.1
    • None
    • Linux, XRandR 1.3, Qt: 5.3, XCB backend

      QDesktopWidget::primaryScreen() should return the primary screen. I changed the primary screen to my second monitor with xrandr, but QDesktopWidget::primaryScreen() always returned the old stored value and never updated with my changes.
      The primary screen might be changed. QDesktopWidget should be aware of the change and update the value accordingly.

        For Gerrit Dashboard: QTBUG-40659
        # Subject Branch Project Status CR V

            Unassigned Unassigned
            pcman Hong Jen Yee
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes