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

Screen attached property is not initialized on Component.onCompleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.0.0 Beta 1
    • None
    • qt5 desktop ubuntu
      qtbase: cbc883da6910b3357a4e03d0e2dfa841da1a03e8
      qtdeclarative: ffdbf216dc80b3d781307bb6b4b7150281c874a3

    Description

      printing: Component.onCompleted: print("screen w,h, ", Screen.width, Screen.height)

      gives an output of: "0, 0"

      expected to get a valid value for these variables on Component.onCompleted.

      see test case attached

      Attachments

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

        Activity

          People

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            lscunha Leonardo Sobral Cunha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes