On 07/13/2012 04:48 PM, Philippe Nobili wrote: > > It seems that this problem, which had been solved a couple of releases > ago, has shown again in release 5.3.0 of XXE; here is the description: > > when editing the "fileref" attribute of imagedata, the trailing "???" > characters added by default after the current directory location > prevents the file selector from opening directly into the right > directory. Instead, the file selector opens on the lastly used location. > > This is a very annoying behavior when working simultaneously on > different documents located in different directories, since we have > permanently to scan up and down the file hierarchy to retrieve the > ad-hoc image locations. >
When in document /home/john/doc/chapter2/chapter2.xml, you double-click on an image, say /home/john/images/user.png, the image chooser dialog box (http://www.xmlmind.com/xmleditor/_tutorial/insert_image/index.html) allows you to choose a file in /home/john/images/. When in document /home/john/doc/chapter2/chapter2.xml, you double-click on an image *placeholder*, say /home/john/doc/chapter2/???, the image chooser dialog box allows you to choose a file in last used image folder (for example: /home/john/images/; not /home/john/doc/chapter2/). Moreover when you quit XXE, restart XXE and then reopen /home/john/doc/chapter2/chapter2.xml, last used image folder is remembered. That is, XXE stores in the user preferences file this association (in preference key lastSelectedURLForDocument): /home/john/doc/chapter2/chapter2.xml <--> /home/john/images/an_image.png If my memory serves me well *you* have requested this behavior. We have implemented it and didn't change anything to it since then. I've retested what I've described above on both Linux and Windows and it works fine. No regression whatsoever. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

