<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - make CppunitTest_emfio_emf CPPUNIT_TEST_NAME=TestLinearGradient fails on Windows with UI scale 150%"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131644">131644</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>make CppunitTest_emfio_emf CPPUNIT_TEST_NAME=TestLinearGradient fails on Windows with UI scale 150%
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bibisectNotNeeded, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikekaganski@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>gang65@poczta.onet.pl
</td>
</tr></table>
<p>
<div>
<pre>make CppunitTest_emfio_emf CPPUNIT_TEST_NAME=TestLinearGradient fails on
Windows with UI scale 150%.
<span class="quote">> make CppunitTest_emfio_emf CPPUNIT_TEST_NAME=TestLinearGradient
> C:/cygwin/home/user/lode/opt/bin/make -j 4 -rs -f C:/cygwin/home/user/lode/dev/core/Makefile.gbuild CppunitTest_emfio_
> emf
> [CUT] emfio_emf
> warn:emfio:16536:21072:emfio/source/reader/emfreader.cxx:804: unknown id: 0x50504e54
> warn:emfio:16536:21072:emfio/source/reader/emfreader.cxx:804: unknown id: 0x50504e54
> C:/cygwin/home/user/lode/dev/core/test/source/xmltesttools.cxx:168:`anonymous namespace'::Test::TestLinearGradient
> equality assertion failed
> - Expected: m0 0.216110019646294h7615.75822989746v7610.21611001965h-7615.75822989746z
> - Actual : m0 3805.32416502947h11423.6373448462v11415.3241650295h-11423.6373448462z
> - In <>, attribute 'path' of '/primitive2D/metafile/transform/mask/svglineargradient[1]/polypolygon' incorrect value.
>
> `anonymous namespace'::Test::TestLinearGradient finished in: 91ms
> C:/cygwin/home/user/lode/dev/core/test/source/xmltesttools.cxx(168) : error : Assertion
> Test name: `anonymous namespace'::Test::TestLinearGradient
> equality assertion failed
> - Expected: m0 0.216110019646294h7615.75822989746v7610.21611001965h-7615.75822989746z
> - Actual : m0 3805.32416502947h11423.6373448462v11415.3241650295h-11423.6373448462z
> - In <>, attribute 'path' of '/primitive2D/metafile/transform/mask/svglineargradient[1]/polypolygon' incorrect value.
>
> Failures !!!
> Run: 1 Failure total: 1 Failures: 1 Errors: 0
> warn:fwk.desktop:16536:21072:framework/source/services/desktop.cxx:1065: Desktop disposed before terminating it
> warn:fwk.desktop:16536:21072:framework/source/services/desktop.cxx:179: Desktop not terminated before being destructed
>
> Error: a unit test failed, please do one of:
> make CppunitTest_emfio_emf CPPUNITTRACE=TRUE # which is a shortcut for the following line
> make CppunitTest_emfio_emf CPPUNITTRACE="'C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/deve
> nv.exe' /debugexe" # for interactive debugging in Visual Studio
> make CppunitTest_emfio_emf CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, a
> nd put it to your PATH)
>
> You can limit the execution to just one particular test by:
>
> make CppunitTest_emfio_emf CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
>
> make[1]: *** [C:/cygwin/home/user/lode/dev/core/solenv/gbuild/CppunitTest.mk:113: C:/cygwin/home/user/lode/dev/core/wo
> rkdir/CppunitTest/emfio_emf.test] Error 1
> make: *** [Makefile:166: CppunitTest_emfio_emf] Error 2</span >
Regression after
<a href="https://git.libreoffice.org/core/+/1f540cc7613cdbc0048f4013efe43886d256f86b">https://git.libreoffice.org/core/+/1f540cc7613cdbc0048f4013efe43886d256f86b</a>
Bartosz, do you have an idea how to exclude it from testing when DPI is not
default, or maybe pass some params to the function that will make gradient
handling DPI-independent?
(IMO each and every instance of DPI dependence that is not at the time of
actual screen output is a bug, so likely your test revealed an actual bug.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>