Bug 383992 - incorrect export PIXMAP into clipboard
Summary: incorrect export PIXMAP into clipboard
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-25 07:14 UTC by spumer
Modified: 2021-12-13 21:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
wine screenshot (348.18 KB, image/png)
2020-06-11 13:04 UTC, Antonio Prcela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spumer 2017-08-25 07:14:37 UTC
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.
Comment 1 null 2018-02-13 23:04:09 UTC
@spumer: As the Wine bug is closed as fixed now, is there anything left Spectacle should do?
Comment 2 spumer 2018-02-14 04:01:34 UTC
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.
Comment 3 Nate Graham 2018-02-14 20:47:31 UTC
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?
Comment 4 null 2018-02-14 21:07:02 UTC
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.
Comment 5 Antonio Prcela 2020-06-11 13:04:40 UTC
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.