Re: Request for feedback: open/close all insets of a branch ?

2022-04-04 Thread Daniel via lyx-users

On 2022-04-02 16:37, Scott Kostyshak via lyx-users wrote:

Dear all LyX branch users,

Have you ever wished there were a way to open (or close) all insets of a
certain branch? We have a pending patch on lyx-devel that would add an
option to the context-menu when you right-click on the inset of a
branch. E.g., we could add two entries "Open All" and "Close All".

Would you use this feature? Could you describe a particular use case
i.e., some context and a reason why you want to open all branch insets
of a specific branch in that context?

Scott


I not using branches (yet). But, generally, I think for such a feature 
to be easily accessible and (mis)clickable, it is a good idea to be able 
to undo it because of its rather drastic effect (change of all such 
insets). Actually, this can be done currently which is good I think. But 
I am slightly worried that it is counter to some of the developers' 
opinion (and possibly consensus) on whether opening insets should count 
as marking the buffer dirty (i.e. a file unsaved). So, that is something 
to consider, I think. However, since this is probably not an action that 
is often taken, a warning dialog that tells the user that this action 
cannot be undone might make this problem less severe.


Also, addition to (or instead of) a menu, a more general solution might 
be an "inset toolbox" (pane/dialog) via which inset types can be 
selected from a drop-down and (general) actions (e.g. closing, opening, 
replacing with another type, etc.) on these insets executed. Just a 
spontaneous idea that I have not further thought through.


Daniel


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Scott Kostyshak via lyx-users
On Sun, Apr 03, 2022 at 11:31:40AM -0600, Joel Kulesza wrote:
> On Sun, Apr 3, 2022 at 11:07 Scott Kostyshak via lyx-users <
> lyx-users@lists.lyx.org> wrote:
> 
> > On Sun, Apr 03, 2022 at 09:23:39AM -0600, Joel Kulesza wrote:
> > > On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
> > > lyx-users@lists.lyx.org> wrote:
> > >
> > > > Dear all LyX branch users,
> > > >
> > > > Have you ever wished there were a way to open (or close) all insets of
> > a
> > > > certain branch? We have a pending patch on lyx-devel that would add an
> > > > option to the context-menu when you right-click on the inset of a
> > > > branch. E.g., we could add two entries "Open All" and "Close All".
> > > >
> > > > Would you use this feature? Could you describe a particular use case
> > > > i.e., some context and a reason why you want to open all branch insets
> > > > of a specific branch in that context?
> > >
> > >
> > > Scott,
> > >
> > > I have used branches and I see how this might be helpful. However, I’m
> > > never editing in such an en masse manner that this would be helpful to
> > me,
> > > so I would likely not use it. However, if you have a use case that it’s
> > > helpful for, I see no downside to it.
> >
> > Thanks, Joel. As for the downside, we try not to clutter menus too much
> > so it's nice to know that people will use a feature. It seems like an
> > intuitive feature to add and the functionality fits well in that menu,
> > but it would still be nice to know that someone would use it.
> 
> 
> Scott,
> 
> Agreed, which is why I said *if you* have a use case, then I see no
> downside. The downside would be clutter without at least one use case.

Indeed I missed that. I think we agree.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Joel Kulesza via lyx-users
On Sun, Apr 3, 2022 at 11:07 Scott Kostyshak via lyx-users <
lyx-users@lists.lyx.org> wrote:

> On Sun, Apr 03, 2022 at 09:23:39AM -0600, Joel Kulesza wrote:
> > On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
> > lyx-users@lists.lyx.org> wrote:
> >
> > > Dear all LyX branch users,
> > >
> > > Have you ever wished there were a way to open (or close) all insets of
> a
> > > certain branch? We have a pending patch on lyx-devel that would add an
> > > option to the context-menu when you right-click on the inset of a
> > > branch. E.g., we could add two entries "Open All" and "Close All".
> > >
> > > Would you use this feature? Could you describe a particular use case
> > > i.e., some context and a reason why you want to open all branch insets
> > > of a specific branch in that context?
> >
> >
> > Scott,
> >
> > I have used branches and I see how this might be helpful. However, I’m
> > never editing in such an en masse manner that this would be helpful to
> me,
> > so I would likely not use it. However, if you have a use case that it’s
> > helpful for, I see no downside to it.
>
> Thanks, Joel. As for the downside, we try not to clutter menus too much
> so it's nice to know that people will use a feature. It seems like an
> intuitive feature to add and the functionality fits well in that menu,
> but it would still be nice to know that someone would use it.


Scott,

Agreed, which is why I said *if you* have a use case, then I see no
downside. The downside would be clutter without at least one use case.

Thanks,
Joel

>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Scott Kostyshak via lyx-users
On Sun, Apr 03, 2022 at 09:23:39AM -0600, Joel Kulesza wrote:
> On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
> lyx-users@lists.lyx.org> wrote:
> 
> > Dear all LyX branch users,
> >
> > Have you ever wished there were a way to open (or close) all insets of a
> > certain branch? We have a pending patch on lyx-devel that would add an
> > option to the context-menu when you right-click on the inset of a
> > branch. E.g., we could add two entries "Open All" and "Close All".
> >
> > Would you use this feature? Could you describe a particular use case
> > i.e., some context and a reason why you want to open all branch insets
> > of a specific branch in that context?
> 
> 
> Scott,
> 
> I have used branches and I see how this might be helpful. However, I’m
> never editing in such an en masse manner that this would be helpful to me,
> so I would likely not use it. However, if you have a use case that it’s
> helpful for, I see no downside to it.

Thanks, Joel. As for the downside, we try not to clutter menus too much
so it's nice to know that people will use a feature. It seems like an
intuitive feature to add and the functionality fits well in that menu,
but it would still be nice to know that someone would use it.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Joel Kulesza via lyx-users
On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Dear all LyX branch users,
>
> Have you ever wished there were a way to open (or close) all insets of a
> certain branch? We have a pending patch on lyx-devel that would add an
> option to the context-menu when you right-click on the inset of a
> branch. E.g., we could add two entries "Open All" and "Close All".
>
> Would you use this feature? Could you describe a particular use case
> i.e., some context and a reason why you want to open all branch insets
> of a specific branch in that context?


Scott,

I have used branches and I see how this might be helpful. However, I’m
never editing in such an en masse manner that this would be helpful to me,
so I would likely not use it. However, if you have a use case that it’s
helpful for, I see no downside to it.

Joel

>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Request for feedback: open/close all insets of a branch ?

2022-04-02 Thread Norman Dunbar via lyx-users
I don't use branches, so far at least, do it is not something that I would be 
likely to use just now.

Maybe later if/when I start using them.

Cheers,
Norm.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

On 2 April 2022 15:37:01 BST, Scott Kostyshak via lyx-users 
 wrote:
>Dear all LyX branch users,
>
>Have you ever wished there were a way to open (or close) all insets of a
>certain branch? We have a pending patch on lyx-devel that would add an
>option to the context-menu when you right-click on the inset of a
>branch. E.g., we could add two entries "Open All" and "Close All".
>
>Would you use this feature? Could you describe a particular use case
>i.e., some context and a reason why you want to open all branch insets
>of a specific branch in that context?
>
>Scott
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Request for feedback: open/close all insets of a branch ?

2022-04-02 Thread Paul A. Rubin via lyx-users

On 4/2/22 10:37, Scott Kostyshak via lyx-users wrote:

Dear all LyX branch users,

Have you ever wished there were a way to open (or close) all insets of a
certain branch? We have a pending patch on lyx-devel that would add an
option to the context-menu when you right-click on the inset of a
branch. E.g., we could add two entries "Open All" and "Close All".

Would you use this feature? Could you describe a particular use case
i.e., some context and a reason why you want to open all branch insets
of a specific branch in that context?

Scott

Can't say I've ever felt the urge to do that ... but then I rarely close 
insets, and don't use branches very often. So no, I don't see myself 
using that feature.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Request for feedback: open/close all insets of a branch ?

2022-04-02 Thread Scott Kostyshak via lyx-users
Dear all LyX branch users,

Have you ever wished there were a way to open (or close) all insets of a
certain branch? We have a pending patch on lyx-devel that would add an
option to the context-menu when you right-click on the inset of a
branch. E.g., we could add two entries "Open All" and "Close All".

Would you use this feature? Could you describe a particular use case
i.e., some context and a reason why you want to open all branch insets
of a specific branch in that context?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users