[Libreoffice-bugs] [Bug 116850] New: The Undo command does not undo parts of the changes made by setting a DataArray from user code.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 6 17:16:01 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116850
Bug ID: 116850
Summary: The Undo command does not undo parts of the changes
made by setting a DataArray from user code.
Product: LibreOffice
Version: 3.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: jag at psilosoph.de
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180406/26397616/attachment.html>
More information about the Libreoffice-bugs
mailing list