Bug 461903 - LibreOffice does not receive pasted data from Klipper correctly
Summary: LibreOffice does not receive pasted data from Klipper correctly
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-16 12:18 UTC by tuefue
Modified: 2023-01-28 05:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.103
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tuefue 2022-11-16 12:18:59 UTC
SUMMARY
Unable to paste plain text from Firefox to LibreOffice Writer.
This works fine under X11.

STEPS TO REPRODUCE
1. Copy any text from Firefox
2. Start LibreOffice Writer
3. Press Ctrl+Shift+C
4. Select “Unformatted text”.

OBSERVED RESULT
Appears message box: “Requested clipboard format is not available.”. Text not pasted.

EXPECTED RESULT
Pasted text.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
LibreOffice: 7.4.2.3
Firefox: 106.0.5
Comment 1 Nate Graham 2022-11-16 18:11:53 UTC
When you copy the text in Firefox, do you see the copied text appear in the Clipboard widget?
Comment 2 tuefue 2022-11-17 16:33:34 UTC
Yes.

It also happens when I copy text from other apps: Kate, Inkscape. The bug only occurs under Wayland.
Comment 3 Nate Graham 2022-11-18 16:56:39 UTC
In that case, the the source apps and Klipper are behaving correctly. The two places the bug could be are KWin (which sends the data to LibreOffice) or in LibreOffice itself. If the KWin developers say it's not a KWin bug then it has to be a LibreOffice bug.
Comment 4 David Edmundson 2023-01-27 22:29:16 UTC
seems to be fixed by https://invent.kde.org/frameworks/kguiaddons/-/merge_requests/90

frameworks 102
Comment 5 Nate Graham 2023-01-27 22:33:37 UTC
*5.103