Skip to content

馃崚manually position tooltip so it's correct

Harald Sitter requested to merge work/cherry-pick-47eaad04 into release/24.05

Qt tries to reposition when there isn't enough space and gloriously fails. Instead adjust the coordinates such that Qt has no reason to reposition.

since this adds a lot of code we now have a shared shapetooltip item that is used by the centershape and the segmentshape. also correctly set shapeitem as parent for our tooltip (the coordindates are relative to it because our mouseyarea is on top of shapeitem)

BUG: 487339

(cherry picked from commit 47eaad04)

Merge request reports