Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.10, 5.15.2
-
None
-
-
724e4646e2 (qt/qtbase/dev) 724e4646e2 (qt/tqtc-qtbase/dev) 2e2d544588 (qt/qtbase/6.2) 2e2d544588 (qt/tqtc-qtbase/6.2) b0b88f3420 (qt/qtbase/6.3) b0b88f3420 (qt/tqtc-qtbase/6.3) 41637c0727 (qt/tqtc-qtbase/5.15)
Description
The attached repro and gif shows the issue where text glyphs in a graphics scene gets clipped when another item is moved over them. This is because when moving a graphics item the clip rect is set to avoid repainting more than needed.
I debugged it a bit and found 2 issues in the raster engine that contributed to this, see attached patch for a suggested fix. Not sure if it is the correct thing to do but from my debugging it seemed like the clip rect was always correct, and it only really fails for this case so I just assumed this code needed to be adjusted.