Bug 145008 - Deleting a symbol next to the inserted picture deletes the picture and symbol (if picture anchored to char or para)
Summary: Deleting a symbol next to the inserted picture deletes the picture and symbol...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-08 19:30 UTC by David Blbulyan
Modified: 2021-11-05 17:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Blbulyan 2021-10-08 19:30:12 UTC
Description:
I inserted a picture in the document. After it I wrote a symbol. When I deleted the symbol, then a picture deleted also.

Steps to Reproduce:
1.Insert a picture in the document
2.Write a symbol
3.Delete symbol

Actual Results:
Picture delete and symbol delete

Expected Results:
Symbol will delete, picture will not delete


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); ИП: ru-RU
Debian package version: 1:7.0.4-4
Calc: threaded
Comment 1 Nii 2021-10-09 18:07:34 UTC
Thank you for reporting the bug. I can confirm that the bug is also present in

Version: 7.2.1.2 (x64) / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: fi-FI
Calc: CL

and 

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ec76fff198323122bedc63ffdfd896c2543102c6
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: fi-FI
Calc: CL

Steps that I took:
1. Opened a new document in Writer
2. Inserted a picture in the document
3. Wrote a symbol
4. Deleted the symbol

When I deleted the symbol, both the symbol and the picture got deleted. 
Reproducible: Always
Comment 2 Buovjaga 2021-10-21 14:58:05 UTC
This only happens, if the picture is anchored to character or paragraph. It might not be a bug. Have to investigate.
Comment 3 Buovjaga 2021-11-05 17:15:07 UTC
Bibisected the change with linux-64-6.4 repo to
https://git.libreoffice.org/core/commit/28b77c89dfcafae82cf2a6d85731b643ff9290e5

Based on what is talked about in bug 121300 this is the intended behaviour.