<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 - Replace cropped image results in loss of aspect ratio"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107747">107747</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Replace cropped image results in loss of aspect ratio
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.2.5.1 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>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mohith.manoj@skanray.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Situation
* An image is inserted into a text document.
* The image is cropped within writer.
* This image is replaced (Context menu > Replace..)

Expected outcome
* Old image is replaced with new one and the crop is reset.
OR
* Old image is replaced with new image, the crop is retained however the aspect
ratio of the new image is not disturbed.

Observed outcome
* Old image is replaced with new image.
* Crop is reset.
* Old image width and height is applied to the new image without respecting the
aspect ratio.

It's not very difficult to resolve this, take image properties and correct the
aspect ratio in the 'Crop' tab. Similar to the behavior in Imress (<a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Cropped images loose aspect ratio when fit into frame."
   href="show_bug.cgi?id=107746">Bug 107746</a>)
but not as severe.</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>