[Libreoffice-bugs] [Bug 114038] New: Range operations setting the values of previously empty cells can not be undone

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 24 22:54:54 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114038

            Bug ID: 114038
           Summary: Range operations setting the values of previously
                    empty cells can not be undone
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jzombi at gmail.com

Created attachment 137971
  --> https://bugs.documentfoundation.org/attachment.cgi?id=137971&action=edit
small spreadsheet demonstrating the bug

In LibreOffice Calc BASIC macros setting the values of empty cell ranges can
not be undone. The new values will remain in the previously empty cells after
pressing undo.

Tested functions, undo does not work after these:
targetRange.setDataArray(valueArray)
targetRange.DataArray = sourceRange.DataArray

Steps to reproduce:
1. create a macro that sets the values in a range of empty cells using the
above functions
2. execute the macro
3. press undo

Expected behaviour: the cells content will be erased after undo, restoring
their original state.
Actual behaviour: the cells content does not change, the values set by the
macro remains there.

See the attached .ods file.

Tested on:
Version: 5.4.3.2
Build ID: 5.4.3-2
CPU threads: 6; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: hu-HU (hu_HU.UTF-8); Calc: group

-- 
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/20171124/4b19cc7c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list