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/f066cb08-3ea2-40da-9962-e3e53f0ff6a4o%40googlegroups.com.
