Richard Heck <[EMAIL PROTECTED]> writes: > Well, I don't understand what's going on here really, but I do know > roughly why the selection is occasionally being cleared (and I am > seeing this with 1.6svn as well as with 1.5.2svn): Movement of the > mouse is occasionally causing a SelectionClear even to be passed into > GuiApplication::x11EventFilter, which is calling > BufferView::clearSelection(). I don't know why this event is > appearing, as it's just mouse movement that's going on here.
Stab in the dark: does this patch help? JMarc
svndiff src Index: src/BufferView.cpp =================================================================== --- src/BufferView.cpp (révision 19396) +++ src/BufferView.cpp (copie de travail) @@ -1227,7 +1227,8 @@ bool BufferView::workAreaDispatch(FuncRe cur.dispatch(cmd); //Do we have a selection? - theSelection().haveSelection(cursor().selection()); + if (cur.result().dispatched()) + theSelection().haveSelection(cursor().selection()); // Redraw if requested and necessary. if (cur.result().dispatched() && cur.result().update())