Georg Baum schrieb:

The image path is relative to the document path. As the image is in the same directory like the LyX-document, the image dialog don't pass its path to "$$i".
Is this a bug or is there a workaround?

It could be a race condition: The path is changed to the document dir, a child process is forked for starting photoshop, and the path is changed back again before photoshop is really started.

Yes this seems to be the problem because when I use The Gimp instead of Photoshop, the image is correctly opened.

We should not use the Path class that does this magic, but rather use absolute paths. The attached patch does that for 1.5 and goes in right now, since Lars wrote several times that we should get rid of the Path class.

Many thanks Georg for your prompt fix. Is it possible to patch also the LyX 1.4 tree? I opened a bug report to assure that it won't be forgotten:
http://bugzilla.lyx.org/show_bug.cgi?id=2654

regards Uwe

Reply via email to