Robin S. Socha wrote: >>> I think that we do want to put the cursor inside. >> >> I don't think so. Opening is opening and moving the cursor is >> moving the cursor. > > May I humbly comment that currently opening an inset positions the > cursor in the first line of the buffer - and that is > counter-intuitive? CVS checkout as of last afternoon.
I don't think that is true, but what happens now is most definitely buggy. For example, place the cursor manually at the very end of a long document, then return to the top of the document using the scrollbar and try and click on (say) a citation inset. (Note that the cursor is still at the end of the document.) There's a strange flash as the screen is redrawn at the current cursor position (I assume) followed by another redraw at the inset location. The dialog is *not* opened. Click on it again and everything behaves as you'd expect. Conclusion: something is not being initialised correctly, causing things to foo-bar the first time the action is invoked. Robin's use-case is just another example of the bug in action. In his case, the second redraw is not triggered. No time to investigate at the moment. -- Angus