Re: LyX crashes on cursor up/down

2007-01-03 Thread Bo Peng
This happens with Copy&Paste: 1) Create a note 2) Collapse it 3) Place the mouse cursor over the inset button. 4) Select the inset with the keyboard 5) type Ctrl-v immediately followed by Ctrl-v. The note inset is then replaced by its own copy. 6) move the inset out of the inset I find a simple

Re: LyX crashes on cursor up/down

2007-01-01 Thread Bo Peng
This happens with Copy&Paste: 1) Create a note 2) Collapse it 3) Place the mouse cursor over the inset button. 4) Select the inset with the keyboard 5) type Ctrl-v immediately followed by Ctrl-v. The note inset is then replaced by its own copy. 6) move the inset out of the inset This is somehow

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Bo Peng wrote: There is an easy crash to reproduce though with mouse-hover when you pass on top of the first Note with the mouse. The crash happens at line 1073 of BufferView.C because last_inset points to invalid memory... Bo, I guess this is for you ;-) I can not reproduce it. Could you ple

Re: LyX crashes on cursor up/down

2007-01-01 Thread Bo Peng
> * insert->note->lyx note, enter a few chars, collapse the note. Copy the note > several times (three lines?), use mouse to select. Lyx crashes with > > Assertion triggered in void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&) by failing check "cur.text() == this" in file src/text

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Peter Kümmel wrote: * insert->note->lyx note, enter a few chars, collapse the note. Copy the note several times (three lines?), use mouse to select. Lyx crashes with Assertion triggered in void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&) by failing check "cur.text() == this" in

Re: LyX crashes on cursor up/down

2007-01-01 Thread Peter Kümmel
Abdelrazak Younes wrote: > Enrico Forestieri wrote: >> Latest svn. Load any sufficiently long document and scroll it down and up >> using the arrow keys. Sooner than later LyX asserts. I get two different >> assertions: >> >> Assertion triggered in lyx::Point lyx::CoordCache::get(const >> lyx::LyXT

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Enrico Forestieri wrote: Latest svn. Load any sufficiently long document and scroll it down and up using the arrow keys. Sooner than later LyX asserts. I get two different assertions: Assertion triggered in lyx::Point lyx::CoordCache::get(const lyx::LyXText*, lyx::pit_type) const by failing che

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Enrico Forestieri wrote: Latest svn. Load any sufficiently long document and scroll it down and up using the arrow keys. Sooner than later LyX asserts. I get two different assertions: Assertion triggered in lyx::Point lyx::CoordCache::get(const lyx::LyXText*, lyx::pit_type) const by failing che

LyX crashes on cursor up/down

2006-12-31 Thread Enrico Forestieri
Latest svn. Load any sufficiently long document and scroll it down and up using the arrow keys. Sooner than later LyX asserts. I get two different assertions: Assertion triggered in lyx::Point lyx::CoordCache::get(const lyx::LyXText*, lyx::pit_type) const by failing check "posit != it->second.end