evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.05k stars 717 forks source link

External editor (bitmap) doesn't open the file because it's locked #465

Open serddmitry opened 6 years ago

serddmitry commented 6 years ago

Steps to reproduce:

I've tried Paint.NET and MS Paint, neither opens the file (I see that the file getting created in the temp folder, but it seems locked). I've also tried including %f as part of "bitmap editor command", nothing worked.

codeling commented 6 years ago

It's not exactly the same error, but running Pencil 3.0.4 on Windows 10, I get "The file could not be found" in paint.net, and indeed, when I check the path paint.net tells me, there is no such file in the temp directory. At some point I did see a single tmp file with a different "random" part, which contained the requested image. After some more experimenting, now I'm getting the same error as @serddmitry for one image, while for another image (in the same epgz document) I still get the "not found" one. Any log I could check for what is going on here?

On a related note, when I try to copy a (png) image from within Pencil, and try to insert it into paint.net, paint.net tells me that "The clipboard does not contain an image". Trying to insert in a text editor indeed gives me some XML text instead of an image. Should I report a separate issue for this, or is this a known issue? Or do I maybe need to configure something differently?

This situation makes retrieving images files from Pencil a bit hard - it requires opening the .epgz file in 7zip and extracting the corresponding image from the refs subfolder.

Apart from that though, I like Pencil, and where it's going! Thanks for all the great work!