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


Hi Thorsten!

Thanks for the hint with the Scheduler method.
Unfortunately, it did not change anything...

I figured another way to do the unit test:

I want to check that no "POR_FLY" portions are created in the document. 
A first ugly patch is here

     https://gerrit.libreoffice.org/#/c/60319/

and I added you as a reviewer.

Do you have an idea how to iterate over all "Special" parts of a text node?
My first solution is really, really ugly.

Regards,
Patrick


Am 08.09.2018 um 01:35 schrieb Thorsten Behrens:
Hi Patrick,

Patrick Jaap wrote:
So, the first one is equal, but the other ones are shifted by 333.

How can this be caused? Is this a bug?

Looks odd indeed. First thing that comes to mind: layouting continues
asynchronously after the load - perhaps a
Scheduler::ProcessEventsToIdle() helps. See uiwriter.cxx for a few
examples where that is used.

Other than that, all a bit speculative. Any code / patch yet to look
at?

Cheers,

-- Thorsten


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.