Hi,
I am looking for reviews for this workaround:
https://bugs.freedesktop.org/attachment.cgi?id=46870
(also attached to this mail) for issue:
https://bugs.freedesktop.org/show_bug.cgi?id=37325
to get the patch on the 3.4 branch (only). This is a workaround to get
the test suite run without failure. The test failure might point to an
more serious issue, this is only a workaround. For that it needs to be
investigated, if there is indeed a serious breakage in headless mode
functionality. Then, the root cause must be fixed and the workaround
has to be reverted.
Best,
Bjoern
--
https://launchpad.net/~bjoern-michaelsen
--- a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java
@@ -76,7 +76,9 @@ public class UnoScrollBarControl extends TestCase {
XWindow xWin = xFrame.getContainerWindow();
Toolkit tk = Toolkit.getDefaultToolkit();
- Dimension dim = tk.getScreenSize();
+ // breaks on LO 3.4.0.1 in headless
+ // Dimension dim = tk.getScreenSize();
+ Dimension dim = new Dimension(800, 600);
Rectangle newPosSize = xWin.getPosSize();
newPosSize.Width = new Double(dim.getWidth()).intValue();
Context
- [Libreoffice] [REVIEW] workaround for fdo#37325 toolkit.UnoScrollBarControl fails on 3.4.0.1 in headless mode · Bjoern Michaelsen
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.