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

QDesktopWidget::primaryScreen() is always 0 and QGuiApplication::screens() always returns the primary one as first

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.1.0
    • GUI: Window management
    • None

    Description

      Regardless of how the displays are laid out, QDesktopWidget::primaryScreen() is always 0 and the list from QGuiApplication::screens() is delibrately (and documented to do so) ordered so that it is first in the list too.

      This can be problematic if people need it to be in the order that the platform would consider the screens.

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes