hi, in short the problem is that at the end of lyxfunc dispatch we firstly processUpdateFlags and after we do restartCursor() which in turn updates toolbar, which toggling-on hides the cursor. moving processUpdateFlags after restartCursor leads to crashes.
the following patch is a workaround for the bug, so that processUpdateFlags is called once more after this. it cant be used as an fix, because it will slow down the editation. moreover it does not fixes the logic... i can devise some ugly patch which triggers processUpdateFlags only when toolbar toggling is detected, but beforehand i would like to ask whether there is some better idea what to do -- Abdel? pavel
diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 5fc04c1..1f70863 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -1755,6 +1755,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd) // update gui lyx_view_->restartCursor(); + view()->processUpdateFlags(updateFlags); } } if (lyx_view_) {