[Libreoffice-bugs] [Bug 105575] Slow rendering when using a Logo command

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 13 10:28:05 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=105575

--- Comment #20 from Noel Grandin <noelgrandin at gmail.com> ---
So I have done what I can, but fundamentally what is happening is that the
python code that interprets Logo is triggering the rendering too often, and
then it ends up fighting to get access to the SolarMutex, because the main
thread is too busy rendering, and keeps the SolarMutex locked while doing so.

I think the python code can be made a lot faster by things like

(*) keeping track of the position locally, instead of calling setPosition all
the time.
(*) possibly using XMultiPropertySet interface to set multiple properties in
one call.
(*) possibly using lockController()/unlockController() while manipulating the
shape, to prevent a render/repaint from kicking in until it is done with the
current shape manipulation.

But that is someone else's problem, I don't feel like playing with that code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210813/ee576644/attachment.htm>


More information about the Libreoffice-bugs mailing list