Bug 150606 - Undo of table in columns adds multiple additional pages + broken layout
Summary: Undo of table in columns adds multiple additional pages + broken layout
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2022-08-25 13:43 UTC by Telesto
Modified: 2023-01-19 10:00 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (101.62 KB, application/vnd.oasis.opendocument.text)
2022-08-25 13:43 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2022-08-25 13:43:31 UTC
Description:
Undo of table in columns adds multiple additional pages

Steps to Reproduce:
1. Open the attached file
2. Scroll to page 8 (Tabella1 in Navigator)
3. Delete the table (delete table button)
4. CTRL+Z

Actual Results:
Multiple additional pages/ distorted table layout

Expected Results:
Same as before undo


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 1c1647e6ee252fe68d7406d01043e88f1721590f
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

Still fine in
Version: 7.1.8.0.0+ (x64) / LibreOffice Community
Build ID: a94b58277c7aeaa83ce14347cd0b8f7137969d03
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
Comment 1 Telesto 2022-08-25 13:43:56 UTC
Created attachment 182018 [details]
Example file
Comment 2 Dieter 2022-09-08 16:25:12 UTC
I confirm it with

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Might be document related. Telesto, could you reproduce the problem with some more general steps?
=> NEEDINFO
Comment 3 Telesto 2022-09-08 18:59:46 UTC
Well it seems far easier to do a bibisect and having some commit as reference, compared to blind search for the cause.. 

The source file comes from the bug tracker: attachment 182008 [details]
Comment 4 Maneesh 2022-09-11 05:44:17 UTC Comment hidden (obsolete)
Comment 5 vengatesh 2022-09-11 06:54:46 UTC Comment hidden (obsolete)
Comment 6 raal 2022-09-18 16:25:24 UTC
bibisect-linux-64-6.2 - oldest - bug is not here
bibisect-linux-64-6.2- master - crash when ctrl+z
bibisect-linux-64-6.3 - oldest - crash when ctrl+z

bibisect-linux-64-6.4 oldest  - bug is here
Comment 7 Stéphane Guillou (stragu) 2023-01-18 13:31:39 UTC
Can't reproduce on Ubuntu 20.04:

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.4.4.2 / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

But I can reproduce on Windows 10:

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

Vengatesh, are you sure you were able to see the completely different table and many extra blank pages after undoing on Linux?
To me, it looks like a Windows-only issue.
Comment 8 BogdanB 2023-01-18 15:35:32 UTC
I marked comment 4 and comment 5 as obsolete, and also I marked this as a Windows specific.