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

In Scene3D, Qt3D viewport not correctly scaled for Retina/HiDPI displays

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0 Beta
    • Fix Version/s: 5.7.0 RC
    • Component/s: Qt3D
    • Labels:
      None
    • Environment:
      Ubuntu 16.04 LTS, x86_64, kernel 4.4.0-18-generic
    • Commits:
      Ibc3d184285a00c61233ce00d0c39f5db2e34ce89

      Description

      Using HiDPI, the content of Scene3D QML element is not correctly scaled, rather it is display at the bottom-left of it and clipped.

      This bug is very easy to reproduce:
      1. Take the example scene3d from qt3d examples
      2. Enable HiDPI in main.cpp:
      QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
      3. Run the example on a HiDPI display, you will see the problem

      This bug seems close to bug QTBUG-45369, but affects Qt Quick embedding Qt3D content rather then C++ embedding Qt3D content.

        Attachments

        For Gerrit Dashboard: QTBUG-53601
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              e0150566 Janne Koskinen
              Reporter:
              stephane.magnenat St├ęphane Magnenat
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes