Robin S. Socha wrote:

> ssertion triggered in virtual void InsetText::draw(PainterInfo&, int, int)
> const by failing check "!text_.paragraphs().begin()->rows.empty()" in file
> insettext.C:192

The bug responsible for this is the following: all handled LFUNS (including
opening/closing footnotes) trigger a fitCursor call. In old times, we used
to set the cursor inside the inset when opening it (which I don't like so
much) and so the fitCursor call was harmless. Now it's not so, and so if
you scroll with the scrollbar (or mouse wheel) -- without "cursor follows
scrollbar" then try to open some inset you inmediately jump to the cursor
position (before even drawing the screen) and then other bad things
happend.

So the question is: do we want opening an inset to automatically put the
cursor inside? Or should we *not* call fitCursor when opening/closing
footnotes? (are there other LFUNs that need it)?

Alfredo


Reply via email to