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

unable to assign application to screen 0 when 2 screens

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.10
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      windows 10 / QT5.10 / creator 4.5.0

      Qt Creator 4.5.0

      Based on Qt 5.10.0 (MSVC 2015, 32 bit)

      Built on Dec 4 2017 04:12:22

      From revision fcea6ceba6

      Description

      Using command screen: Qt.application.screens[1] application start to secondary screen but with screen: Qt.application.screens[0] the application start where the mouse is.

      here what is import:

       

      /import QtQuick 2.9
      import QtQuick.Controls 2.1
      import QtQuick.Window 2.3
      
      
      
      
      ApplicationWindow {
          id: window
          visible: true   // this is mandatory
          visibility: Window.Maximized
          screen: Qt.application.screens[1]
      
      /
      

       

        Attachments

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

          Activity

            People

            Assignee:
            fawzi Fawzi Mohamed
            Reporter:
            filipdns philippe denis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes