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


On 30.12.2017 09:49, Luke Benes wrote:

I'm setting the Subsequent test toolkit fail on my Win 10 machine require HiDPI. Any idea if this 
is a problem with the test or if it's showing a problem with LO's HiDPI support?

Steps to reproduce:
1. In win 10, Settings -> Display -> Scale -> 125% (or more)
2. Reboot
3. $ make JunitTest_toolkit_complex

The test passes at 100%, but for 125%+

--------------------------------------------------------------------------------
starting class: complex.toolkit.UnitConversion
connecting ...
.Window position and size in pixel:
X:107
Y:100
Width:640
Height:480

that's odd, i only have Windows 7 so i can't reproduce this, the hi-dpi
scaling apparently exits since Windows 8; so i've tried to create a
patch that reads the DPI setting from the registry and just disables the
test if it's not the default, which is now in master.

because reading the registry from Java is apparently an area of active
research [1] i've converted the test to C++ first.

[1]
https://stackoverflow.com/questions/62289/read-write-to-windows-registry-using-java


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.