<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 - EDITING: vertical position of controls anchored to cell incorrectly updated when non-default height rows are inserted/deleted above"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107698">107698</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: vertical position of controls anchored to cell incorrectly updated when non-default height rows are inserted/deleted above
          </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>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>gisel.avaleazar@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
In my spreadsheet I have buttons and images anchored to Cell. I also use rows
of various heights.
When I insert rows or remove rows then the controls are not displayed correctly
anymore at the right position relative to their anchored cell.

I've created a simple test spreadsheet d/l here:
<a href="https://www.dropbox.com/s/u5zbrgb6u5vzt1m/33test.ods?dl=0">https://www.dropbox.com/s/u5zbrgb6u5vzt1m/33test.ods?dl=0</a>

Inserting rows with the smaller 0.11 inch height creates a shift down
Inserting rows with default height keeps the control on the right spot.

Steps to Reproduce:
1. select row 8
2. l-shift click row 17 (so select rows 8 to 17)
3. right click (context menu): Insert Rows Above
4. repeat 3 for increased effect

Actual Results:  
the control has shifted relatively to it's anchor cell

Expected Results:
maintain the same relative position to it's anchor cell


Reproducible: Always

User Profile Reset: No

Additional Info:
office version: Version: 5.3.1.2 (x64)
Build ID: e80a0e0fd1875e1696614d24c32df0f95f03deb2

testfile: <a href="https://www.dropbox.com/s/u5zbrgb6u5vzt1m/33test.ods?dl=0">https://www.dropbox.com/s/u5zbrgb6u5vzt1m/33test.ods?dl=0</a>


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101
Firefox/53.0</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>