Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0, 5.6, 5.7, 6.2.0 FF
-
None
-
37540467ca516c3732bd276f49e27db824b4ea0b (qt/qtdeclarative/wip/qtquickcontrols2)
Description
Given an item at (0,0) and width/height (300,300) its rectangle should span from 0 to 299 (given that 0 is inclusive)
I should expect item.contains(300,300) to return false.
https://code.woboq.org/qt5/qtdeclarative/src/quick/items/qquickitem.cpp.html#_ZNK10QQuickItem8containsERK7QPointF
shows that the points outside the rect are considered
Attachments
For Gerrit Dashboard: QTBUG-55958 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
353089,16 | QQuickItem change contains function behavior | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
357643,2 | QQuickItem change contains function behavior | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |