Bug 137819 - EDITING Shape + textframe fall apart when anchoring “As Character”
Summary: EDITING Shape + textframe fall apart when anchoring “As Character”
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Attila Bakos (NISZ)
URL:
Whiteboard: target:7.2.0
Keywords:
: 138947 (view as bug list)
Depends on:
Blocks: Shape-Textbox
  Show dependency treegraph
 
Reported: 2020-10-28 13:24 UTC by NISZ LibreOffice Team
Modified: 2021-01-19 17:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (9.21 KB, application/vnd.oasis.opendocument.text)
2020-10-28 13:24 UTC, NISZ LibreOffice Team
Details
Screenshot of the problem in Writer (114.23 KB, image/png)
2020-10-28 13:24 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-10-28 13:24:36 UTC
Created attachment 166800 [details]
Example file from Writer

When changing a shapes anchoring to “As Character” its textframe falls out of the shape.

Steps to reproduce:
    1. Open attached file, it contains a simple Rectangle shape with a textbox added to it.
    2. Right click the shape, open Position and Size dialog OR select Anchor -> As Character
    3. Select the As Character anchoring option

Actual results:
Textframe is separated from the shape.

Expected results:
Shape and Textframe stay together.

LibreOffice details:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: f27c4ec5c864395f4cdaec32d7e95ff24e4f43c8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2020-10-28 13:24:59 UTC
Created attachment 166801 [details]
Screenshot of the problem in Writer
Comment 2 Usha 2020-11-09 15:54:14 UTC
I was able to reproduce with the steps provided in below environment.


Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2020-12-16 19:09:27 UTC
Attila Bakos (NISZ) committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d00e7c651e80b9fd3d00262900e0938e2c392809

tdf#137819 sw: fix textboxes anchoring "As Char"

It will be available in 7.2.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 4 NISZ LibreOffice Team 2020-12-30 09:08:50 UTC
*** Bug 138947 has been marked as a duplicate of this bug. ***
Comment 5 NISZ LibreOffice Team 2021-01-07 15:21:30 UTC
Verified in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 96bafa464ebdbce3ef04bec9beae5e745bb37794
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Thanks for fixing!