I have decided to get a bit serious using Lazarus, but find some things not working as I would expect.
My usual object development IDE is Borland Dev Studio 2006.
Machines and OS’es on hand :
Language : French (but I don’t think it matters)
On my left a laptop :
- Linux Debian Wheezy with LXDE/Openbox, AMD sempron 3000
- FPC 2.6.2 and Lazarus 1.0.6 with GTK2 widgets build from sources (being new to Linux, it took me a lot of time to get it working).
In front of me :
- Windows XP PRO, 2 screens, aging Intel DUAL core 2Ghz
- FPC 2.6.2 and Lazarus 1.0.6 for Windows, build from scratch from the download I copied from the Linux Laptop.
The most annoying problem is that Accelerator Characters do not work properly on Windows. For example in a form :
Label1: TLabel; // .Caption := La&bel1 ; .FocusControl := Edit1;
StaticText1: TStaticText; // .Caption := Static&Text1; .FocusControl := Edit2;
Edit1: TEdit;
Edit2: TEdit;
Either Alt+b or Alt+t just produces a beep with no change of focus. In fact it does not work either in various Lazarus MS-Windows IDE forms.
???? Can someone confirm/infirm this please ???? (I’m investigating nasty WndProc).
It works correctly in Win BDS2006 and Linux Lazarus GTK (IDE and programs).
Other small nuisances of the IDE that I may investigate are :
Windows and Linux: when an error is found, and you click on the “Message” window, it comes up on top, but sometimes when you release the button the program editor hides immediately the “Message” window. It is not very convenient regarding program correction. One gets used to that.
Linux GTK : when the IDE gets Hidden, for example by the Web browser, and a Modal form was visible, for example “Information sur FPC utilisé”, it is not restored on top of the IDE when Lazarus is reactivated from the task bar giving the wrong impression that Lazarus is hanged. That may be a problem with ShowModal and GTK, I don’t know.
Anyway Lazarus IDE and FPC works fairly well and lots of facilities (for example to go from variable/procedure to declaration wherever you want) are really fantastic. Debugging is OK, maybe not as good as Delphi, but it remains a feat to get all these things working in a free development environment.
Some of the optional packages are a bit puzzling because it is not clear what they are supposed to really do. For example I have not figured out what the JEDI formatting is supposed to do.
Thank you all very much.
Regards,
Bruno.