Bug 217777 - Drag & drop layers from different krita instances
Summary: Drag & drop layers from different krita instances
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Cyrille Berger
URL:
Keywords:
: 131252 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-07 22:11 UTC by sinozzuke
Modified: 2011-07-07 08:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sinozzuke 2009-12-07 22:11:26 UTC
Version:            (using KDE 4.3.4)
Installed from:    Ubuntu Packages

It would be usefull if you could just drag some layers from one document to other the same way you can drag and drop from the file browser to krita.
Comment 1 Cyrille Berger 2009-12-08 09:21:57 UTC
We would need to add the following to the drag&drop data:
* a QImage (for interoperability with other application)
* a binary array of bytes with colorspace info, for higher depth

And in any case, it is probably best to limit the size of data (for memory reason), drag&drop of a 10000x10000 layer might cause problem.
Comment 2 Halla Rempt 2009-12-08 09:28:20 UTC
Or, for krita->krita, figure out some sort of IPC mechanism to send the information after drop, instead of storing it completely.
Comment 3 Halla Rempt 2009-12-08 09:28:20 UTC
Or, for krita->krita, figure out some sort of IPC mechanism to send the information after drop, instead of storing it completely.
Comment 4 Sven Langkamp 2010-01-13 05:05:30 UTC
*** Bug 131252 has been marked as a duplicate of this bug. ***
Comment 5 Halla Rempt 2011-07-07 07:02:05 UTC
Fixed in 763eb8d023710d93d581921beabfff1308bfb74e -- now you can d&d between Krita and other apps like gimp, or Krita and Krita. You can d&d whole groups in one go. The only thing I'm still considering to add is to support .ora as d&d format, so in future we could d&d more than just image data with MyPaint.
Comment 6 Kubuntiac 2011-07-07 07:44:39 UTC
Dang! That is sweeet! I was even able to drop vector and filter layers. Impressive! The only issue I still get is that the filter layer which blurred the whole canvas on one image, only blurred a rectangular section of the other image. I'm guessing it's because of different sized canvases, but don't have time to check right now. Should I file a new bug?

Nice work though! This makes me happy. :)
Comment 7 Halla Rempt 2011-07-07 08:01:00 UTC
I think that's because the selection itself might be limited -- but I'm not sure yet. Yes, by all means, file a new bug.