Description: Moving a shape anchored to page in a two-columns section could leave the first line of a paragraph partly or totally under the shape. Steps to Reproduce: 1. Define a section with two columns and content evenly distributed. 2. Insert a shape or an image between the last two paragraphs. Set anchor to page and wrap to none (or off). 3. When the first line of text remain before the shape, move the shape up (best if using `Alt`+`Arrow` for precision). Actual Results: At some points, the first line of the last paragraph remain partly or totally under the shape. Expected Results: Text lines before or after the image. Reproducible: Sometimes User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Adding more lines to the last paragraph, adding more paragraphs, or changing paragraphs length sometimes discontinues the wrong behavior. Not an arrange issue. OpenGL enabled or disabled do not appear affect.
Created attachment 162054 [details] Sample file with issue.
Repro wtih Version: 7.1.0.0.alpha0+ (x64) Build ID: a35c18aeff3b1d8f270db7e094850fb8ba1ab84a 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 with Version: 6.2.9.0.0+ (x86) Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; Locale: nl-NL (nl_NL); UI-Language: en-US Calc: CL but not with Version: 6.0.0.0.alpha0+ Build ID: 2cd664b3d618e6085be8b44ee86eada6cd5f8789 CPU threads: 4; OS: Windows 6.29; UI render: default; Locale: nl-NL (nl_NL); Calc: CL
Created attachment 162058 [details] Bibisect log Bisected to author Patrick Jaap <patrick.jaap@tu-dresden.de> 2019-09-06 10:50:05 +0200 committer Miklos Vajna <vmiklos@collabora.com> 2019-09-24 09:01:19 +0200 commit 1e9d08d046bfe362e5e2ffeb36e35692fc3b55f5 (patch) tree dae636621a946a24b18fad29e280c863c86b7f11 parent b212f74a9a25bde0ab662777ab2f1fa657314504 (diff) tdf#127235 break if object is larger than page We will always have an overlap if the object is larger than the whole page. Look for the next page style: if it is missing or the same as the current, we simply stop. https://cgit.freedesktop.org/libreoffice/core/commit/?id=1e9d08d046bfe362e5e2ffeb36e35692fc3b55f
Adding CC: to Patrick Jaap
Hi, I confirm this bug and investigate. Something is odd about the height of the shape: GetHeight(rRect) is reported to be 1073712999 which is not correct at all.
removing assignment since untouched for over a year.
Repro with Version: 7.1.7.2 (x86) / LibreOffice Community Build ID: c6a4e3954236145e2acb0b65f68614365aeee33f CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: es-MX (es_MX); UI: es-ES Calc: threaded
Repro with Version: 7.3.2.2 (x86) / LibreOffice Community Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0 CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: es-MX (es_MX); UI: en-US Calc: threaded