On Wednesday, September 9, 2020 at 7:26:29 PM UTC-4, Edward K. Ream wrote: > > > > On Wed, Sep 9, 2020 at 5:57 PM Thomas Passin <[email protected] > <javascript:>> wrote: > >> 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 >> >> Open Leo with workbook.leo with --use-docks. Observe the correct pane >> layout from previous run. Create new outline using File/New. Observe the >> new outline has a different layout than workbook.leo. Close Leo without >> saving new outline. >> > > Leo uses an empty file name to represent the layout for new files. I > suggest you set your desired layout for new files by opening Leo with > --init-docks, creating a new file, then quitting Leo. It shouldn't be > necessary to save the new file. >
This is not what happens for me. I think you are being blinded by the fact that you know how to do things in a way that seems to work. 1. Open Leo with --init-docks. Workbook opens in the default layout which is not what I want. Create a new outline. Change the layout to mine. Close Leo without saving the new file. Reopen with --use-docks. Leo opens with workbook in default layout. New outline opens with my desired layout, but I'm stuck with the workbook being wrong. 2. Close Leo and reopen with --init-docks. Now I can change the workbook outline, but Leo has forgotten what layout to apply to a new outline. Rearrange panels so that both workbook and new outline have my layout. Close Leo without saving new outline. Open with --use-docks. Now workbook opens with the intended outline and new outlines also open with it, but other existing outlines all open with the wrong, default layout. I am not going to go through this dance of closing all my current outlines, starting with --init-docks, creating a new outline, rearranging both outlines, closing Leo, and re-opening it again with --use-docks for each and every one of my existing outlines. It's unworkable. And it's fragile. For example, Leo has once again forgotten to apply this new outline to new files in --use-docks. It worked when I opened the first new outline, but when I closed that without saving so that only the workbook remained open, then created another new outline, it came up in the wrong, default layout again. Any mistake in the sequence and you would have to start from the beginning again. It's driving me nuts. And it will drive away newcomers who will have a lot of trouble figuring it out and who have never seen any other program behave this way. Pyzo doesn't behave like this. I don't think that Pyzo has floating panels, but I'll give them up in a second if I can get some stable, understandable, reasonably intuitive behavior in exchange. There must be a better way, but until then I'm sticking with the legacy layout. -- 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/15e87d9d-6007-4948-9ae6-f03f073592a3o%40googlegroups.com.
