<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Exporting a selected shape of 7x7 to any image format shows size of 7,01 cm when changing DPI to Dots per CM & increase it from 37 to 38 and back, size becomes 7,16 cm"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144279#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Exporting a selected shape of 7x7 to any image format shows size of 7,01 cm when changing DPI to Dots per CM & increase it from 37 to 38 and back, size becomes 7,16 cm"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144279">bug 144279</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>(In reply to Telesto from <a href="show_bug.cgi?id=144279#c6">comment #6</a>)
<span class="quote">> why there is the variation.. 
> * 7,01 cm on dialog initialization. And 6,98 cm after bumping DPI to 97 and
> back to 96. If this is a rounding should end up this way, please make it
> consistent.</span >

This is reasonable. Please limit it to this.

<span class="quote">> * And even worse in case of switching from DPI to Pixel to CM. Where moving
> 37 Pixel the CM up to 38 and back to 37 end up with 7,16 CM not 7,01 cm</span >

No it is fine.

If you look above, I wrote:

<span class="quote">> You define a resolution:
> > Note: assuming DPI 96

> which means that each pixel is exactly 1/96 in ~ 0.264583 mm.</span >

You see that 96 pixels per inch doesn't mean some "round" number of pixels per
cm: 96 PPI = 37.7952755905512... pixels per cm. When you switch from in to cm
in the resolution, the control shows a rounded (down) value, but internally the
resolution is still exactly 96 PPI - which is *correct*, because user might
need just to check some different units without actually change the resolution.
However, when user starts to *modify* the resolution using the new units, the
new value is the integral number of pixels per unit - and when you select 37
again, it is true 37 pixels per cm, not the initial 37.7952755905512... which
you started with. Hence the difference in the size - which is again OK.</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>