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

QML embedding example Java part doesn't look good on low pixel densities

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7
    • Examples and Demos
    • None
    • Android
    • 2024wk16FOQtforAndroid, 2024wk20s2FOQtforAndroid

    Description

      Earlier the example looked weird on my emulator, but I forgot about it due to other tasks and I also thought that maybe the graphical glitches we saw with changing the orientation might be related. But alas, it was not so.

      So running the example on different AVDs showed a way different looking Java part. After a bit of looking at config files and trying some options it's the low DPI displays that were looking especially weird. I guess the Java part doesn't scale to different pixel densities. Screenshots should show this well - 120dpi, 160dpi, 240dpi and 320dpi are attached below. The resolution was always set to 1080x1920.

      Attachments

        1. qml_in_java_120.png
          qml_in_java_120.png
          98 kB
        2. qml_in_java_160.png
          qml_in_java_160.png
          109 kB
        3. qml_in_java_240.png
          qml_in_java_240.png
          134 kB
        4. qml_in_java_320.png
          qml_in_java_320.png
          126 kB

        Issue Links

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

          Activity

            People

              koalajar Konsta Alajärvi
              olvuolte Olli Vuolteenaho
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes