Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.4, 5.15.1
-
None
-
-
6c534941a3015ba529dd4a5c153cffa0e94af11a in dev, 51f0466e01df52eb07e589006744f405dfd40bdd in 5.15
Description
OS: Fedora 32/33
DE: Gnome 3.38.0 Wayland
We are facing an issue where we're unable to copy an Image to the Clipboard (via QClipboard) when running Gnome Wayland on Fedora. Copying text to the clipboard seems to be working.
Running XWayland (by setting env var QT_QPA_PLATFORM=xcb before starting the application) seems to fix the issue. Also starting the application with sudo fixes the issue too as it looks like.
I have created a minimal example application and can reproduce the issue there. Clicking one of the buttons copies text or image to the clipboard. The current clipboard content is show in the window. Now when you try to paste the content somewhere outside the application, its working with the text but not with the image.
Example application: https://github.com/DamirPorobic/copyToClipboardNotWorkingOnFedoraWayland
Attachments
Issue Links
- is duplicated by
-
QTBUG-89031 Wrong MIME type for images in the clipboard under Wayland
- Closed