Comment 23 for bug 170185

Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

OK, I think I'm done. I went the hard way and instead of trying to build something aorund the existing clipboard functions, I moved clipboard handling into a separate class. Everything that works inside Inkscape will work between different instances of Inkscape too. Also, pasting a color specified as an 8-character hexadecimal string will change the fill of the selected items. This is something that was supposed to function but was never implemented.
There are also some changes in the MIME types of the output extensions, because they are significant now.

Because the output extensions write to files only, using the clipboard writes to files too. This is not fixable without serious reengineering of the IO extensions subsystem.

The most important regression I've found is that pasting Live Path Effects doesn't work right and produces a crash when moving the path. However, I'm not sure if it ever worked to begin with. For now it's disabled completely (i.e. the function returns without doing anything). Pasting LPE parameters is currently broken too (probably those two bugs are related).