This Engineering Notebook post discusses issues relating to Leo's new layouts. As of today, the "devel" branch contains these PRs:
- PR
#4055: Add "@string qt-layout-name" setting.
- PR
#4058: retire the reload-outline command.
These PRs ensure that Leo's new layouts will work as desired for almost all Leonistas.
Changing layouts during executionAlmost nobody, myself included, needs (or wants) to change the layout of a particular outline
while Leo is running. Instead, Leonistas can:
- Assign
default layouts for all outlines in myLeoSettings.leo.
- Assign
per-outline layouts by adding the setting in individual outlines.
Also, Leonistas can change outlines dynamically using the use-
whatever-layout commands. In today's codebase, these commands execute the restart-leo command.
Changing layouts without restarting LeoThomas wants to change layouts
without restarting Leo. This isn't an unreasonable request, but doing it is fraught. The original attempt involved adding a 'reload-outline' command, but this command is too tricky for me to fix.
SummaryLeo's codebase should satisfy almost all users' desires regarding layouts. I would like to release Leo 6.8.2 on Thursday, September 5.
I have zero interest in resurrecting the reload-outline command, but I'll consider a PR that makes it work. This PR would be part of Leo 6.8.3.
Your comments, please.
Edward