Priority: P1: Critical
Affects Version/s: 5.9.2
Fix Version/s: None
Component/s: Quick: Controls 2
Environment:Qt5.9.2, QtQuick 2.9, QtQuick Controls 2.2, Samsung Note 5 with Android 7.0 and tested with screen resolutions HD(1280*720) FHD(1920*1080) and WQHD(2560*1440), Windows 10 for development.
[Even if it seems duplicate, Can someone please mention a possible solution to this bug? Just closing the bug doesn't solve a user problem.]
In Qt5.9.2, I created a black rectangle inside a red ApplicationWindow for Samsung Note-5 with screen resolutions 1280*720, 1920*1080, 2560*1440 and Android-7.0 in two ways:
- A rectangle having the same width and height of the ApplicationWindow
- anchors.fill : parent
But in both ways the response is same - rectangle doesn't fill the entire ApplicationWindow. You can see about a pixel line on top side and about a pixel line on right side of the ApplicationWindow which is not filled. Even if I make a much larger Rectangle than the ApplicationWindow itself, I get the same output.
I noticed that If I try to nest rectangles and fill the parent rectangle with a child one then I get the completely filled parent rectangle without any issues.
Here I have attached a picture and a working project for testing.