Bug 136612 - Some Draw objects inserted into Writer's table cells move down when user adds/removes rows/cols
Summary: Some Draw objects inserted into Writer's table cells move down when user adds...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Writer-Tables Shapes
  Show dependency treegraph
Reported: 2020-09-09 12:59 UTC by Ivan Yugov
Modified: 2023-10-09 07:46 UTC (History)
0 users

See Also:
Crash report or crash signature:

Test case (12.07 KB, application/vnd.oasis.opendocument.text)
2020-09-09 13:00 UTC, Ivan Yugov

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yugov 2020-09-09 12:59:12 UTC
I draw graphs in Draw and insert them into Writer tables to make a library of school tasks.
I use connector lines in Draw as graph edges. In Writer's table I use anchoring graphs as characters for auto resize of row heght.
Then if I work add rows, delete columns, merge cells next to the cell with the inserted graph, the graph moves down in its cell. The mode I do, the more it moves. It can move to much that I do not see it in the cell, and the height of the cell becomes very big.
The inserted object should not move in its cell.

Steps to Reproduce:
1. Create a new Draw document.
2. In Draw add two circles and connect them together with a connecting line.
3. Group the circles and the line. Copy the grouped object to the clipboard.
4. Create a new Writer document.
5. In Writer add a table: 2 rows, 3 columns.
4. Paste the Draw object into a cell in Writer, 2nd row, 2nd column.
5. Set the anchoring for the Draw object - "as character". Make sure it is 2nd row, 2nd column. 
6. Set the text cursor to the 3rd cell of the 2nd row, press Tab (adding a row).
7. Delete the 3rd column.

Actual Results:
After point 6, the Draw object moves down within its cell.
After point 7, the Draw object moves down even more.

Expected Results:
The Draw object should remain in its initial place of its cell.

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
ID сборки: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
Потоков ЦП: 4; ОС: Linux 5.4; Отрисовка ИП: по умолчанию; VCL: gtk3; 
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Calc: threaded

The probles remains in
Comment 1 Ivan Yugov 2020-09-09 13:00:02 UTC
Created attachment 165320 [details]
Test case
Comment 2 Roman Kuznetsov 2020-09-29 21:10:47 UTC
confirm in

Version: (x64)
Build ID: 06b9e703f536e2751e3cd584873e00907672cf2d
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 3 Roman Kuznetsov 2020-09-29 21:13:40 UTC
the same in
Comment 4 QA Administrators 2022-10-01 03:43:00 UTC Comment hidden (obsolete)
Comment 5 Ivan Yugov 2022-10-01 19:38:42 UTC
The problem still remains in
Comment 6 Ivan Yugov 2023-10-09 07:46:43 UTC
The problem still remains in