Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread Bennett Helm
On May 4, 2007, at 1:23 PM, Abdelrazak Younes wrote: Abdelrazak Younes wrote: Anyway, I think this discussion is orthogonal to the patch. I am already glad that it works :-) I'll commit it. Done. Please close the bug in bugzilla Bennett. I don't believe this was reported to bugzilla. Clos

Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Anyway, I think this discussion is orthogonal to the patch. I am already glad that it works :-) I'll commit it. Done. Please close the bug in bugzilla Bennett. Abdel.

Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread Bennett Helm
On May 4, 2007, at 12:56 PM, Abdelrazak Younes wrote: With this patch, double-clicking a file when LyX isn't running will start LyX and (apparently) ignore session information about what other files to load. So the "revert" dialog gets properly suppressed. But is this the behavior we want?

Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread Abdelrazak Younes
Bennett Helm wrote: On May 4, 2007, at 11:57 AM, Abdelrazak Younes wrote: I did notice when trying this patch that when I drag a file to the dock icon that is already loaded via sessions, I get the "The document foo.lyx is already loaded. Do you want to revert to the saved version?" dialog. Th

Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread José Matos
On Friday 04 May 2007 17:40:45 Bennett Helm wrote: > But is this the behavior we want? (I'm not sure it isn't; I'm just   > asking.) Would it be preferable to load the double-clicked file   > *together with* all other files from the session file? This is the current behaviour in linux as well. S

Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread Bennett Helm
On May 4, 2007, at 11:57 AM, Abdelrazak Younes wrote: I did notice when trying this patch that when I drag a file to the dock icon that is already loaded via sessions, I get the "The document foo.lyx is already loaded. Do you want to revert to the saved version?" dialog. That should probably

Re: File Opening Bug: LyX/Mac-1.5b2

2007-05-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Bennett Helm wrote: On Apr 27, 2007, at 10:38 AM, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Bennett Helm wrote: On Apr 27, 2007, at 10:25 AM, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no c

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Bennett Helm wrote: On Apr 27, 2007, at 10:38 AM, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no c

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Richard Heck wrote: Abdel, that's some impressive work, solving a problem like that without even having access to a machine on which you can test the patches. Very nice. That's just experience ;-) But thanks for the appraisal, I enjoyed it :-) Abdel.

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I did notice when trying this patch that when I drag a file Bennett> to the dock icon that is already loaded via sessions, I get Bennett> the "The document foo.lyx is already loaded. Do you want to Bennett> revert to the saved ve

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Bennett Helm
On Apr 27, 2007, at 10:38 AM, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no crash, but the file do

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Richard Heck
Abdel, that's some impressive work, solving a problem like that without even having access to a machine on which you can test the patches. Very nice. rh Bennett Helm wrote: > On Apr 27, 2007, at 10:25 AM, Abdelrazak Younes wrote: > >> Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelraz

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Bennett Helm
On Apr 27, 2007, at 10:25 AM, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no crash, but the file do

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Updated patch taking this in consideration. Please try Abdelrazak> with multiple files. Wouldn't it be better to add the files directly to LyX::Pimpl::files_to_load_? They are the same thing.

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Updated patch taking this in consideration. Please try Abdelrazak> with multiple files. Wouldn't it be better to add the files directly to LyX::Pimpl::files_to_load_? They are the same thing. JMarc

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no crash, but the file does not open. Abdelrazak> OK, try this one then. Please

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no crash, but the file does not open. Abdelrazak> OK, try this one then. Please

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: >> On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: >>> Silly me! Try this one. >> This time no crash, but the file does not open. Abdelrazak> OK, try this one then. Please test also the open

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Bennett Helm wrote: On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no crash, but the file does not open. OK, try this one then. Please test also the opening when LyX is also running. Abdel. Index: GuiApplication.cpp ===

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Bennett Helm
On Apr 27, 2007, at 9:38 AM, Abdelrazak Younes wrote: Silly me! Try this one. This time no crash, but the file does not open. Bennett

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Abdelrazak Younes
Bennett Helm wrote: With the patch applied, LyX still crashes. Here's what crashdump provides: Silly me! Try this one. Abdel. Index: GuiApplication.cpp === --- GuiApplication.cpp (revision 18060) +++ GuiApplication.cpp (workin

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-27 Thread Bennett Helm
On Apr 27, 2007, at 2:31 AM, Abdelrazak Younes wrote: Abdelrazak Younes wrote: Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document icon (or dragging it

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-26 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document icon (or dragging it onto the LyX icon in the Dock) launches LyX.app, which th

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-26 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document i

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-26 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bennett Helm wrote: >> On the User's List, Scott Lambert reported -- and I can confirm -- >> a problem with opening documents when LyX is not currently running. >> Simply double-clicking the document icon (or dragging

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Martin Vermeer
On Wed, Apr 25, 2007 at 11:12:22PM +0200, Abdelrazak Younes wrote: > Martin Vermeer wrote: > >On Wed, Apr 25, 2007 at 10:27:36PM +0200, Abdelrazak Younes wrote: > >>Bennett Helm wrote: > >>>On Apr 25, 2007, at 4:11 PM, Abdelrazak Younes wrote: > >>> > Bennett Helm wrote: > >On the User's Li

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Abdelrazak Younes
Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document icon (or dragging it onto the LyX icon in the Dock) launches LyX.app, which then immediately quits. Cons

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Richard Heck
Couldn't you also arrange for the executable at which the icon points to be, say, gdb lyx-svn $1, or whatever? Abdelrazak Younes wrote: > Martin Vermeer wrote: >> On Wed, Apr 25, 2007 at 10:27:36PM +0200, Abdelrazak Younes wrote: >>> Bennett Helm wrote: On Apr 25, 2007, at 4:11 PM, Abdelraza

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Abdelrazak Younes
Martin Vermeer wrote: On Wed, Apr 25, 2007 at 10:27:36PM +0200, Abdelrazak Younes wrote: Bennett Helm wrote: On Apr 25, 2007, at 4:11 PM, Abdelrazak Younes wrote: Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Martin Vermeer
On Wed, Apr 25, 2007 at 10:27:36PM +0200, Abdelrazak Younes wrote: > Bennett Helm wrote: > >On Apr 25, 2007, at 4:11 PM, Abdelrazak Younes wrote: > > > >>Bennett Helm wrote: > >>>On the User's List, Scott Lambert reported -- and I can confirm -- a > >>>problem with opening documents when LyX is no

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Abdelrazak Younes
Bennett Helm wrote: On Apr 25, 2007, at 4:11 PM, Abdelrazak Younes wrote: Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document icon (or dragging it onto th

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Bennett Helm
On Apr 25, 2007, at 4:11 PM, Abdelrazak Younes wrote: Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document icon (or dragging it onto the LyX icon in the

Re: File Opening Bug: LyX/Mac-1.5b2

2007-04-25 Thread Abdelrazak Younes
Bennett Helm wrote: On the User's List, Scott Lambert reported -- and I can confirm -- a problem with opening documents when LyX is not currently running. Simply double-clicking the document icon (or dragging it onto the LyX icon in the Dock) launches LyX.app, which then immediately quits. Cons