I forgot that the devel branch might have a different version of the newest docks code. For the above remark, I was using
Leo Log Window Leo 6.3-devel, devel branch, build 65ecc3ff0d 2020-09-09 18:48:47 -0400 Python 3.8.2, PyQt version 5.15.0 Windows 10 AMD64 (build 10.0.18362) SP0 At least with this version, the situation is even worse than I thought. If you start Leo with --init-docks, it forgets the layouts that you have already set, *even if those files had not been opened by Leo*. So actually, the only way you can get a set of outlines all open with your desired layout is to open Leo with --init-docks, adjust the layout of all of them, close Leo, then perhaps re-open it with --use-docks. The next time you want to open another file, it will have the default layout (which is wrong), and so you will have to close and restart with --init-docks and fix the layout. But now Leo will forget the layout for all your other Leo outlines - including the set you just fixed up earlier. This is unworkable for practical use. On Friday, September 11, 2020 at 2:08:28 PM UTC-4, Thomas Passin wrote: > > > On Friday, September 11, 2020 at 7:14:14 AM UTC-4, Edward K. Ream wrote: >> >> >> >> On Thu, Sep 10, 2020 at 7:45 PM Brian Theado <[email protected]> wrote: >> >>> As mentioned on github, the #1570 issue is fixed for me. >>> >>> Onn the topic Thomas raised, the default pane sizing is especially bad >>> for --use-docks. >>> >> >> This probably can't be fixed. However, opening a new file, setting the >> layout, and *not* saving the new file before closing Leo should set a >> new default for new files. >> > > No, it does not do that. It does use that new layout for the first file > that it opens as a parameter on the command line. But once open, a new > outline from File/New does not use this layout but instead uses the default > layout. > > It seems to me that if Leo can save the layout when closing after you have > adjusted a not-to-be-saved outline, then it must be possible to have a menu > item "Save This Layout As the Default Layout". We need that command. > -- 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/bee6ac84-9b9f-4d01-b9cc-0d6a5ff24846o%40googlegroups.com.
