Description: My desktop is Ubuntu 22.04.4. Since upgrading to LibreOffice 24.2.2.2 and using Writer, whenever pasting (Ctrl+V) text copied from a Windows program running in Wine (9.0), the header is removed and the footer is hidden. Performing a Ctrl+Z does not get them back. If I Paste Special--Unformatted text the header/footer stay intact. However, I want to keep the formatting when pasting. Text pasted from native Linux programs do not appear to affect the header/footer. Steps to Reproduce: 1.Copy text from a Windows program running in Wine/Ubuntu 22.04.4 2.Paste (Ctrl+V) in Writer running in Ubuntu Actual Results: Writer header is removed and footer is hidden. At least I don't see the footer on the page and the Insert pull-down menu -- Header and Footer -- Footer -- Default Page Style is checked. Expected Results: Formatted text is pasted into the Writer document and the header and footer remain. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 24; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Flatpak Calc: threaded I used to have LibreOffice installed via the PPA. However, I completely removed it and installed it via Flatpak. The results are the same with both versions.
Created attachment 193781 [details] Copy / paste text from native program running in Ubuntu Part one of two with copy/paste text.
Created attachment 193782 [details] Copy / paste text from program running in Ubuntu via Wine Part two of two with copy/paste text.
Thanks for the report. This is most likely the same as bug 160139, marking as duplicate. *** This bug has been marked as a duplicate of bug 160139 ***