Priority: P2: Important
Affects Version/s: 5.9.2, 5.10.0
Component/s: Quick: Core Declarative QML
Environment:QtCreator 4.4.1 based on Qt 5.9.2 Clang 7.0
Qt-Version used for the App 5.9.2,latest official release
Xcode Version used: 9.1
Buildsettings: ios 11.1 sdk
MacOS Sierra: Version 10.12.6
Target Device: +iPhone X+ with +ios 11.1.2+
With the new hardware of Apple released, I started to port older software.
The ported application will not fill the whole display, even so no size constrains are applied.
As a note. The issue that the app does not full the whole display only appears when the iPhone is in portrait mode. In landscape mode the app does fill the whole screen.
For reproducibility I used the "calculator-qml" example that comes with QtCreator: Can be found here.
Intitial changes: removal of 'width:320' and 'height: 480' of the windows-item to force fullscreen.
The App goes up to the top and wraps around the notch, this is expected. Apple advices developers to fix this with new margins. However the app does not reach the bottom where the is, this area remains black. The App appears to not stretch all the way down there.
Changing the QtQuick.Window import from 2.0 to any higher version, 2.1 or 2.2 or 2.3, results in a different behavior.
The App does now stretch all the way down the the edge of the display, but it no longer stretches to the top of the display. The notch and a few milimeters below remains black and unaccessable.
This is also the behavoir, when I tried a QWidget Application this one from the official examples
Removing Window-Item and replacing the root-item with a simple Rectangle results in a completly black application.
No issues or warnings during compiling.
QML debugging is enabled. Only use this in a safe environment
Jit is disabled for QML. Property bindings and animations will be very slow.
stale focus object(0x0), doing manual update