Bug 136612

Summary: Some Draw objects inserted into Writer's table cells move down when user adds/removes rows/cols
Product: LibreOffice Reporter: Ivan Yugov <iyugov>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal    
Priority: medium    
Version: 3.5.7.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103100, 108741    
Attachments: Test case

Description Ivan Yugov 2020-09-09 12:59:12 UTC
Description:
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:
Версия: 6.4.6.2
ID сборки: 0ce51a4fd21bff07a5c061082cc82c5ed232f115
Потоков ЦП: 4; ОС: Linux 5.4; Отрисовка ИП: по умолчанию; VCL: gtk3; 
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Calc: threaded

The probles remains in 7.0.1.2.
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: 7.1.0.0.alpha0+ (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 3.5.7.2
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 7.4.1.2.
Comment 6 Ivan Yugov 2023-10-09 07:46:43 UTC
The problem still remains in 7.6.2.1.