diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-05-26 13:53:06 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-05-26 14:50:19 (GMT) |
commit | 11a8c52498e8dc74fdfef48e953055338c8f18d7 (patch) | |
tree | cb66294f39a2660bfac73b5dbccd21b85dfb65bc /doc/src/examples/mandelbrot.qdoc | |
parent | cf1e3150247d6694e8c00b924627c66e798f2382 (diff) | |
download | Qt-11a8c52498e8dc74fdfef48e953055338c8f18d7.zip Qt-11a8c52498e8dc74fdfef48e953055338c8f18d7.tar.gz Qt-11a8c52498e8dc74fdfef48e953055338c8f18d7.tar.bz2 |
Redraw issues when removing a fully transparent QGraphicsItem from the scene.
This only happened with fully transparent ancestors (item's
effectiveOpacity() == 0.0). Problem was that we didn't take into
account the ancestors' opacity when removing an item from the scene.
More specifically: The calculated effective opacity for the item was
zero and we ignored update requests. We have to ignore the opacity if
any of the ancestors' ignoreOpacity bit is 1, which means the opacity
is set to 0 and the update request has not yet been processed.
Auto test included.
Task-number: QTBUG-10778
Diffstat (limited to 'doc/src/examples/mandelbrot.qdoc')
0 files changed, 0 insertions, 0 deletions