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.  Open with --init-docks.  Observe that workbook has 
wrong layout.  Correct layout.  Open new outline.  Observe that the new 
outline has the default layout, not the layout of workbook.leo.

This version still doesn't behave as advertised.

On Wednesday, September 9, 2020 at 5:26:15 PM UTC-4, Edward K. Ream wrote:
>
> On Tuesday, September 8, 2020 at 5:20:45 PM UTC-5, Edward K. Ream wrote:
>
> This branch fixes #1654 and simplifies Leo's dock-handling code by 
>> eliminating g.app.save/restoreGlobalWindowState.
>>
>
> The simple-docks branch has been merged into devel. Today's work is a big 
> step forward. All the relevant code is in the LeoQtGui ctor. A comment 
> explains that main_window.show() or main_window.showMinimized() must happen 
> last, after creating the outline dock. This ensures that Leo restores saved 
> layouts properly.
>
> I have spent several days on this code. It was worth the effort. Two 
> difficult methods have gone away.
>
> I am fairly confident that the new code is sound. Please let me know if 
> you have any difficulties.
>
> Edward
>

-- 
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/eba1d36a-0646-4352-a028-470fd7b16357o%40googlegroups.com.

Reply via email to