[Lazarus] Made dockable IDE work :-)
Sven Barth
pascaldragon at googlemail.com
Sat Dec 25 15:56:26 CET 2010
On 23.12.2010 15:56, Hans-Peter Diettrich wrote:
> Sven Barth schrieb:
>
>> Would you please tell me what type of docking you are using?
>
> Ordinary drag-dock (using my EasyDock... ;-)
>
Ok.
>> I am using anchor docking without any problems with docking and
>> undocking windows (on Linux as well as on Win32).
>
> Does this mean that anchor docking now allows for drag-dock?
>
Seems so. At least I can grap a docked window (e.g. Messages) and move
it to another part of the main window or make it float :)
>> I have also tried easy docking on Win32 at first, but while docking
>> and undocking itself worked it had some other troubles (I don't say
>> that anchor docking has no problems, but they are less troublesome ^^).
>
> The EasyDockTree was the first really working implementation of an
> dockmanager in Lazarus. It took years to convince the developers of
> providing the required support in the LCL, and perhaps some more years
> to fix the remaining problems. [Today I noticed that the docksites are
> not initialized properly, a manual resize of the parent is required for
> that]. Breaking drag-dock instead seems to be a matter of only a few
> weeks. OTOH this demonstrates that docking is almost unused, probably
> due to the problems arising all the time.
>
Anchor docking seems to work better than EasyDockTree currently. I
tested that one at first, but I had problems to get the "windows" to the
positions I wanted them and to keep them there (especially when saving
and reloading a layout). With anchor docking I haven't experienced that
problem.
But the following problem appeared:
I had docked the object inspector into the docked code explorer (thus
creating a page control containing the two) and saved that layout. I
then restarted the IDE which used the default layout (worked) and then
loaded my saved layout. I then got a "loop detected" error somewhere
when creating the object inspector, the code explorer or the area of the
page control (I don't know the reason exactly, cause I haven't done
extensive tests on this topic yet).
Regards,
Sven
More information about the Lazarus
mailing list