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)
Created attachment 162575 [details] Example file
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
Not in LibreOffice 3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
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
repro Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
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.
@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.
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.
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