#1289 (Global docks) is ready for testing

51 views
Skip to first unread message

Edward K. Ream

unread,
Aug 26, 2019, 9:11:26 AM8/26/19
to leo-editor
The first comment of #1289 contains details. The highlights:

- To test, switch to the "gui" branch and use the --global-docks command-line option.

- The Outlines (plural) dock is a global dock.
  For testing only, the code creates four global docks.
  Right-click the title area any global dock to see the other global docks.

- Each Outline (singular) dock is a local dock, containing all other local docks.
  Right click the title area of any local dock to see the other local docks.

Summary

Remarkably few changes had to be made to the code to make this all happen. I don't expect serious bugs.

I am mainly concerned that people like Chris can use their existing layouts in the new scheme.

Please report any problems immediately.  The new code should be safe to merge into devel, because the gui branch should work exactly like the devel branch when --global-docks is off.

Edward

Matt Wilkie

unread,
Aug 26, 2019, 4:06:53 PM8/26/19
to leo-e...@googlegroups.com
On open I see a Leo window with several internal panels like I'm used to (Outline, Body, Tabs, Render) and 4 new brightly coloured panels (Test1, Test2,...).

The 4 test panels can be snapped off the main Leo window using min/max icon at top right by [x] and float independently anywhere on my desktop.

The floats can also be stacked all into the same panel, but only as a component of the main Leo window. They can't be stacked when in Float mode. Neither can the whole stack be floated. When floating r-click to show other panels doesn't work, that can only be done in main Leo window.

Oh thats interesting: [Body] and [Tabs] can be floated the same as [TestN] but [Render] cannot (maybe this isn't new). The main Leo window is always underneath the floats (not necessarily a bad thing).

I am not able to add any of the standard panels into a test panel, e.g. I can't move [Render] to [Test2]. Any new .leo files I open go to the main Leo window and not a Test.



Post edited to add:

Leo 6.1-devel, gui branch, build 6370998652
2019-08-26 08:24:34 -0500
Python 3.7.1, PyQt version 5.13.0
Windows 10 AMD64 (build 10.0.17134) SP0

-matt

Edward K. Ream

unread,
Aug 27, 2019, 10:04:09 AM8/27/19
to leo-editor
On Mon, Aug 26, 2019 at 3:06 PM Matt Wilkie <map...@gmail.com> wrote:

On open I see a Leo window with several internal panels like I'm used to (Outline, Body, Tabs, Render)
and 4 new brightly coloured panels (Test1, Test2,...).

Thanks for your testing, Matt.  I think my answers to Chris's similar remarks should suffice for you too.  Let me know if they don't.

Edward

Austin(Xu) Wang

unread,
Aug 27, 2019, 1:14:54 PM8/27/19
to leo-editor

I closed the 4 global colorful outlines, there were 4 black thin line left.  I tried to refresh the window by minimize the app, cannot get rid of the 4 thin black line.

1566925898016.jpg



It's on my Macbook Pro.

BR,Austin



Edward K. Ream

unread,
Aug 27, 2019, 2:12:59 PM8/27/19
to leo-editor
On Tue, Aug 27, 2019 at 12:14 PM Austin(Xu) Wang <xu4...@gmail.com> wrote:

I closed the 4 global colorful outlines, there were 4 black thin line left.  I tried to refresh the window by minimize the app, cannot get rid of the 4 thin black line.

Thanks for this report.

Edward
Reply all
Reply to author
Forward
0 new messages