Proposal: always use Qt docks

63 views
Skip to first unread message

Edward K. Ream

unread,
Jun 4, 2019, 9:09:51 AM6/4/19
to leo-editor
I've been saying that support for --no-docks would continue "forever", but "forever" may be about over ;-) The more I think about it, the more I think Leo 6.0 should switch completely to using Qt's dock widgets:

1. I have heard no complaints whatever about the look of the new docks, nor do I have any myself.

2. --no-docks offers nothing that could not be built into Leo using dock widgets.

3. Unifying Leo's look and feel is clearly in the interest of all users and devs.

4. 6.0 is the time to remove as much accumulated cruft as possible, in the code, in commands, in menus, and in command-line args.

Summary

There are strong reasons to unify Leo's gui and code base in Leo 6.0.

I'll be happy to discuss this for as long as you like.  Having said that, I will soon create a "unify" branch that will do as much house-cleaning as possible.

Edward

Edward K. Ream

unread,
Jun 4, 2019, 11:17:53 AM6/4/19
to leo-editor
On Tue, Jun 4, 2019 at 8:09 AM Edward K. Ream <edre...@gmail.com> wrote:

> I will soon create a "unify" branch that will do as much house-cleaning as possible.

First however, I should merge the "super" branch into devel. That will happen soon.

Edward

Edward K. Ream

unread,
Jun 8, 2019, 6:56:10 AM6/8/19
to leo-editor
On Tuesday, June 4, 2019 at 8:09:51 AM UTC-5, Edward K. Ream wrote:

I've been saying that support for --no-docks would continue "forever", but "forever" may be about over ;-)

Belay that.  Leo 6.0 final will support --no-docks.

...Leo 6.0 should switch completely to using Qt's dock widgets:

1. I have heard no complaints whatever about the look of the new docks, nor do I have any myself.
2. --no-docks offers nothing that could not be built into Leo using dock widgets.
3. Unifying Leo's look and feel is clearly in the interest of all users and devs.

These are reasons to prefer the docked interface, not reasons to prohibit Leo's legacy interface!
 
4. 6.0 is the time to remove as much accumulated cruft as possible, in the code, in commands, in menus, and in command-line args.

True, but mostly irrelevant.  #1182 is independent of g.app.dock.

g.app.dock is a useful "tag".  Removing g.app.dock would not substantially simplify Leo's code.

Leo 6.0 will retire the non-tabbed qt gui and seldom-used commands.  See #1171.

Summary

Some users may prefer Leo's legacy look and feel. There is no real reason to prevent that.

Edward
Reply all
Reply to author
Forward
0 new messages