Recent

Author Topic: KZDesktop and Lazarus 1.5  (Read 12727 times)

dmytron

  • New Member
  • *
  • Posts: 43
KZDesktop and Lazarus 1.5
« on: August 04, 2015, 02:34:08 pm »
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

  • Hero Member
  • *****
  • Posts: 4144
Re: KZDesktop and Lazarus 1.5
« Reply #1 on: August 04, 2015, 03:36:20 pm »
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

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: KZDesktop and Lazarus 1.5
« Reply #2 on: August 04, 2015, 06:51:57 pm »
Yep, just wait for the freesparta branch to merge with trunk, or help testing it would be better.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: KZDesktop and Lazarus 1.5
« Reply #3 on: August 04, 2015, 11:08:21 pm »
Yep, 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.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

dmytron

  • New Member
  • *
  • Posts: 43
Re: KZDesktop and Lazarus 1.5
« Reply #4 on: September 20, 2015, 02:36:01 pm »
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

  • Sr. Member
  • ****
  • Posts: 270
Re: KZDesktop and Lazarus 1.5
« Reply #5 on: September 21, 2015, 11:17:54 am »
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?

I'm creating the patch for this. What is your OS and LCL widget type for Lazarus?
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

dmytron

  • New Member
  • *
  • Posts: 43
Re: KZDesktop and Lazarus 1.5
« Reply #6 on: September 21, 2015, 12:03:57 pm »
My OS is Windows 7, I'm using lcl-win32.

BTW, with Anchordocking and FreeSparta docking it looks just like Delphi.

hnb

  • Sr. Member
  • ****
  • Posts: 270
Re: KZDesktop and Lazarus 1.5
« Reply #7 on: September 22, 2015, 12:21:24 am »
My 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.
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

lagprogramming

  • Sr. Member
  • ****
  • Posts: 405
Re: KZDesktop and Lazarus 1.5
« Reply #8 on: September 22, 2015, 09:26:21 am »
My 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

  • Sr. Member
  • ****
  • Posts: 270
Re: KZDesktop and Lazarus 1.5
« Reply #9 on: September 23, 2015, 09:01:23 pm »
Is FreeSparta trying to improve docking experience?

Yes, but it will take awhile...
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

dmytron

  • New Member
  • *
  • Posts: 43
Re: KZDesktop and Lazarus 1.5
« Reply #10 on: September 25, 2015, 10:10:42 am »
Thanks for the changes! On first impression works like a charm.

Here's what it looks like (a teaser :D).
« Last Edit: September 25, 2015, 10:14:22 am by dmytron »

dmytron

  • New Member
  • *
  • Posts: 43
Re: KZDesktop and Lazarus 1.5
« Reply #11 on: October 02, 2015, 02:22:43 pm »
Unfortunately, the bug I've mentioned reappears after adding the second component on the form.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: KZDesktop and Lazarus 1.5
« Reply #12 on: October 02, 2015, 04:15:39 pm »
Unfortunately, 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.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

dmytron

  • New Member
  • *
  • Posts: 43
Re: KZDesktop and Lazarus 1.5
« Reply #13 on: October 02, 2015, 07:56:08 pm »
Unfortunately, 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

  • Sr. Member
  • ****
  • Posts: 270
Re: KZDesktop and Lazarus 1.5
« Reply #14 on: October 04, 2015, 06:40:37 pm »
It 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...
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

 

TinyPortal © 2005-2018