Re: [patch] Finding the generated latex file

2015-11-10 Thread Guillaume Munch
Le 10/11/2015 01:08, Scott Kostyshak a écrit : On Mon, Nov 09, 2015 at 08:04:29AM +, Guillaume Munch wrote: Le 06/11/2015 10:35, Jean-Marc Lasgouttes a écrit : Le 06/11/2015 04:16, Scott Kostyshak a écrit : I also agree that it's better to replace the alert with a message on stderr. I

Re: [patch] Finding the generated latex file

2015-11-09 Thread Guillaume Munch
Le 06/11/2015 10:35, Jean-Marc Lasgouttes a écrit : Le 06/11/2015 04:16, Scott Kostyshak a écrit : I also agree that it's better to replace the alert with a message on stderr. I noticed that there are already similar messages on the terminal when files cannot be removed. Attached is a patch.

Re: [patch] Finding the generated latex file

2015-11-09 Thread Scott Kostyshak
On Mon, Nov 09, 2015 at 08:04:29AM +, Guillaume Munch wrote: > Le 06/11/2015 10:35, Jean-Marc Lasgouttes a écrit : > >Le 06/11/2015 04:16, Scott Kostyshak a écrit : > >>>I also agree that it's better to replace the alert with a message on > >>>stderr. I noticed that there are already similar

Re: [patch] Finding the generated latex file

2015-11-06 Thread Jean-Marc Lasgouttes
Le 06/11/2015 04:16, Scott Kostyshak a écrit : I also agree that it's better to replace the alert with a message on stderr. I noticed that there are already similar messages on the terminal when files cannot be removed. Attached is a patch. Shall I commit it? Although I personally like this

Re: [patch] Finding the generated latex file

2015-11-05 Thread Guillaume Munch
Le 04/11/2015 17:16, PhilipPirrip a écrit : I personally find this very annoying. As a user. It doesn't happen on Linux, so I'm still good, but on Windows: I tested the patch on Windows, no messages were shown if LyX was closed, Windows Explorer window would just close upon the deletion of the

Re: [patch] Finding the generated latex file

2015-11-05 Thread Andrew Parsloe
On 6/11/2015 3:32 p.m., Guillaume Munch wrote: Le 04/11/2015 17:16, PhilipPirrip a écrit : I personally find this very annoying. As a user. It doesn't happen on Linux, so I'm still good, but on Windows: I tested the patch on Windows, no messages were shown if LyX was closed, Windows Explorer

Re: [patch] Finding the generated latex file

2015-11-05 Thread Scott Kostyshak
On Fri, Nov 06, 2015 at 02:32:13AM +, Guillaume Munch wrote: > Le 04/11/2015 17:16, PhilipPirrip a écrit : > > > >I personally find this very annoying. As a user. It doesn't happen on > >Linux, so I'm still good, but on Windows: > >I tested the patch on Windows, no messages were shown if LyX

Re: [patch] Finding the generated latex file

2015-11-05 Thread Guillaume Munch
Le 06/11/2015 03:16, Scott Kostyshak a écrit : On Fri, Nov 06, 2015 at 02:32:13AM +, Guillaume Munch wrote: Le 04/11/2015 17:16, PhilipPirrip a écrit : I personally find this very annoying. As a user. It doesn't happen on Linux, so I'm still good, but on Windows: I tested the patch on

Re: [patch] Finding the generated latex file

