Bug 160045

Summary: Writer Header cleared when pasting RTF
Product: LibreOffice Reporter: Adomas VenĨkauskas <adomas.ven>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: breadsathwik, buzea.bogdan
Priority: medium    
Version: 24.2.1.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 48741    

Description Adomas VenĨkauskas 2024-03-05 12:19:01 UTC
Description:
The Header section of the page gets cleared when pasting text as RTF anywhere in the doc.

Steps to Reproduce:
1. Insert any text into the header.
2. Copy it
3. Paste with Ctrl-Shift-V, select RTF
4. Header text disappears

Actual Results:
Header is cleared

Expected Results:
Text should be pasted and header not cleared


Reproducible: Always


User Profile Reset: No

Additional Info:
It does not matter where the RTF text comes from, or whether it is pasted in the header or some place else.

May be related to https://bugs.documentfoundation.org/show_bug.cgi?id=159385
Comment 1 breadsathwik 2024-03-06 00:52:36 UTC
Hello Adomas,

Thank you for reporting the bug. I can confirm that the bug is present in writer.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e939685f9c6918830bd3097062790bfccbce937e
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 sleepyhead.km+bugzilla 2024-04-07 08:13:55 UTC
If anyone is wondering: this issue occurs when using the Zotero plugin for managing your citations as well.
Comment 3 dave whitman 2024-05-03 06:23:39 UTC
Footer also disappers
Comment 4 dave whitman 2024-05-22 05:30:16 UTC
Just updated to: Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: threaded

When RTF text is pasted the text disappears from the header
although now the header remains as well as the dividing line from the text!