Am 03.11.2015 um 16:36 schrieb Guillaume Munch <g...@lyx.org>: > Le 03/11/2015 08:59, Stephan Witt a écrit : >> Am 03.11.2015 um 04:58 schrieb Guillaume Munch <g...@lyx.org >> <mailto:g...@lyx.org>>: >> >>> Le 02/11/2015 18:38, Guillaume Munch a écrit : >>>> Le 28/10/2015 16:39, Ilan a écrit : >>>>> Thanks David and Stephan. >>>>> >>>>> My problem is that I'm working on a multi-file project so under the tmp >>>>> directory there are several directories and the location of the Latex >>>>> file >>>>> depends on the file I compiled (and of course the tmp directory has a >>>>> different >>>>> name each time under windows). >>>>> >>>>> What I used to do until few months ago is opening the Latex log, and >>>>> there I >>>>> saw the full path to the compiled file, so I could copy it to a Latex >>>>> editor. >>>>> After some updates to Lyx & Latex, I see in the log only the file name >>>>> without >>>>> the path. >>>>> >>>>> I can (and this is what I do) to find the current tmp directory and then >>>>> searching for all the Latex files to find the right one by its name. >>>>> I hoped there is an option to return to the previous state of easily >>>>> finding >>>>> the directory with a click. >>>>> >>>>> >>>> >>> >>> >>> Pushed at f441590c. Windows/OSX users, please report if it does not work. >> >> It works for me on OSX. Although I'd expect user questions regarding the >> attached error message on exit of LyX: >> "Cannot remove temporary directory…" or similar… >> > > > Do you mean that the patch now causes this error message? Under which > circumstances precisely? Is it that if the directory is open in the > finder, then LyX cannot remove the directory? (Under Linux, Nautilus's > behaviour is to move to the parent directory if the current directory is > deleted.)
Yes, the error is displayed by LyX because it cannot remove the temporary directory while it is shown in the Finder (the Nautilus of OSX). I'd guess this is the common scenario for the average user: check the LaTeX log, use the button, switch back to LyX and finally exit LyX - which raises the mentioned error message and leaves the empty temporary directory in file system. It's not the patch causing the error message - it's easier to get it with the patch. Stephan