2015-11-04 Thread PhilipPirrip
On 11/03/2015 07:00 PM, Andrew Parsloe wrote: I have found the message helpful, particularly when developing a module or a latex package to work with LyX. In the latter case, the failure to remove the temp directory may indicate that a latex process is still running. (Failure of a preview

Re: [patch] Finding the generated latex file

2015-11-03 Thread Stephan Witt
Am 03.11.2015 um 04:58 schrieb Guillaume Munch : > 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

Re: [patch] Finding the generated latex file

2015-11-03 Thread PhilipPirrip
On 11/02/2015 10:58 PM, Guillaume Munch wrote: Pushed at f441590c. Windows/OSX users, please report if it does not work. Hey Guillaume, Bad news, it didn't work on Windows. Qt 4.8, VS2010, WinXP/VirtualBox This was the error message: lyx\src\frontends\qt4\GuiLog.cpp (207): Unable to open QUrl

Re: [patch] Finding the generated latex file

2015-11-03 Thread Guillaume Munch
Le 03/11/2015 08:27, PhilipPirrip a écrit : On 11/02/2015 10:58 PM, Guillaume Munch wrote: Pushed at f441590c. Windows/OSX users, please report if it does not work. Hey Guillaume, Bad news, it didn't work on Windows. Qt 4.8, VS2010, WinXP/VirtualBox This was the error message:

Re: [patch] Finding the generated latex file

2015-11-03 Thread Guillaume Munch
Le 03/11/2015 08:59, Stephan Witt a écrit : Am 03.11.2015 um 04:58 schrieb Guillaume Munch >: 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

Re: [patch] Finding the generated latex file

2015-11-03 Thread Stephan Witt
Am 03.11.2015 um 17:39 schrieb Guillaume Munch : > Le 03/11/2015 16:16, Stephan Witt a écrit : >> Am 03.11.2015 um 16:36 schrieb Guillaume Munch : >>> >>> Do you mean that the patch now causes this error message? Under which >>> circumstances precisely? Is it that if

Re: [patch] Finding the generated latex file

2015-11-03 Thread Scott Kostyshak
On Tue, Nov 03, 2015 at 06:03:36PM +0100, Stephan Witt wrote: > Am 03.11.2015 um 17:39 schrieb Guillaume Munch : > > > So the error message is valid. The solution would be to make it clearer. > > Maybe one could show a better message depending on the failure. If it's > > "resource

Re: [patch] Finding the generated latex file

2015-11-03 Thread Scott Kostyshak
On Tue, Nov 03, 2015 at 03:45:03PM +, Guillaume Munch wrote: > Le 03/11/2015 08:27, PhilipPirrip a écrit : > >On 11/02/2015 10:58 PM, Guillaume Munch wrote: > >>Pushed at f441590c. Windows/OSX users, please report if it does not work. > > > >Hey Guillaume, > >Bad news, it didn't work on

Re: [patch] Finding the generated latex file

2015-11-03 Thread Andrew Parsloe
On 4/11/2015 11:07 a.m., Scott Kostyshak wrote: On Tue, Nov 03, 2015 at 06:03:36PM +0100, Stephan Witt wrote: Am 03.11.2015 um 17:39 schrieb Guillaume Munch : So the error message is valid. The solution would be to make it clearer. Maybe one could show a better message

Re: [patch] Finding the generated latex file

2015-11-03 Thread PhilipPirrip
On 11/03/2015 10:45 AM, Guillaume Munch wrote: Bad news, it didn't work on Windows. Qt 4.8, VS2010, WinXP/VirtualBox On Linux, it worked with two AND three slashes: both Qt 4.8 and Qt 5.5; Gnome 3.18, Fedora 23. Thanks for the report and the extra step in testing. Please try again with latest

Re: [patch] Finding the generated latex file

2015-11-03 Thread Stephan Witt
Am 03.11.2015 um 16:36 schrieb Guillaume Munch : > Le 03/11/2015 08:59, Stephan Witt a écrit : >> Am 03.11.2015 um 04:58 schrieb Guillaume Munch > >: >> >>> Le 02/11/2015 18:38, Guillaume Munch a écrit : Le 28/10/2015 16:39, Ilan a écrit :

Re: [patch] Finding the generated latex file

2015-11-03 Thread Guillaume Munch
Le 03/11/2015 16:16, Stephan Witt a écrit : Am 03.11.2015 um 16:36 schrieb Guillaume Munch : 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?

Re: [patch] Finding the generated latex file

2015-11-03 Thread Guillaume Munch
Le 03/11/2015 16:39, Guillaume Munch a écrit : Le 03/11/2015 16:16, Stephan Witt a écrit : Am 03.11.2015 um 16:36 schrieb Guillaume Munch : 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

[patch] Finding the generated latex file

2015-11-02 Thread Guillaume Munch
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

Re: [patch] Finding the generated latex file

2015-11-02 Thread Andrew Parsloe
On 3/11/2015 7:38 a.m., Guillaume Munch wrote: 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

Re: [patch] Finding the generated latex file

2015-11-02 Thread Guillaume Munch
Le 02/11/2015 21:10, Andrew Parsloe a écrit : Your proposed button would also solve #9211 "Make the lyxpreview.log files accessible within LyX". I agree, part of this idea comes from all the times I had to debug lyx previews (but not only). For the interface, I also propose to substitute

Re: [patch] Finding the generated latex file

2015-11-02 Thread Guillaume Munch
Le 02/11/2015 23:50, Scott Kostyshak a écrit : On Mon, Nov 02, 2015 at 09:49:24PM +, Guillaume Munch wrote: Le 02/11/2015 21:10, Andrew Parsloe a écrit : Your proposed button would also solve #9211 "Make the lyxpreview.log files accessible within LyX". I agree, part of this idea comes

Re: [patch] Finding the generated latex file

2015-11-02 Thread Scott Kostyshak
On Mon, Nov 02, 2015 at 09:49:24PM +, Guillaume Munch wrote: > Le 02/11/2015 21:10, Andrew Parsloe a écrit : > >Your proposed button would also solve #9211 "Make the lyxpreview.log > >files accessible within LyX". > > > > > I agree, part of this idea comes from all the times I had to debug

Re: [patch] Finding the generated latex file

2015-11-02 Thread Scott Kostyshak
On Tue, Nov 03, 2015 at 12:11:08AM +, Guillaume Munch wrote: > >The "Open directory..." could also get rid of the "Show Output Anyway" > >button for the same reasoning as (1) above. I like the "Show Output > >Anyway" button how it is, but I'm not sure if that's because I just got > >used to

Re: [patch] Finding the generated latex file

2015-11-02 Thread Guillaume Munch
Le 03/11/2015 00:41, Scott Kostyshak a écrit : On Tue, Nov 03, 2015 at 12:11:08AM +, Guillaume Munch wrote: The "Open directory..." could also get rid of the "Show Output Anyway" button for the same reasoning as (1) above. I like the "Show Output Anyway" button how it is, but I'm not sure

Re: [patch] Finding the generated latex file

2015-11-02 Thread Scott Kostyshak
On Tue, Nov 03, 2015 at 01:05:58AM +, Guillaume Munch wrote: > >Looking at what other programs do in similar (but slightly different) > >situations: > > > >evince and firefox both have: > >Open Containing Folder > > > >fslint has: > >Open Folder > > > >filelight has: > >Open File Manager Here

Re: [patch] Finding the generated latex file

2015-11-02 Thread Guillaume Munch
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