Opening activated branch insets

Pavel Sanda sanda at lyx.org
Tue Mar 29 19:26:32 UTC 2022


On Tue, Mar 29, 2022 at 02:30:26PM -0400, Scott Kostyshak wrote:
> > > and/or in the context menu when right-clicking on a branch?
> > 
> > The attached patch solves the problem for me.
> > I would like to get at least the lfun to the master (I can add note about this 
> > lfun for binding to tutorial). Objections?
> 
> I find "selected branch" confusing in the documentation. It makes it
> seem we should select the branch and then run the LFUN. Should we say
> explicitly "the branch in front of the cursor" ? I didn't look at
> similar functions so perhaps "selected x" is indeed consistent with
> others. If so, please ignore.

I do not have any strong opinion about the wording.
Could you update the patch so the wording is understandable? I am not good
at UI-friendly designs :)


> > If you like I can add the entry to the context menu of branch inset (part of the
> > current patch), but I am equivalently happy to have in just in my private
> > patchset.
> 
> Perhaps ask on lyx-users? I find it strange to *toggle*. Why do you want
> to toggle rather than just "open all" or "close all" ? Can you describe
> a specific use case to toggle rather than open all or close all? Perhaps
> you are trying to be considerate of not taking up too many options?

Exactly, I wanted to avoid unnecesary menu items. If it was single inset
one of the open/close items could be hidden, but not with many items...
And again no strong opinions here; since no one objected during last 6 years
it's probably only my issue and I am happy not to touch UI in master
if lfun is made available for keybinding.

Pavel


More information about the lyx-devel mailing list