KZDesktop and Lazarus 1.5 lazarus / 10-Designer ---------------------------------------------------------------------- dmytron · 2015-08-04 12:34 KZDesktop doesn't compile with Lazarus 1.5. Has anyone corrected this problem? How to? Are there any alternatives to KZDesktop (with docked form editor)? ---------------------------------------------------------------------- howardpc · 2015-08-04 13:36 Lazarus comes with two supplied packages (anchordocking and easydockmgr) but neither is installed by default since the underlying docking mechanism is imperfect. However either one is usable, if you don't mind a few glitches. New solutions are being worked on currently since a fully functional dockable IDE is an oft-repeated request, especially from newcomers used to VS, recent Delphis etc. FreeSparta is another installation package which presently offers a docked IDE. ---------------------------------------------------------------------- Leledumbo · 2015-08-04 16:51 Yep, just wait for the freesparta branch to merge with trunk, or help testing it would be better. ---------------------------------------------------------------------- JuhaManninen · 2015-08-04 21:08 Quote from: Leledumbo on August 04, 2015, 06:51:57 pmYep, just wait for the freesparta branch to merge with trunk, or help testing it would be better. You can already use the 1_spartaBasic package (under components folder) from free-sparta branch (http://svn.freepascal.org/svn/lazarus/branches/free-sparta/) to implement a docked form editor. It only compiles with FPC 3.x and thus is not advertized much. Things get easier when FPC 3.0 is released. Other FreeSparta changes required by 1_spartaBasic have already been merged as they do not require FPC 3.0. ---------------------------------------------------------------------- dmytron · 2015-09-20 12:36 Thanks for the answers. I've installed FPC 3.0 and FreeSparta docking package. Nut now I face problems: for example, when I put a component on the form, I can't select it and drag around. And the component is placed automatically on the center of the form without the ability to change the placement of the component. What should I do? ---------------------------------------------------------------------- hnb · 2015-09-21 09:17 Quote from: dmytron on September 20, 2015, 02:36:01 pmAnd the component is placed automatically on the center of the form without the ability to change the placement of the component. What should I do? I'm creating the patch for this. What is your OS and LCL widget type for Lazarus? ---------------------------------------------------------------------- dmytron · 2015-09-21 10:03 My OS is Windows 7, I'm using lcl-win32. BTW, with Anchordocking and FreeSparta docking it looks just like Delphi. ---------------------------------------------------------------------- hnb · 2015-09-21 22:21 Quote from: dmytron on September 21, 2015, 12:03:57 pmMy OS is Windows 7, I'm using lcl-win32. BTW, with Anchordocking and FreeSparta docking it looks just like Delphi. Should be fixed new version is available on sparta branch. ---------------------------------------------------------------------- lagprogramming · 2015-09-22 07:26 Quote from: hnb on September 22, 2015, 12:21:24 amQuote from: dmytron on September 21, 2015, 12:03:57 pmMy OS is Windows 7, I'm using lcl- win32. BTW, with Anchordocking and FreeSparta docking it looks just like Delphi. Should be fixed new version is available on sparta branch.    Is FreeSparta trying to improve docking experience? ---------------------------------------------------------------------- hnb · 2015-09-23 19:01 Quote from: lagprogramming on September 22, 2015, 09:26:21 amIs FreeSparta trying to improve docking experience? Yes, but it will take awhile... ---------------------------------------------------------------------- dmytron · 2015-09-25 08:10 Thanks for the changes! On first impression works like a charm. Here's what it looks like (a teaser ). ---------------------------------------------------------------------- dmytron · 2015-10-02 12:22 Unfortunately, the bug I've mentioned reappears after adding the second component on the form. ---------------------------------------------------------------------- JuhaManninen · 2015-10-02 14:15 Quote from: dmytron on October 02, 2015, 02:22:43 pmUnfortunately, the bug I've mentioned reappears after adding the second component on the form. I had a problem with Linux + QT when using Sparta basic. I could not add or select components. hnb (Maciej) fixed it in r49877. Are you sure you have the latest revision? The remaining issues I know about are copy/paste not working and a small memory leak. ---------------------------------------------------------------------- dmytron · 2015-10-02 17:56 Quote from: dmytron on October 02, 2015, 02:22:43 pmUnfortunately, the bug I've mentioned reappears after adding the second component on the form. It happens not anytime but specifically after resizing form. Now all components on it can't be selected and worked with. ---------------------------------------------------------------------- hnb · 2015-10-04 16:40 Quote from: dmytron on October 02, 2015, 07:56:08 pmIt happens not anytime but specifically after resizing form. Now all components on it can't be selected and worked with. to fix this bug I need to know how to achieve this error "step by step" . I don't have any problems in Windows 7... ---------------------------------------------------------------------- dmytron · 2015-10-04 16:48 It's easy: open Lazarus with AnchorDocking and FreeSparta Dockking enabled;create a new project;open designer tab;resize form;put any component on it (I usually put Button). It's ready! As I see, the problem is with the resizing. ---------------------------------------------------------------------- hnb · 2015-10-04 20:36 Fixed in rev 49937. Please test. I am waiting for feedback ---------------------------------------------------------------------- dmytron · 2015-10-05 12:05 Nope, still doesn't work. ---------------------------------------------------------------------- hnb · 2015-10-05 19:08 Quote from: dmytron on October 05, 2015, 02:05:52 pmNope, still doesn't work. After synchronization with trunk I'm able to reproduce this bug. ---------------------------------------------------------------------- hnb · 2015-10-05 20:25 Quote from: dmytron on October 05, 2015, 02:05:52 pmNope, still doesn't work. Finally should be fixed in rev. 49945. Sorry for delay. ---------------------------------------------------------------------- halim · 2015-10-06 00:15 working like charm..thanks hnb ---------------------------------------------------------------------- dmytron · 2015-10-06 09:38 Thanks for the changes, now it really works.