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