Bug 160759 - Header Removed and Footer Hidden After Pasting Text From Wine Running Windows Program in Ubuntu
Summary: Header Removed and Footer Hidden After Pasting Text From Wine Running Windows...
Status: RESOLVED DUPLICATE of bug 160139
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 07:14 UTC by Steve Williams
Modified: 2024-04-23 01:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Copy / paste text from native program running in Ubuntu (172.38 KB, image/png)
2024-04-21 07:53 UTC, Steve Williams
Details
Copy / paste text from program running in Ubuntu via Wine (192.97 KB, image/png)
2024-04-21 07:55 UTC, Steve Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Williams 2024-04-21 07:14:42 UTC
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.
Comment 1 Steve Williams 2024-04-21 07:53:08 UTC
Created attachment 193781 [details]
Copy / paste text from native program running in Ubuntu

Part one of two with copy/paste text.
Comment 2 Steve Williams 2024-04-21 07:55:46 UTC
Created attachment 193782 [details]
Copy / paste text from program running in Ubuntu via Wine

Part two of two with copy/paste text.
Comment 3 Stéphane Guillou (stragu) 2024-04-23 01:05:06 UTC
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 ***