<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 - element sizes are displayed wrong"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107878">107878</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>element sizes are displayed wrong
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.1.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Draw
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>roland.illig@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Description:
When I define a rectangle to be 2cm times 2cm, I expect it to have exactly this
size, at least to a precision of 10 decimal digits. Nevertheless, Draw gets the
third digit of the size wrong, showing 2.01 cm instead.
Steps to Reproduce:
1. Create a new document.
2. Draw a rectangle, set its width and height to "2 cm".
3. Click outside the rectangle
4. Click on the rectangle
Actual Results:
The width and height is displayed as "2.01 cm".
Expected Results:
The width and height is displayed as "2.00 cm".
Reproducible: Always
User Profile Reset: No
Additional Info:
When saving the rectangle to a file, the correct size is saved:
<office:drawing>
<draw:page
draw:name="page1"
draw:master-page-name="Standard"
draw:style-name="dp1">
<draw:custom-shape
draw:style-name="gr1"
svg:y="3cm" svg:x="3cm"
svg:height="2cm" svg:width="2cm"
draw:layer="layout" draw:text-style-name="P1">
<text:p/>
<draw:enhanced-geometry
draw:enhanced-path="M 0 0 L 21600 0 21600 21600 0 21600 0 0 Z N"
draw:type="rectangle"
svg:viewBox="0 0 21600 21600"/>
</draw:custom-shape>
</draw:page>
</office:drawing>
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36</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>