Recent

Author Topic: IDE like Delphi  (Read 11681 times)

Guba

  • Newbie
  • Posts: 1
IDE like Delphi
« on: December 04, 2016, 05:19:47 pm »
Hello to the Community.
I'm switching to Lazarus comnig from a quik experience with Delphi in the recent past.
I see that Lazarus seems not working with a full screen IDE such as Delphi, but with all the interface panels separated from each other.
I'd like to work in the same way I did with Delphi without looking the desktop behind, that is quite full of icons and folders. Is this possible ?
I tried to find some info about this, but without success.
If there is already an answer to this question, please tell me where to find it, without flames.
Thanks for any help to a newcomer.
Guba

rvk

  • Hero Member
  • *****
  • Posts: 6112
Re: IDE like Delphi
« Reply #1 on: December 04, 2016, 05:23:12 pm »
You'll need to install the AnchorDockingDsgn and sparta_DockedFormEditor packages (both are standard delivered in Lazarus 1.6.2 but not installed).

You can use a predefined desktop from here to get the exact look you want:
https://github.com/FlKo/LazarusDockedDesktops

There might still be some issues with the docking-packages but please report them when you encounter them.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: IDE like Delphi
« Reply #2 on: December 04, 2016, 05:29:41 pm »
I must say that I try the anchordocking + sparta and the messages window didn't show correctly. It was bouncing between docked and undocked, so I will not recommend you to install these packages until these get fixed.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: IDE like Delphi
« Reply #3 on: December 04, 2016, 07:13:10 pm »
I must say that I try the anchordocking + sparta and the messages window didn't show correctly. It was bouncing between docked and undocked, so I will not recommend you to install these packages until these get fixed.
Is it caused by AnchorDocking or by Sparta docked form editor? They are 2 separate packages.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 14210
  • Probably until I exterminate Putin.
Re: IDE like Delphi
« Reply #4 on: December 04, 2016, 07:18:15 pm »
I must say that I try the anchordocking + sparta and the messages window didn't show correctly. It was bouncing between docked and undocked, so I will not recommend you to install these packages until these get fixed.

I have  not seen that on 1.7 +3.0 for arm-linux (Raspbian Jessie).
Which platform?
Specialize a type, not a var.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: IDE like Delphi
« Reply #5 on: December 04, 2016, 09:23:59 pm »
Hi, under Windows 10, and the package that has the conflict is AnchorDocking.. Here is a screenshot of the problem.

Edit: some tests, it happens only when window is maximized and when messages window is not visible by default, or when the window is maximized and I close the messages window. Lazarus trunk + FPC trunk.
« Last Edit: December 04, 2016, 09:29:15 pm by lainz »

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: IDE like Delphi
« Reply #6 on: December 05, 2016, 06:51:00 am »
There was a Google+ post describing all the steps you need to take to make Lazarus IDE more Delphi IDE like.

   https://plus.google.com/105641319933437744493/posts/eU3H84X2bcN?sfc=true

The above like includes the announcement with some discussions. The following URL is the instructions only.

   https://github.com/FlKo/LazarusDockedDesktops
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Thaddy

  • Hero Member
  • *****
  • Posts: 14210
  • Probably until I exterminate Putin.
Re: IDE like Delphi
« Reply #7 on: December 05, 2016, 08:48:50 am »
Doesn't work in trunk, only in 1.6.
Specialize a type, not a var.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: IDE like Delphi
« Reply #8 on: December 06, 2016, 01:00:01 pm »
Hi, under Windows 10, and the package that has the conflict is AnchorDocking.. Here is a screenshot of the problem.

Edit: some tests, it happens only when window is maximized and when messages window is not visible by default, or when the window is maximized and I close the messages window. Lazarus trunk + FPC trunk.
It works well here with Linux + KDE. I tested different locations for the Messages window and also closed it, but it always opened correctly when building a project.
It must be a Windows only problem. I remember it used to work also on Windows. Could you please bisect the revision that caused the regression.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: IDE like Delphi
« Reply #9 on: December 06, 2016, 02:27:03 pm »
How I can do that? I have fpc trunk and lazarus trunk from svn, so I think that is the first requisite. And then?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: IDE like Delphi
« Reply #10 on: December 06, 2016, 02:44:24 pm »
How I can do that? I have fpc trunk and lazarus trunk from svn, so I think that is the first requisite.
FPC trunk is not needed because this is a Lazarus bug.
Only Lazarus trunk using either SVN or Git is needed.

Quote
And then?
It is possible by manually calculating the split offsets but that is very error-prone.
Fortunately there are tools to help with it. See:
 http://wiki.freepascal.org/How_do_I_create_a_bug_report#Regression_caused_by_a_certain_revision
« Last Edit: December 06, 2016, 02:47:02 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: IDE like Delphi
« Reply #11 on: December 06, 2016, 02:57:41 pm »
Hi, thanks for the link. But I found that I can use Tortoise SVN and see the changes applied to only a specific folder, and there are about 100 commits only. So the bisect will not be hard to do.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: IDE like Delphi
« Reply #12 on: December 06, 2016, 03:28:51 pm »
This was done switching between revisions of the folder anchordocking only, I don't know if that is wrong, since it doesn't takes into account other changes in LCL that maybe are related or not, but this is what I get:

41915: access violation
46663: access violation
51384: Error message (image in thread)
50007: Error abstract method called
50833: Error abstract method called
51184: Error abstract method called
51345: Error message (image in thread)
51338: Error message (image in thread) <- from this revision I get the error

So I think it doesn't say too much, but that something was implemented as abstract method that before was not.

If you need that switching from versions of entire Lazarus repository I can repeat this with the same numbers of revisions.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: IDE like Delphi
« Reply #13 on: December 06, 2016, 06:08:22 pm »
The error can also be triggered by a change in LCL layout code instead of the AnchorDocking itself.
Apparently you got different errors from old revisions. You should test only one specific error to find its guilty revision.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: IDE like Delphi
« Reply #14 on: December 06, 2016, 06:24:06 pm »
The error can also be triggered by a change in LCL layout code instead of the AnchorDocking itself.
Apparently you got different errors from old revisions. You should test only one specific error to find its guilty revision.

Yes, that was my log of all errors, but the one I want to find happens in 51338. But again, I must test it fully not only that single folder.

 

TinyPortal © 2005-2018