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

[REG] QML window become empty after devicePixelRatio changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.10.0
    • Fix Version/s: 5.10.1
    • Labels:
      None
    • Environment:
      Qt-5.10.0

      Mac OSX 10.13.2

      15.4 (2880 x 1800)    devicePixelRatio=2
      23.5 (1080 x 1920)    devicePixelRatio=1
    • Commits:
      7d1962cada48f8c351909d1ccc14b13c3adaa542

      Description

      No source code, You can reproduction this issue by the official Example.

      QT/Examples/Qt-5.9.3/quick/demos/calqlatr

       

      I run this example on Qt-5.10.0 + Mac OSX 10.13.2, with two Display Device.

      15.4 (2880 x 1800)    devicePixelRatio=2
      23.5 (1080 x 1920)    devicePixelRatio=1

       

      At the beginning, It runs fine on 15.4(2880x1800). After I drag the QML window to 23.5(1080x1920), It become empty.

       

      I tested it on Qt-5.9.3, this issue didn't appear.

        Attachments

        1. 20180110163506.png
          20180110163506.png
          99 kB
        2. 20180110163525.png
          20180110163525.png
          5 kB
        3. 20180113224836.png
          20180113224836.png
          17 kB
        4. 20180113224845.png
          20180113224845.png
          4 kB
        5. 20180113225028.png
          20180113225028.png
          27 kB
        6. 20180113225049.png
          20180113225049.png
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              sisyphsu su lin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes