<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 - Crash on undo while in IM pre-selection in Calc, Impress and Math"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141888">141888</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash on undo while in IM pre-selection in Calc, Impress and Math
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </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>LibreOffice
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>glogow@fbihome.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Found while fixing <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Crash on closing Writer via window decoration (X) with unmodified document and active IM"
   href="show_bug.cgi?id=141887">bug 141887</a> (Writer IM crash).

STR:

1. Start LO Calc, Impress, Draw or Math (not Writer! Didn't test Base)
2. Activate some IM and type a character, to be in IM pre-selection
3. Undo via shortcut (Ctrl+Z)

Expected result:
no crash

Actual result:
crash

soffice.bin: svl/source/undo/undo.cxx:679: bool
SfxUndoManager::ImplUndo(SfxUndoContext*): Assertion `!"SfxUndoManager::Undo:
not possible when within a list action!"' failed.

-----

All these modules create an undo entry while still in pre-selection (you can
see the enabled undo toolbar button). Writer doesn't do that, so no crash
happens. IMHO the other applications shouldn't create the Undo entry based on
the pre-selection data, which would prevent the crash.</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>