Bug 134452 - Page break disappears after applying table style
Summary: Page break disappears after applying table style
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0 target:7.2.0.2
Keywords: bibisectRequest, regression
Depends on:
Blocks: Writer-Tables-Style Writer-Page-Break
  Show dependency treegraph
 
Reported: 2020-07-01 20:38 UTC by Telesto
Modified: 2021-08-15 06:01 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.55 KB, application/vnd.oasis.opendocument.text)
2020-07-01 20:38 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-01 20:38:14 UTC
Description:
Page break disappears after applying table style

Steps to Reproduce:
1. Open the attached file
2. Scroll down to the last page
3. Sidebar -> Styles -> Table styles -> Select one (or use the context toolbar)

Actual Results:
Page break lost

Expected Results:
Table style should not change page break


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 4c14c88cc681abab787a461a1bea502a777f37e6
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

and in
4.4.7.2 (didn't check the stuff in between)
Comment 1 Telesto 2020-07-01 20:38:27 UTC
Created attachment 162575 [details]
Example file
Comment 2 Dieter 2020-07-21 12:17:47 UTC
i confirm it with

Version: 6.4.5.2 (x64)
Build-ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU-Threads: 4; BS: Windows 10.0 Build 19041; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 3 Telesto 2020-09-03 13:29:47 UTC
Not in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
Comment 4 sora34ce 2020-09-04 17:14:49 UTC
Not only is the bug there in the standard LibreOffice, it's also there in Dev

LibreOffice
Version: 6.4.5.2
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 8; OS: Mac OS X 10.15.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

LibreOfficeDev
Version: 7.1.0.0.alpha0+
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 8; OS: Mac OS X 10.15.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 5 raal 2020-09-24 19:32:10 UTC
repro Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 Commit Notification 2021-07-15 14:05:31 UTC
Balazs Santha committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/554c3692b7e3b51ce6ce7772509ba7a2e8777d3a

tdf#134452 sw: fix page break disappears after applying table style

It will be available in 7.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 László Németh 2021-07-15 18:15:20 UTC
@Telesto & all: thanks for reporting the problem!

@Balázs: thanks for the nice fix!

@Michael: thanks for your review and help!

Note: because I had problem with using the shortcut Ctrl-Enter for table page break, here are the steps to reproduce the problem and the fix from scratch (as used in the Python unit document):

1) Create a new document;

2) press Enter to insert an empty line (to allow visible page break later);

3) insert a table;

4) enable Table->Properties...->Text Flow->Break and Page Style, and press Ok (note: Ctrl-Enter gives a similar page break, but that had no the reported problem).

5) Sidebar -> Styles -> Table styles -> Select one.
Comment 8 Commit Notification 2021-07-15 23:48:06 UTC
Balazs Santha committed a patch related to this issue.
It has been pushed to "libreoffice-7-2":

https://git.libreoffice.org/core/commit/03bde450887c95f59f511d39cf2e10dcb26bbcf0

tdf#134452 sw: fix page break disappears after applying table style

It will be available in 7.2.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Dieter 2021-08-15 06:01:06 UTC
VERIFIED with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 23f17b7ea6fbd2f422c7e40192ae60e4df25224c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL