Hi, Viktor,

In recent development releases of Leo, the VR3 pane has sometimes started 
to show up in unexpected places.  I have also had the VR pane open in 
undesired locations too (VR and VR3 use almost identical code for the 
on/off behavior). This seems to be caused by some bug/feature in Leo's 
machinery that has not been tracked down yet (there have been some recent 
changes to this part of Leo's code, which may or may not have something to 
do with it).  Edward has speculated that there may be some unexpected 
caching going on,

I have not seen the VR3 pane show up at the left nor under the body pane, 
but it probably has the same cause.  To help with recovery, I added a new 
command, and you should try it out:

<ALT-x>vr3-use-default-layout

This should put the VR3 pane to the right of the body pane, which should be 
to the right of the outline pane, no matter what incorrect layout had come 
about.  This layout should be stable when VR3 is toggled on and off again.  
If this doesn't work for you, please post the actual behavior and I'll try 
to come up with a way to make it work as intended.

If this works but it is not the layout you want to use, you should be able 
to use the context menus of the splitter bars between panes to change the 
layout.  Then you can save your preferred layout under some name. After 
this, you can just load that named layout if VR3 should open in the wrong 
place again.

Please note that I wouldn't be able to offer any changed code until after 
Leo 6.3 final is released, since the devel branch can't be changed until 
then.

BTW, I use the initial setting

@string initial-split-orientation = horizontal

Most of my testing during development has been with this setting.  This 
puts the outline pane at the left with the Nav pane below it, the body pane 
to its right, and the VR/VR3 pane to the right of that.  But this setting 
did not prevent some of the undesired opening locations.  I don't think any 
existing setting can do that.

On Tuesday, October 27, 2020 at 12:38:36 PM UTC-4, Viktor Ransmayr wrote:
>
> Hello Thomas,
>
> In advance of the release of Leo 6.3 I have started to check out the 
> mentioned improvements to VR & VR3 in the release notes of Leo.
>
> In my environment, I noticed an annoying difference in VR3, when comparing 
> it to VR's behaviour:
>
> * The VR3 pane is always at the very top of the window - and - not to the 
> right of the body - or - below the body (when @string 
> initial-split-orientation = vertical is active) ...
>
> * Similar the VR3 pane is always at the very left of the window - and - 
> not at the right side - or - below the body pane (when @string 
> initial-split-orientation = vertical is commented out) ...
>
> Have you succeeded in your Leo 6.3 b1 environment, that the VR3 pane is 
> located at the same place as the VR pane?
>
> If yes, can you please share your respective configuration settings ...
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/c58a9629-b8f1-4b28-909a-26e2aee94e3co%40googlegroups.com.

Reply via email to