Abdelrazak Younes wrote:
sometimes the cursor flashes at the beginning of the inset,
double clicking always flashes the cursor at the beginning
>
LFUN_MOUSE_MOTION needs to be optimized also so that no redraw
happens if there is no selection (or no additional selection).
LFUN_DOUBLE_CLICK needs to be optimized ;-)

ok

also the "box" around the math inset is not always displayed when clicking there

The problem is that displaying it would provoke a full redraw and repaint. I think it is OK if we don't displayed it when clicking but
 only when typing characters. This is a good compromise for
performance IMHO as you don't really need the frame when navigating a
formula, or do you?

the box is a indication that the inset got focus, so i find it a bit confusing as it is now (although i guess that this is in part because i am used to them).

more importantly, it is impossible atm to place the cursor correctly with the mouse in situations where these boxes are needed to know where things are going to be inserted.

(are there situations where the cursor position is not enough? if not then we could get rid of these boxes altogether?)

i would also argue for consistent behavior.

isn't there a way to only toggle the drawing of the frame without redrawing the contents since nothing changed here?

thanks, ed.


PS if i selecting something in a math inset and then move the cursor right or left the selection is not cleared



Reply via email to