On Sun, 10 Jan 2021 at 03:46, Richard Kimberly Heck <rikih...@lyx.org> wrote:
> I've recently fixed two bugs, #3964 and #10030, both of which have to > do with the behavior of "Apply" in our dialogs. If you insert a citation > (say) and then hit Apply, then if you hit OK you get another one. The > problem is (was) that the dialog is not connected to the newly created > inset. So I've made it so that now the dialog IS connected to the new > inset. > > But there is a side-effect. Suppose you insert a citation and hit apply, > and now you move the cursor somewhere else. The dialog is STILL > connected to the inset. So if you wanted to insert a new citation in a > new place, you would have to close the dialog and then re-open it. The > reference dialog is explicitly designed not to exhibit this behavior, so > (a comment says) you can easily insert multiple references. > > I'm a bit unsure what we want to do here. Should we disconnect the > dialogs on cursor movement perhaps? Then they can remain open and won't > act strangely. I already thought this behaviour was kind of strange. The other option could be to close the window on cursor moves. I think it would be easier to understand from a user point of view, as the disconnection would have a UI feedback, even though it might really annoy quite a few users.
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel