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

[REG] QML window become empty after devicePixelRatio changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.10.1
    • 5.10.0
    • None
    • Qt-5.10.0

      Mac OSX 10.13.2

      15.4 (2880 x 1800)    devicePixelRatio=2
      23.5 (1080 x 1920)    devicePixelRatio=1
    • 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
          99 kB
          su lin
        2. 20180110163525.png
          5 kB
          su lin
        3. 20180113224836.png
          17 kB
          su lin
        4. 20180113224845.png
          4 kB
          su lin
        5. 20180113225028.png
          27 kB
          su lin
        6. 20180113225049.png
          8 kB
          su lin

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: