Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. iPad rendering corruption (6.0.1, 6.0.2, 6.1.0 preview)
QtWS25 Last Chance

iPad rendering corruption (6.0.1, 6.0.2, 6.1.0 preview)

Scheduled Pinned Locked Moved Unsolved Qt 6
iosipadqt6
6 Posts 3 Posters 837 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Supernauris
    wrote on 3 Mar 2021, 13:16 last edited by Supernauris 3 Apr 2021, 05:45
    #1

    I have an application that runs on desktop and mobile devices.

    I ported the app from Qt 5.15 to 6.0 and found that the graphics are not rendered correctly in Qt6 (they were fine in 5.15 and work on desktop versions with Qt6).

    When the app starts the splash screen is shown correctly. I think this is not coming from Qt, but from the iOS splash screen engine.

    Once Qt kicks in, the graphics are clipped severely: Only 70-80% of the screen is covered by the application. There are gray bands at the bottom and right edge of the screen.

    I can also see graphics artifacts that look like incorrect redraws. A horizontal band of "old" pixels is often visible after a widget is redrawn.

    The application believes it has the right resolution and layout. Interaction also works in the "invisible areas", so I can press buttons etc, even if they are inside the gray bands. The behaviour is identical on the most recent Qt releases (6.0.1, 6.0.2, 6.1.0 beta1).

    I am using a 10.2 inch 2019 iPad with 2160 x 1620 pixels physical resolution and iOS 14.4. QScreen reports that the display has a resolution of 1440 x 1080 pixels, with pixel scale of 1.5 (which matches the physical resolution). Similarly the main widget is 1440 x 1080 pixels.

    The app runs in full-screen mode (activated via info.plist "UIRequiresFullScreen" tag).

    Does anyone have similar (or dissimilar) experience? Any ideas on how to solve this?

    PS. I am not sure if this topic should be in Qt6 or the mobile forum section - it matches both.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eyllanesc
      wrote on 3 Mar 2021, 15:30 last edited by
      #2

      I recommend you report that bug in https://bugreports.qt.io/

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Supernauris
        wrote on 3 Mar 2021, 16:26 last edited by
        #3

        Bug report filed: https://bugreports.qt.io/browse/QTBUG-91530

        1 Reply Last reply
        1
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Mar 2021, 19:18 last edited by
          #4

          Hi,

          Since it's mainly Qt 6, it's the right place.

          Can you provide a minimal compilable example on the bug report ? That will help pinpoint the issue.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Supernauris
            wrote on 4 Mar 2021, 07:25 last edited by
            #5

            Example code and screenshot added to the bug report.

            1 Reply Last reply
            1
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Mar 2021, 08:12 last edited by
              #6

              Great ! Thank you very much.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              1/6

              3 Mar 2021, 13:16

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved