Description: When frame added to shape and the shape anchored to an upper paragraph than the last one the frame will be misplaced. Steps to Reproduce: 1. Create a new text document in Writer 7.0 2. Insert 10 paragraphs. 3. Insert a Shape (A rectangle for example) and anchor it to the first paragraph. 4. Make sure your shape has greater height than the 10 paragraphs height 5. Add a frame to your shape. 6. Notice the frame does not placed into the shape. Actual Results: The frame does not shown in the shape Expected Results: The frame should be in the shape Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha0+ (x64) Build ID: 4328255429e47d9e8278845422d3f11eebef3742 CPU threads: 8; OS: Windows 10.0 Build 17134; UI render: GL; VCL: win; Locale: hu-HU (hu_HU); UI-Language: en-US Calc: CL
Created attachment 158038 [details] Example file from Writer
Created attachment 158039 [details] Screenshot of the problem in Writer
I confirm it with Version: 7.0.0.0.alpha0+ (x64) Build ID: 41177730421f9be9ad955766a5a19667d8003b11 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; Locale: de-DE (de_DE); UI-Language: en-GB Calc: threaded
What is supposed to be bibisected here? No working previous version, or changed behavior compared to a previous version is mentioned.
Attila Bakos committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/06e2cbb31d0ea703df872b91eb8eacdcaced7653 tdf#130805 SwTextBoxHelper::create: fix frame position in shape It will be available in 7.1.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.
Attila Bakos committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/2479ae3ee20fc5f3cbb0c88eb09110a36e86710c tdf#130805 SwTextBoxHelper::create: fix frame position in shape It will be available in 7.0.0.1. 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.1.0.0.alpha0+ (x64) Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0 CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded Attila, thanks for fixing this!