In devel: all docks are now floatable

51 views
Skip to first unread message

Edward K. Ream

unread,
Aug 14, 2019, 12:09:00 PM8/14/19
to leo-editor
As of rev d1cce89 in devel, all Leo docs except the central widget are floatable.  If you drag a dock away from Leo's main window, Leo (actually Qt) will restore the floated dock when you next reload Leo.  This is a significant improvement to Leo.  Clearly, we want pyzo's docks to be floatable as well.

I am making this change in devel because it should be tested widely.  In the unlikely event there are problems, I'll just set the floatable_docks switch in plugins/qt_frame.py back to False.

This switch probably predates the --init-docks command-line argument.  I can't think of any reason why anyone should be afraid now of allowing floating docks.  Let me know if you find a real problem.

Edward

gar

unread,
Aug 15, 2019, 12:13:08 AM8/15/19
to leo-e...@googlegroups.com
Render plugin frame still cannot be moved anywhere.
Calling it breaks frame layout totally.

ср, 14 авг. 2019 г. в 19:11, Edward K. Ream <edre...@gmail.com>:
--
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 leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/4ba93c7d-7b5c-4e6b-ae9e-ab0893eda58d%40googlegroups.com.

Edward K. Ream

unread,
Aug 15, 2019, 6:26:28 AM8/15/19
to leo-editor
On Wed, Aug 14, 2019 at 11:13 PM gar <gar...@gmail.com> wrote:
Render plugin frame still cannot be moved anywhere.
Calling it breaks frame layout totally.

Thanks for this report.  I'm not sure what you mean by "calling it".

Feel free to file an issue.

Edward

gar

unread,
Aug 15, 2019, 7:25:38 AM8/15/19
to leo-e...@googlegroups.com
activating it, raising it up with "alt-0"
it appears as a second main widget
> --
> 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 leo-editor+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/leo-editor/CAMF8tS3_D2Zu6%3DLDMh%3DEw%2BQuCGpBCqpbt1nbQbc7MivchDEtqQ%40mail.gmail.com.
>

Chris George

unread,
Aug 15, 2019, 9:43:43 AM8/15/19
to leo-editor
I kept trying to replicate what seems to be happening to you.

Then I realized that my particular set-up is non-standard.

I prefer the body pane to be the central widget as that is where I spend most of my time in Leo. This is the setting for that.

@string central-dock-widget = body

I also have set @bool dockable-log-tabs = True which may have an impact.

My render widget behaves exactly the same as all other widgets except the body widget, which is what I would expect.

HTH,

Chris

On Thursday, August 15, 2019 at 4:25:38 AM UTC-7, gar wrote:
activating it, raising it up with "alt-0"
it appears as a second main widget

2019-08-15 13:26 GMT+03:00, Edward K. Ream <edre...@gmail.com>:
> On Wed, Aug 14, 2019 at 11:13 PM gar <gar...@gmail.com> wrote:
>
>> Render plugin frame still cannot be moved anywhere.
>> Calling it breaks frame layout totally.
>>
>
> Thanks for this report.  I'm not sure what you mean by "calling it".
>
> Feel free to file an issue.
>
> 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

gar

unread,
Aug 16, 2019, 12:29:49 AM8/16/19
to leo-e...@googlegroups.com
Tried your recipe. 
@string central-dock-widget = body 
fixes the odd behavior . 
Thanks for that!

чт, 15 авг. 2019 г. в 16:43, Chris George <techn...@gmail.com>:
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/56ae464d-d8ee-4ae4-b6c2-118cf060c302%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages