<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 - Two Calc crashes when editing a comment box that is half in a frozen row and half not. (text selected)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143827">143827</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Two Calc crashes when editing a comment box that is half in a frozen row and half not. (text selected)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.4.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>hmblair@hotmail.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have twice had a crash in Calc for similar reasons:
<a href="https://crashreport.libreoffice.org/stats/crash_details/2d47a7b6-0ae7-46c5-98a9-9dfa30ae018f">https://crashreport.libreoffice.org/stats/crash_details/2d47a7b6-0ae7-46c5-98a9-9dfa30ae018f</a>
and
<a href="https://crashreport.libreoffice.org/stats/crash_details/beb94f86-d396-419d-b98e-8072e3e61a98">https://crashreport.libreoffice.org/stats/crash_details/beb94f86-d396-419d-b98e-8072e3e61a98</a>

In both cases I was trying to edit a comment, and the yellow box was half in a
frozen row and half in the two rows below. All the text was parallel to the
frozen row. I tried selecting a number of characters in the comment, and then
changed them. Then Calc crashed. After the first crash I found the text had
been changed successfully. In the second instance I did not change anything. 

At the time there was another calc sheet open. Now I have closed that and have
been able to edit the comment (still straddling the frozen line) successfully.

Steps to Reproduce:
1. Open two spreadsheets in Calc
2. Make sure that the first row is frozen (i.e. select cell C2, then
View->Freeze Rows and Columns)
3. In a cell that has a comment, e.g. in the second or third row, e.g. AD2
(first crash) or C3 (second crash), try editing it.
4. Edit the comment

Actual Results:
Crash 1:
<a href="https://crashreport.libreoffice.org/stats/crash_details/2d47a7b6-0ae7-46c5-98a9-9dfa30ae018f">https://crashreport.libreoffice.org/stats/crash_details/2d47a7b6-0ae7-46c5-98a9-9dfa30ae018f</a>

Crash 2:
<a href="https://crashreport.libreoffice.org/stats/crash_details/beb94f86-d396-419d-b98e-8072e3e61a98">https://crashreport.libreoffice.org/stats/crash_details/beb94f86-d396-419d-b98e-8072e3e61a98</a>

When Calc doesn't crash, the text cursor does not appear in the comment box,
but when typing and moving the invisible cursor with the arrow keys, things
seem to work as expected.

Expected Results:
I would expect the text cursor to appear at the beginning of the text box.


Reproducible: Sometimes


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded</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>