<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 - The Undo command does not undo parts of the changes made by setting a DataArray from user code."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116850">116850</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The Undo command does not undo parts of the changes made by setting a DataArray from user code.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>3.5.2 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>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jag@psilosoph.de
</td>
</tr></table>
<p>
<div>
<pre>Description:
Generally changes made by execution of user code are subject to the Undo
command. This also applies if the DataArray of a CellRange is set from BASIC.
However, if by such an action cells that previously were blank get content, the
action is not undone insofar.
Even more clearly: Calling Undo (Ctrl+Z) after setting a DataArray by user code
previous content that was changed by myRange.SetDataArray() is reinstated.
Cells that were blank previously retain the content they got by the action.
Steps to Reproduce:
1. Open the attached example and permit macros.
2. Perform the steps precisely described there.
Actual Results:
As already described.
Expected Results:
As already described.
Reproducible: Always
User Profile Reset: No
Additional Info:
Is this form new? I don't like it.
For all the bugs I reported in the last few years I used a much simpler
procedure, and was able to attach my demo file at the same time.
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101
Firefox/59.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>