Bug 163338 - A textbox over a table is placed incorrectly in a DOCX
Summary: A textbox over a table is placed incorrectly in a DOCX
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap DOCX-Textbox
  Show dependency treegraph
 
Reported: 2024-10-07 10:17 UTC by Mike Kaganski
Modified: 2024-10-09 04:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A textbox in a wrong place (28.80 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-10-07 10:17 UTC, Mike Kaganski
Details
Screenshot word vs writer (103.14 KB, image/png)
2024-10-07 20:24 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-10-07 10:17:25 UTC
Created attachment 196947 [details]
A textbox in a wrong place

Open the attached document. In current master, as well as in Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 24; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

it shows the text box mostly over the first column of the table (i.e., "Textbox text here" is shown over the cells with "A text" and "More more ... and more text"); whole in Word, the text box is over the second column.
Comment 1 m_a_riosv 2024-10-07 20:24:30 UTC
Created attachment 196955 [details]
Screenshot word vs writer

Reproducible
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 40beeb144a00c9725cde4239c251f67c658d31a8
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Writer, by clicking to select the text box, is in a different position its contents and  even the edge clicked to select.
Comment 2 BogdanB 2024-10-09 04:24:32 UTC
I think it is an anchoring problem. If you move the text box outside the table the margin and the content fit, when you anchor to page is the same, they fit. When the anchor is away from the text box, the content is away from the margin.