Steps to reproduce: 1. Open attachment 49435 [details] Observed behaviour: all columns' text is displayed on the first column Expected behaviour: every column is displayed on their positions Reproduced in Version: 5.3.0.0.alpha1+ Build ID: 757a60d01dd152aadab2ba3c8224252481ce8a88 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Layout Engine: new; Locale: ca-ES (ca_ES.UTF-8); Calc: group but not in Version: 4.3.0.0.alpha1+ Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Regression introduced by: author Miklos Vajna <vmiklos@collabora.co.uk> 2014-07-17 12:59:19 (GMT) committer Miklos Vajna <vmiklos@collabora.co.uk> 2014-07-17 13:29:40 (GMT) commit d185204737031955c56a24356ed003d342548434 (patch) tree e4c99398505373577adc0a8c00586e2dc46070b7 parent 256281d8e6259dc1a71624b0f8576e9deb9cdc65 (diff) DOCX import: set DontBalanceTextColumns=true for the last section ... ... if it has multiple columns. See wwSectionManager::InsertSegments() for the related binary import code which already did this. Adding Cc: to Miklos Vajna @vmiklos: this is the same commit as in bug 82824 which you have just committed a fix. Does it fix this one too?
No, it doesn't fix this bug. The root cause here is that the bugdoc contains 3 sections and the 3rd one is empty. Given that the current DOCX import code creates the new section in the first paragraph of the next section such empty sections are ignored. As a consequence of this problem the 2nd section is handled as the last section and that's how the above commit made the already existing problem more visible. I'll look into fixing this if I'm here anyway.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6603947329a7b372a173a3c60e013e532d0bc5cf tdf#103931 DOCX import: fix lost section break It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Justin Luth committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4605bd46984125a99b0e993b71efa6edb411699f tdf#103931 writerfilter breaktype: same for implicit and explicit It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1e88c10327642e6867db5708e3fd0fb7065bc74c&h=libreoffice-5-3 tdf#103931 DOCX import: fix lost section break It will be available in 5.3.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
verified. version: 5.5.0.0.alpha0+ / build id : ec79f34 / android 5.1
Verified in comment 6