I have tested pasting text into kate, which worked. I have also tested pasting images into krita, this also worked. The dolphin issue persists. I should mention that dolphin prints the following error message to stdout every time the window asking me to enter the desired filename appears.
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x562f6fcf6c90 with focusing surface 0x562f6fd03280
As I stated, I am unsure how the clipboard manager could be the problem. As you said, added mime types should not be an issue. The data is not messed up by the clipboard manager.
I have done some further testing and was able to replicate the bug with the clipboard manager application not running:
- Open a Webpage in Firefox (I used KDE’s english Wikipedia page)
- Right click on Matthias Ettrich’s image, choose “copy image”
- Open up Dolphin and press Ctrl+V (Dolphin displays my home directory, I have write permissions)
- Select “JPEG image”
- Press OK
- Observe that no file is created
`wl-paste --list-types` output
text/html
text/_moz_htmlinfo
text/_moz_htmlcontext
image/png
image/jpeg
image/bmp
image/x-bmp
image/x-MS-bmp
image/x-icon
image/x-ico
image/x-win-bitmap
image/vnd.microsoft.icon
application/ico
image/ico
image/icon
text/ico
image/tiff
SAVE_TARGETS
When I take a screenshot with grim and try to paste it into Dolphin, it only asks for a filename and creates the file correctly.
`wl-paste --list-types` output
image/png
Could this issue be caused by my distribution/wayland compositor or should I make a proper bug report?