Bug 143261 - Anchoring a textbox to character in DOCX causes offset difference between outer border and inner text frame
Summary: Anchoring a textbox to character in DOCX causes offset difference between out...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 14:07 UTC by Telesto
Modified: 2021-07-13 17:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.40 KB, application/vnd.oasis.opendocument.text)
2021-07-08 14:08 UTC, Telesto
Details
The example file and its docx version in Writer after changing anchor (75.61 KB, image/png)
2021-07-13 15:56 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-07-08 14:07:53 UTC
Description:
Anchoring a textbox to character in DOCX causes offset difference between outer border and inner text frame

Steps to Reproduce:
1. Open the attached file
2. Save to DOCX
3. File reload
4. Click the right border of the textbox and change anchor to character

Actual Results:
Screenshot

Expected Results:
Match


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bd2f2273d83dcca43eb6b465308707efd45e7adf
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

even more broken in older versions (for example)
Version: 7.1.0.0.beta1+ (x64)
Build ID: f9fab4203c1aa0b9a3f27ce2713b6d5addc7df19
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL

So the situation has improved, but is still not 100% OK
Comment 1 Telesto 2021-07-08 14:08:20 UTC
Created attachment 173458 [details]
Example file
Comment 2 NISZ LibreOffice Team 2021-07-13 15:56:43 UTC
Created attachment 173533 [details]
The example file and its docx version in Writer after changing anchor

I don't see any problems in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0fc020fb73c86a20608e8dff12af607e60327379
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Textbox looks the same as originally after saving as docx, reload, anchor change.
Comment 3 NISZ LibreOffice Team 2021-07-13 15:57:21 UTC
Please clarify what's wrong with a screenshot.
Comment 4 Telesto 2021-07-13 17:40:01 UTC
Not seeing anything either
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4e0a7df2dfa10bc52d5dbda34f43e0bc0df22ae7
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

Confused..