Bug 438531 - Cannot paste screenshots from Spectacle to Libre Office on Wayland session
Summary: Cannot paste screenshots from Spectacle to Libre Office on Wayland session
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.22.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-13 05:41 UTC by daanturo
Modified: 2023-05-27 13:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screen recording (1.11 MB, video/x-matroska)
2021-06-13 05:41 UTC, daanturo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daanturo 2021-06-13 05:41:44 UTC
Created attachment 139273 [details]
Screen recording

Cannot paste screenshots from Spectacle to Libre Office on Wayland session


STEPS TO REPRODUCE
1. Open Libre Writer
2. Take a screenshot with Spectacle
3. Press "Copy to clipboard"
4. In Libre Writer, press "Ctrl-v", or right click and choose "Paste"

OBSERVED RESULT
The screenshot isn't pasted

EXPECTED RESULT
The screenshot appears on Libre Writer, like on X11 session

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Also tested on a fresh user account.
Pasting successes through Google Docs on Firefox 88 (ran via MOZ_ENABLE_WAYLAND=1).
Comment 1 Vlad Zahorodnii 2021-06-15 05:59:22 UTC
Does Libre Writer run with native wayland support? You can verify that by running xprop in terminal and clicking the libreoffice window.
Comment 2 daanturo 2021-06-15 06:53:45 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Does Libre Writer run with native wayland support? You can verify that by
> running xprop in terminal and clicking the libreoffice window.

Yes, xprop can't detect libreoffice, unlike other applications run on xwayland.
Comment 3 Nate Graham 2021-06-15 21:33:59 UTC
Can confirm with LibreOffice running in Wayland mode. Since the image is added to the clipboard successfully, it means that the fault is with LibreOffice. You should report it to them at https://bugs.documentfoundation.org/.

Notably, this works for me with GIMP running in XWayland mode.
Comment 4 daanturo 2021-06-16 07:48:05 UTC
(In reply to Nate Graham from comment #3)
> Can confirm with LibreOffice running in Wayland mode. Since the image is
> added to the clipboard successfully, it means that the fault is with
> LibreOffice. You should report it to them at
> https://bugs.documentfoundation.org/.
> 
> Notably, this works for me with GIMP running in XWayland mode.

Should I mention to the Document Foundation that this bug is against Qt, or KDE applications? Since a circular way works funnily: Spectacle -> GIMP -> Libre Writer.