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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes