Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hello,

I'm looking for someone to help me understand why Impress uses a timer to
"rebuild the API core from the internal structure", i.e. the
MainSequence::maTimer in MainSequence::startRebuildTimer().

I'm working on Bug 118065 (Impress: "UI - Reordering animations is
extremely slow"). I've walked through the code and found the UI does not
redraw the animation list sidebar until after the maTimer expires (timer
currently set to 0.5s). This means that almost anything you do with editing
an animation has a half-second UI lag.

Why is this done on a timer? The code *seems* to function OK if the timer
is made shorter (0.05s), or even if I call implRebuild() directly from
MainSequnec::startRebuildTimer() (i.e., not use the timer). What kind of
things could go wrong by calling it without the timer, or making the timer
very very short?

Thank you for pointing me in the right direction!
Brian.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.