With new Wine versions image can't be imported from clipboard. Related bug with discussion in wine: https://bugs.winehq.org/show_bug.cgi?id=43603 System: Ubuntu 17.04, KDE 5 Plasma Spectacle 16.12.3: KDE Frameworks 5.31.0, Qt 5.7.1 (build with 5.7.1), Window system xcb.
@spumer: As the Wine bug is closed as fixed now, is there anything left Spectacle should do?
Workaround added to Wine. Now Wine try all methods to import image. But i think it will be good to fix it in Spectacle. You can close it, if no commit expected.
Are we actually doing the wrong thing here, or is this just a case of there being no 100% standard format for clipboard pixmap data?
I looked into the source a bit today, but at least could not find anything like you just removed in D10427 for the copying case (or I just missed it). To answer what's right or wrong, I'd need to do some research on the topic. I'm not going to do this at the moment, so I guess we'll just leave the bug open for now until someone with expert knowledge comes along.
Created attachment 129232 [details] wine screenshot Tested using latest KDE Neon + Wine 3.0 + Inkscape.exe Seems to work fine now. Copied screenshot to clipboard (Spectacle running in KDE Neon as native Linux app) and from clipboard into Inkscape (running as exe via Wine). See attached screenshot.