Bug 82933 - EDITING: CRASH when UNDO drag and drop in sheet with function
Summary: EDITING: CRASH when UNDO drag and drop in sheet with function
Status: RESOLVED DUPLICATE of bug 82042
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.5.2 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 05:34 UTC by Bugcruncher
Modified: 2014-08-23 07:17 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample Documents for your tests (42.08 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-08-22 05:34 UTC, Bugcruncher
Details
New Sample document (42.07 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-08-23 07:16 UTC, Bugcruncher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bugcruncher 2014-08-22 05:34:08 UTC
Created attachment 105075 [details]
Sample Documents for your tests

Steps to reproduce:
1. Open attached sample document
2. Click Row heading "21"
   » Row becomes selected
3. Shift+Click Row heading "30"
   » Rows 21 ... 30 become selected
4. Click cell B21 ► Drag and drop to Cell B4
   » contents will be moved to Rows 4 ... 9
5. Click Undo icon
   » CRASH

The crash is related to functions in the document. If you delete rows 31,32, save  ► close ► reopen the document, the CRASH will have vanished

I do not know with what Version this problem started, but I am pretty sure that that was not a problem with 4.0

Also undo of drag and drop of columns in this document will cause the crash.

Most of my documents with calculations are affected, but I failed to create a sample document from the scratch.

              
Operating System: Windows 7
Version: 4.2.5.2 release
Comment 1 ign_christian 2014-08-22 16:27:59 UTC
Hi.. Please check Bug 82042. 

I guess it's a duplicate to that one since there is a function with range (SUM in cell N31) in your attached file.
Comment 2 Bugcruncher 2014-08-23 07:16:40 UTC
Created attachment 105134 [details]
New Sample document

This new sample document shows that it's not necessary for the crash that the formula with range touches the moved range. Formula in N31 is "=SUM(M35:M40)".
Comment 3 Bugcruncher 2014-08-23 07:17:22 UTC
Yes, tis one probably is a DUPlicate of Bug 82042

*** This bug has been marked as a duplicate of bug 82042 ***