Back to No-Docks

70 views
Skip to first unread message

Thomas Passin

unread,
Aug 27, 2020, 11:27:07 PM8/27/20
to leo-editor
I am so fed up with --use-docks that I've given up on it and gone back to the older no-docks configuration.  With docks, I can never count on the panes being the same next time I re-open an outline or restart Leo. Sometimes they are hard to restore to my liking, too.  Especially during plugin debugging, I'm constantly restarting Leo, and the docks behavior is driving me crazy. 

So far I have never needed any of the pane layout possibilities offered by the docks.  I never need to drag a pane to a new dock.  I can have them the way I like with no docks and they always stay that way.

I realize that saving and restoration of the pane layout is supposed to use data god-given by QT magic, but something is going wrong.  Deleting the db directory is not the answer, either, because I often have to close and open an outline several times before I can even get it the way I want, and then it's still not stable over reloads and restarts.  After a look or two at the save/restore code, it *seems* pretty simple, so it "ought" to work.

I haven't found people complaining about this on line in non-Leo contexts.

Can anyone tell me how to get the pane layouts to be stable using docks?

Edward K. Ream

unread,
Aug 28, 2020, 5:34:25 AM8/28/20
to leo-editor
On Thursday, August 27, 2020 at 10:27:07 PM UTC-5, Thomas Passin wrote:

Can anyone tell me how to get the pane layouts to be stable using docks?

I use the legacy layout myself, despite all the work I have put into the qt docks code.

Edward

k-hen

unread,
Sep 2, 2020, 8:00:44 AM9/2/20
to leo-editor
FWIW, I also had to turn them off.

Edward K. Ream

unread,
Sep 5, 2020, 7:51:04 AM9/5/20
to leo-editor
On Friday, August 28, 2020 at 4:34:25 AM UTC-5, Edward K. Ream wrote:

> I use the legacy layout myself, despite all the work I have put into the qt docks code.

I have just created #1643: Make Qt docks easier to use.


Docks are too important a feature to abandon. All options are on the table. Some possibilities:


- Disallowing changing the position of some or all docks.
- Pre-defined layouts, with various central docks.

All suggestions welcome.

Edward

Thomas Passin

unread,
Sep 5, 2020, 8:20:12 AM9/5/20
to leo-editor
Having them be resizable - the divider between panes being movable - would be important even if the pane layout were fixed.

Edward K. Ream

unread,
Sep 5, 2020, 11:01:24 AM9/5/20
to leo-editor
On Sat, Sep 5, 2020 at 7:20 AM Thomas Passin <tbp1...@gmail.com> wrote:
Having them be resizable - the divider between panes being movable - would be important even if the pane layout were fixed.

I agree. That's the easy part, I think.

Edward
Reply all
Reply to author
Forward
0 new messages