[Libreoffice-bugs] [Bug 132073] Undo causes crash in Calc if Selection Changed sheet event writes to cell in another sheet

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 20 21:08:27 UTC 2020


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

--- Comment #3 from ggordon <ggordon at oz.net> ---
Created attachment 161053
  --> https://bugs.documentfoundation.org/attachment.cgi?id=161053&action=edit
Demo of Undo Crashes

Attached is a small spreadsheet demonstrating the bug we have encountered.

To test, enter a value anywhere on Sheet1 and hit <Enter>.  The macro will
write a "4" to cell C3 on Sheet2, but control will go to the next row on
Sheet1.

Then either hit CNTR/Z or select Undo from the Edit menu.

I have done additional testing and find that about 5% of the time the Undo will
succeed.

Most of the time control will go to cell C3 on Sheet2 or crash.

The failure has occurred with version 6.3.5.2 on Windows and versions 5.4.7.2,
6.0.7.3 and 6.3.3.2 on Linux.  Version 6.0.7.3 is the supported version on my
Linux distribution.

This looks to me like some type of timing issue and therefore might not be
reproducible on all systems.  It looks like it succeeds if it is able to
complete the undo before the Selection Changed event triggers the macro.

-- 
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/20200520/513c5a1d/attachment.htm>


More information about the Libreoffice-bugs mailing list