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


Hello all,

Markus Mohrhard schrieb am 08-Oct-18 um 22:42:
Hello Regina,

On Mon, Oct 8, 2018 at 7:54 PM Regina Henschel <rb.henschel@t-online.de
<mailto:rb.henschel@t-online.de>> wrote:

    Hi all,

    does no one has an idea? I have put the problem as patch to Gerrit
    https://gerrit.libreoffice.org/61545. Perhaps my problem is easier
    understandable then.

    Problem: If I use the "Load"-method, I get the document loaded, but
    only
    the center pane has the correct size. All other window sizes have
    suspicious values. Especially the LayerTabBar has width 0, and
    therefore
    a click on it is not possible. But that would be needed for the unit
    test.


Many of the unit tests actually don't include any parts of the UI. So,
they are usually useless for testing that anything in the UI actually
works.

I had looked around, but didn't find a test, which I could use as template for my test.

For some tests you can work around it by hooking into the
corresponding shell but you will need to inspect the code and the setup
of the test (e.g. your test does not link against libsdui) to check if
that is possible. I think not many people can easily help you there for
impress and draw code.

And those familiar with Draw/Impress have a lot of more important things to do.

I have made a little bit progress. I have initialized the size of the ContainerWindow of the Frame with meaningful values (size defaults to zero) and set it to Show(true). Now I get a LayerTabBar with correct outer rectangle.

But the rectangles of the single tabs are empty and therefor the hit test for the mouse event fails. Other properties of the tabs like id, label text and associated layer are correct.

So I still need to investigate what is missing.

Kind regards
Regina

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.