I think this is happening because of a minor mismatch between the previous 
layout system - the one that required outlines to be reload to change the 
layout - and the new one that I wrote.  The old ones are applied when the 
outline is being loaded. The layout can be changed (and the outline 
reploaded) just as in 6.8.1.  The new ones can be applied by the layout-* 
commands at any time.There are two things in play:

1. I overlooked the initial-split-orientation setting, and my layouts don't 
make use of it.  They were created to look like the layout diagrams that 
Edward included in docstrings. I personally find the setting confusing 
because for many layouts I have no idea what the result would be.

2. Some of the 6.8.1 layouts are created with VR already them.  It won't 
display until you show V with one of the commands like 'vr', 'vr-show', 
'vr-toggle' but the splitter panel may show.  That assignment is not 
conditional on VR/VR3 enablement. Now if you, say, toggle VR3 but the 
layout has no spot for it, it will be inserted into the main splitter next 
to whatever was there before. That way you can end up with both VR and VR3 
and they will probably be next to each other.  It's pretty obvious when VR3 
displays the body, but it's not always obvious with VR.  The panel you 
mention that did not have line numbering, that would be VR showing the body.

The plan has been to move away from the 6.8.1 system to the new one as we 
gain experience and see if it needs any changes. This 
initial-split-direction business is one we will need to work out how to 
handle, or if it should be retired altogether.

On Monday, October 14, 2024 at 8:02:34 AM UTC-4 viktor....@gmail.com wrote:

> Hello Edward & Thomas,
>
> Edward K. Ream schrieb am Samstag, 12. Oktober 2024 um 15:54:02 UTC+2:
>
> On Wednesday, October 9, 2024 at 8:12:19 AM UTC-5 Edward K. Ream wrote:
>
> I have *tentatively* scheduled Leo 6.8.2 for Friday, October 25. 
>
>
> I have just merged two more PRs into the "devel" branch.
>
> I shall approve no further work on Leo 6.8.2 unless someone reports 
> reversions against recent changes.
>
> I'll leave the October 25 date unchanged so we may all test "devel" 
> thoroughly. Please continue to do so.
>
>
> Something is awkward with the current state of the new layout system ( at 
> least in my Fedora Linux VM ;-)
>
> I'm on the latest version of the 'devel' branch - and - I'm able to 
> reproduce this behavior !
>
> Here are the notes from my tests:
>
>     Perform another test with plugins enabled:
>
>     * # Starting with '@string initial-split-orientation = horizontal' 
> from "myLeoSettings.leo" - plus -
>     * # VR & VR3 enabled, i.e. VR3 should be prioritized.
>     * Try 'layout-vertical-thirds' - OK? - No change ...
>     * Try 'layout-horizontal-thirds' - OK? - Change to 'legacy' layout ...
>     ** Try 'layout-quadrant' - Not OK - No change to layout - but - w/o 
> VR pane using VR3 ...*
>     * Try 'layout-restore-default' - OK? - No change to layout ...
>     * Try 'layout-big-tree' - OK - Change to '?' layout with VR pane using 
> VR3 ...
>     * Try 'layout-restore-default' - OK? - Change to 'legacy' layout with 
> VR pane using VR3 ...
>     ** Try 'layout-render-focused' - Not OK - The 'legacy' layout is kept 
> - but - a fifth tile is added with another active (!) copy (?) of the body 
> pane !*
>     * Try 'layout-swap-log-panel' - OK? -> 1 + 3 + 1 ...
>     * Try 'layout-swap-log-panel' again - OK? -> 2 + 3 ...
>
> Note: With "active (!) copy (?)" I mean that whatever I type in the 
> original tile appears in the other tile as well.
>
> With kind regards,
>
> Viktor
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/6aab0717-3081-40a7-8a88-f8df51487f40n%40googlegroups.com.

Reply via email to