Re: [PATCH] Bug 3472: crash on specifc document state(was Re: InsetCollapsable::CursorPos bug)

2007-05-09 Thread Bo Peng
The crash was due to the improper use of ParIterator, which goes inside nested insets and therefore finds the bad inset. However, there is no need to do something so complicated, and therefore the following patch seems to fix the crash for me. Comment welcome. I just added this bug on the 1.5.0

Re: [PATCH] Bug 3472: crash on specifc document state(was Re: InsetCollapsable::CursorPos bug)

2007-05-09 Thread José Matos
On Wednesday 09 May 2007 19:54:37 Bo Peng wrote: I will trust you on this cursor issue. I have actually asked before how to properly locate pit but no one gave me a better idea. Jean-Marc there is a consensus so I will not break it. :-) Cheers, Bo -- José Abílio

[PATCH] Bug 3472: crash on specifc document state(was Re: InsetCollapsable::CursorPos bug)

2007-05-09 Thread Jean-Marc Lasgouttes
Sam == Sam Lewis [EMAIL PROTECTED] writes: Sam Alexander Streit [EMAIL PROTECTED] writes: I couldn't find a bugzilla report on this, just waiting for my account to be created so that I can submit one. Sam Sorry didn't follow the exact conversation, but is this not the Sam aforementioned bug?

[PATCH] Bug 3472: crash on specifc document state(was Re: InsetCollapsable::CursorPos bug)

2007-05-09 Thread Jean-Marc Lasgouttes
> "Sam" == Sam Lewis <[EMAIL PROTECTED]> writes: Sam> Alexander Streit <[EMAIL PROTECTED]> writes: >> I couldn't find a bugzilla report on this, just waiting for my >> account to be created so that I can submit one. Sam> Sorry didn't follow the exact conversation, but is this not the Sam>

Re: [PATCH] Bug 3472: crash on specifc document state(was Re: InsetCollapsable::CursorPos bug)

2007-05-09 Thread Bo Peng
The crash was due to the improper use of ParIterator, which goes inside nested insets and therefore finds the bad inset. However, there is no need to do something so complicated, and therefore the following patch seems to fix the crash for me. Comment welcome. I just added this bug on the 1.5.0

Re: [PATCH] Bug 3472: crash on specifc document state(was Re: InsetCollapsable::CursorPos bug)

2007-05-09 Thread José Matos
On Wednesday 09 May 2007 19:54:37 Bo Peng wrote: > I will trust you on this cursor issue. I have actually asked before > how to properly locate pit but no one gave me a better idea. Jean-Marc there is a consensus so I will not break it. :-) > Cheers, > Bo -- José Abílio

Re: InsetCollapsable::CursorPos bug

2007-05-07 Thread Jean-Marc Lasgouttes
Alexander == Alexander Streit [EMAIL PROTECTED] writes: Alexander I couldn't find a bugzilla report on this, just waiting for Alexander my account to be created so that I can submit one. I am Alexander using beta 2 and it happens quite regularly. Could it be that the cursor is left inside a

Re: InsetCollapsable::CursorPos bug

2007-05-07 Thread Sam Lewis
Alexander Streit [EMAIL PROTECTED] writes: I couldn't find a bugzilla report on this, just waiting for my account to be created so that I can submit one. Sorry didn't follow the exact conversation, but is this not the aforementioned bug? http://bugzilla.lyx.org/show_bug.cgi?id=3472

Re: InsetCollapsable::CursorPos bug

2007-05-07 Thread Jean-Marc Lasgouttes
> "Alexander" == Alexander Streit <[EMAIL PROTECTED]> writes: Alexander> I couldn't find a bugzilla report on this, just waiting for Alexander> my account to be created so that I can submit one. I am Alexander> using beta 2 and it happens quite regularly. Could it be that the cursor is left

Re: InsetCollapsable::CursorPos bug

2007-05-07 Thread Sam Lewis
Alexander Streit <[EMAIL PROTECTED]> writes: > > I couldn't find a bugzilla report on this, just waiting for my account to be > created so that I can submit one. Sorry didn't follow the exact conversation, but is this not the aforementioned bug? http://bugzilla.lyx.org/show_bug.cgi?id=3472

InsetCollapsable::CursorPos bug

2007-05-05 Thread Alexander Streit
Hi Guys, I was working on a rather large document today when lyx started crashing whenever I opened it. I opened a bunch of backups that all seemed to work when suddenly they started crashing too. That caught me by surprise, so I started poking around the subversion code. The offender was a

Re: InsetCollapsable::CursorPos bug

2007-05-05 Thread Richard Heck
This has been seen before. I think there may be a bugzilla report on it. If not, please file one. Alexander Streit wrote: Hi Guys, I was working on a rather large document today when lyx started crashing whenever I opened it. I opened a bunch of backups that all seemed to work when

Re: InsetCollapsable::CursorPos bug

2007-05-05 Thread Bo Peng
This has been seen before. I think there may be a bugzilla report on it. If not, please file one. Which version of lyx are you using? If it is beta 1, please try beta 2. I believe that I have fixed it. Cheers, Bo

Re: InsetCollapsable::CursorPos bug

2007-05-05 Thread Alexander Streit
I couldn't find a bugzilla report on this, just waiting for my account to be created so that I can submit one. I am using beta 2 and it happens quite regularly. The document I am editing is over 140 pages long, so I haven't tracked down exactly how it happens. I do know that if I edit the session

InsetCollapsable::CursorPos bug

2007-05-05 Thread Alexander Streit
Hi Guys, I was working on a rather large document today when lyx started crashing whenever I opened it. I opened a bunch of backups that all seemed to work when suddenly they started crashing too. That caught me by surprise, so I started poking around the subversion code. The offender was a

Re: InsetCollapsable::CursorPos bug

2007-05-05 Thread Richard Heck
This has been seen before. I think there may be a bugzilla report on it. If not, please file one. Alexander Streit wrote: Hi Guys, I was working on a rather large document today when lyx started crashing whenever I opened it. I opened a bunch of backups that all seemed to work when

Re: InsetCollapsable::CursorPos bug

2007-05-05 Thread Bo Peng
This has been seen before. I think there may be a bugzilla report on it. If not, please file one. Which version of lyx are you using? If it is beta 1, please try beta 2. I believe that I have fixed it. Cheers, Bo

Re: InsetCollapsable::CursorPos bug

2007-05-05 Thread Alexander Streit
I couldn't find a bugzilla report on this, just waiting for my account to be created so that I can submit one. I am using beta 2 and it happens quite regularly. The document I am editing is over 140 pages long, so I haven't tracked down exactly how it happens. I do know that if I edit the session