Description: Deleting a column of a floating table with Track changes ON and show OFF deletes the whole table and no restore with undo Steps to Reproduce: 1. Open attachment 191950 [details] (bug 159195) 2. Make sure track changes show being turned OFF 3. Delete a column -> Table gone 4. Press undo -> short freeze and no restoration Actual Results: * Whole table deleted * No undo Expected Results: * only column deleted * undo Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 25276df12abd9d002f7f899900434617b256f745 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded
With show ON the whole table gets marked as deleted, undo works
The deletion behaves like this already in 3.5.0 (Linux bibisect-43all repo).
Hmm, what's the fix?
(In reply to Buovjaga from comment #3) > Hmm, what's the fix? No clue what happened here.. The log doesn't lie, so I'm the one to blame for changing the status.. human error
Whole table gone in OOo 3.3 as well. However, undo does bring back the whole table. The undo issue is a recent 7.6 regression, let's track it separately in bug 159812 (bibisected to a different commit to bug 159195).
Actually, the disappearance of the whole table from OOo 3.3 to LO 7.5 was unrelated to track changes. It also happens with track changes off, and was resolved in 7.5. Issues with deleting a column while tracking changes started in 7.6. Bibisected with linux-64-7.6: 0) No issue at oldest 1) Column not deleted, table's contents deleted instead since [93946771cff6ca5a85d02a2276a691f051223e50], which is an implementation error from when deletion of columns started being tracked: commit d1004cdd6a445ae73673b0ca360ae034b0ec09f2 author László Németh <nemeth@numbertext.org> Tue May 09 16:51:06 2023 +0200 committer László Németh <nemeth@numbertext.org> Thu May 11 13:51:47 2023 +0200 tdf#150673 sw offapi: add change tracking of table column deletion (same at [ef40a621e99ce3c3abd2ad9b67915eec060f3ef8] e91faddabdf5d586c0044a3e125bdea6c2e21532, which is when bug 159812 started) 2) Whole table gone when deleting the column since [88d9624e446f3362be67a141b4c5725c54746bca], which is dfa57ee45bf9aef73f8bf385b089739ee0572998, a cherrypick of: commit 43b128a960d1712b984402e1b69cefecdb75462a author László Németh Tue Aug 08 19:46:15 2023 +0200 committer László Németh Wed Aug 09 16:28:37 2023 +0200 tdf#156487 sw tracked table column: fix Hide Changes László, can you please have a look?