Details
Description
With the new hardware of Apple released, I started to port older software.
The issue:
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 home indicator 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.
Noticable feedback from the QtCreator console:
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
Attachments
Issue Links
- is duplicated by
-
QTBUG-40536 iOS: status bar should be a part of app window as some animations have to go "under it"
- Closed