https://bugs.kde.org/show_bug.cgi?id=473164

--- Comment #4 from Alvin Wong <al...@alvinhc.com> ---
(In reply to wolthera from comment #2)
> I still get 'flickers' where Krita will also complain about "KoRTree::insert
> boundingBox isNull setting size to QSizeF(0, 0)", which I initially thought
> was related, but no matter how late I put 'clearAssociatedOutlines' in the
> textLayout code, the flickers would happen, so my current theory is that
> they're caused by the combo of (parsing svg and populating the kotextshape)
> + (text layout), which means that direct editing of the inline-size property
> and having that emit shapeChanged() signal might be a good next step, but I
> guess I'll get to that during phase 1.

I know what causes this, it's that SvgParser::addToGroup (called from
SvgParser::parseTextElement) uses KoShapeGroupCommand which triggers the
update/repaint of the shape, combined with how the shape update compressor
works, and this results in the shape sometimes being painted when the shape is
still empty. I asked Dmitry about this some time ago but it didn't went far.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to