diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-09-28 12:24:38 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-09-28 12:28:52 (GMT) |
commit | f9d6862d13ae38c59ec4a58092c8126620801e0b (patch) | |
tree | a9f964410b1b8ef17349014252822a15137a3e3e /src/network/kernel | |
parent | f85545a53bae8cbfbc0192d4730d181d7525a65d (diff) | |
download | Qt-f9d6862d13ae38c59ec4a58092c8126620801e0b.zip Qt-f9d6862d13ae38c59ec4a58092c8126620801e0b.tar.gz Qt-f9d6862d13ae38c59ec4a58092c8126620801e0b.tar.bz2 |
QGraphicsItem with parent flag ItemClipsChildrenToShape not visible
Regression against Qt 4.4. Children of items with ItemClipsChildrenToShape
would only be discovered if the view's expose region contained the outer
bounding rect of all items, _if_ there was at least one item in the
scene that enabled ItemIgnoresTransformations.
The reason for this bug is that the presence of an untransformable item
causes the item lookups to go through a different path
(QGraphicsViewPrivate::itemsInArea()). This function had the bug that it
didn't correctly discover children of clip-items. Because of this, in
the provided test case you could "work around" the bug by either removing
the clip flag, or the transformation flag.
Task-number: QTBUG-4151
Reviewed-by: Alexis
Diffstat (limited to 'src/network/kernel')
0 files changed, 0 insertions, 0 deletions