Bug 158844

Summary: copy-paste-undo problems with as-char anchored group
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, miguelangelrv, telesto
Priority: medium    
Version: 7.6.4.1 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=158796
Whiteboard:
Crash report or crash signature: https://crashreport.libreoffice.org/stats/crash_details/a5c9d3b5-1286-44e9-8a26-cadfb9f78364 Regression By:
Bug Depends on:    
Bug Blocks: 133092    
Attachments: Document to reproduce the crash
Error message and call stack of the crash

Description Regina Henschel 2023-12-23 18:45:56 UTC
Created attachment 191577 [details]
Document to reproduce the crash

Open attached document. It has a group anchored as-char. The group contains a rectangle without fill and stroke and a green rectangle with text.

Copy the group. Go to last paragraph and paste the clipboard. Undo.

Error: The text is still visible.

Go to the end of the first paragraph. Add a blank. Wait a little bit.

Crash.

I see the problems in
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded

The problems are still there with a build containing the fix for bug 158451.
Comment 1 Regina Henschel 2023-12-23 18:59:33 UTC
Created attachment 191578 [details]
Error message and call stack of the crash
Comment 2 m_a_riosv 2023-12-23 22:53:55 UTC
Reproducible
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
and
Version: 24.2.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 5f390384195b7264c6e52add9e90a39790285249
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

Can it be in relation with tdf#148715?