Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] Initial Screen drawing area on iOS Bug?
Qt 6.11 is out! See what's new in the release blog

[Solved] Initial Screen drawing area on iOS Bug?

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 420 Views 1 Watching
  • 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.
  • patrikdP Offline
    patrikdP Offline
    patrikd
    wrote on last edited by patrikd
    #1

    found the reason:
    Screen.orientationUpdateMask: Qt.LandscapeOrientation | Qt.PortraitOrientation | Qt.InvertedLandscapeOrientation | Qt.InvertedPortraitOrientation
    was set to late in my code.

    Hi all,
    I'm running into a strange behaviour. When I start my application on iOS in landscape the Screen.orientation in my ApplicationWindow qml file returns 1 for portrait and related Screen.width and Screen.height calls return the values for portrait mode. The drawing area is than only the portrait width, so I get a dead area on the right side.
    Looks like the bug which was introduced with iOS8 and than fixed with 5.4. But this also appears on iOS7.x.
    Interesting thing is that within my main.cpp screen->availableGeometry().width()/height() return the correct values.
    After rotating the screen to portrait and back to landscape everthing is recognized correct.
    Does anyone knows anything about that behaviour?
    (using latest qt version)
    Thx,
    Patrik

    1 Reply Last reply
    0

    • Login

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