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();
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice