Re: Depth in/decrease used as equivalent to outline in/out

2022-02-01 Thread José Abílio Matos
On Tuesday, 1 February 2022 14.33.49 WET Jean-Marc Lasgouttes wrote:
> Note that shift-tab for depth does not always have a local scope either,
> since it may change the depth of nested sub elements.

Yes, I know and it was a sloppy language. :-)

A better expression would be a waterfall model and so it would be waterfall 
scope. :-)

In the worst case it can topple until the end but it behaves differently from 
what it does now.

1. A
1.1 B
1.1.1 C
1.1.1.1 D

It goes to

1. A
2. B
2.1 C
2.1.1 D

-- 
José Abílio


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


Re: Depth in/decrease used as equivalent to outline in/out

2022-02-01 Thread Daniel

On 01/02/2022 11:23, Jean-Marc Lasgouttes wrote:


Hello,

I am looking for feedback about
https://www.lyx.org/trac/ticket/12417

Basically, now Tab and the depth icons invoke outline in/out when on a 
sectioning layout.


Do you find that this is confusing? The fact is that these two bindings 
have different behavior on layouts that follow the current one. Outline 
stuff is more global (and somewhat broken, see #9375).


The ticket asks to revert b08791f7 (icons) and 31398779/9ab9f2b1 (Tab 
key). What are your thought about this functionality?


JMarc


Note also that it is currently not possible to decrease list depth of a 
heading by tab key or toolbar button, e.g. when one has for whatever 
reason (it's an actual use case I had) ended up with a heading at some 
depth level like


1. Main
[ (a) Sub
[ Section

Daniel

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


Re: Depth in/decrease used as equivalent to outline in/out

2022-02-01 Thread Jean-Marc Lasgouttes

Le 01/02/2022 à 15:27, José Abílio Matos a écrit :

I was surprised by it. I was expecting for Tab to have a local scope. It was
surprising to me that it affected all the sections at the same level below
that paragraph. I was expecting a behavior similar to what it happens for
lists and enumerations.


Note that shift-tab for depth does not always have a local scope either, 
since it may change the depth of nested sub elements.



The current behavior is also surprising in the sense that, at least in the
examples I tested, Shift-Tab works by promoting a (sub*)section but Tab does
not demotes it (at least here it is consistent with listing and enumerations).

Also as it is if we have:

1. A
2. B
2.1 C
2.2 D

And press Shift-Tab in 2. we get:

1. A
2. B
3. C
4. D

My expectation was for this to become a no-op since it is not possible to
promote 2. B anymore.

Is this the feedback you are expecting?


This is interesting in terms of brokenness of outline-* functions. This 
would an argument for exposing them separately (they do have their own 
shortcuts) and merging this with depth stuff yet.


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


Re: Depth in/decrease used as equivalent to outline in/out

2022-02-01 Thread José Abílio Matos
On Tuesday, 1 February 2022 10.23.41 WET Jean-Marc Lasgouttes wrote:
> Hello,
> 
> I am looking for feedback about
> https://www.lyx.org/trac/ticket/12417
> 
> Basically, now Tab and the depth icons invoke outline in/out when on a
> sectioning layout.
> 
> Do you find that this is confusing? The fact is that these two bindings
> have different behavior on layouts that follow the current one. Outline
> stuff is more global (and somewhat broken, see #9375).
> 
> The ticket asks to revert b08791f7 (icons) and 31398779/9ab9f2b1 (Tab
> key). What are your thought about this functionality?
> 
> JMarc

I was surprised by it. I was expecting for Tab to have a local scope. It was 
surprising to me that it affected all the sections at the same level below 
that paragraph. I was expecting a behavior similar to what it happens for 
lists and enumerations.

The current behavior is also surprising in the sense that, at least in the 
examples I tested, Shift-Tab works by promoting a (sub*)section but Tab does 
not demotes it (at least here it is consistent with listing and enumerations).

Also as it is if we have:

1. A
2. B
2.1 C
2.2 D

And press Shift-Tab in 2. we get:

1. A
2. B
3. C
4. D

My expectation was for this to become a no-op since it is not possible to 
promote 2. B anymore.

Is this the feedback you are expecting?

Best regards,
-- 
José Abílio


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


Re: Depth in/decrease used as equivalent to outline in/out

2022-02-01 Thread Kornel Benko
Am Tue, 1 Feb 2022 11:23:41 +0100
schrieb Jean-Marc Lasgouttes :

> Hello,
> 
> I am looking for feedback about
> https://www.lyx.org/trac/ticket/12417
> 
> Basically, now Tab and the depth icons invoke outline in/out when on a 
> sectioning layout.
> 
> Do you find that this is confusing? The fact is that these two bindings 
> have different behavior on layouts that follow the current one. Outline 
> stuff is more global (and somewhat broken, see #9375).
> 
> The ticket asks to revert b08791f7 (icons) and 31398779/9ab9f2b1 (Tab 
> key). What are your thought about this functionality?
> 
> JMarc

For me it is OK as it is now.

-1 to revert.

Kornel


pgpCjqPVZeQBR.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Why do we add converters in frontends GuiPrefs.cpp?

2022-02-01 Thread José Abílio Matos
On Sunday, 2 January 2022 21.19.14 WET Pavel Sanda wrote:
> Most likely my doing.
> These are just suggestions in drop-down menu you can use or edit in
> your settings. I do not see much merit in moving it to configure
> (they are not automagically used).
> 
> Pavel

That makes sense. Thank you.
-- 
José Abílio-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Depth in/decrease used as equivalent to outline in/out

2022-02-01 Thread Jean-Marc Lasgouttes



Hello,

I am looking for feedback about
https://www.lyx.org/trac/ticket/12417

Basically, now Tab and the depth icons invoke outline in/out when on a 
sectioning layout.


Do you find that this is confusing? The fact is that these two bindings 
have different behavior on layouts that follow the current one. Outline 
stuff is more global (and somewhat broken, see #9375).


The ticket asks to revert b08791f7 (icons) and 31398779/9ab9f2b1 (Tab 
key). What are your thought about this functionality?


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