Re: [Lazarus] Sparta Form Designer change

2017-07-25 Thread Anthony Walter via Lazarus
Juha, I just tested on Qt4 (I haven't tested Qt5 yet) and the sparta form designer is working great with the latest svn trunk, with one outstanding problem: TMainMenu is not working correctly with the Qt4 widget set. video

Re: [Lazarus] Sparta Form Designer change

2017-07-25 Thread Anthony Walter via Lazarus
Juha, Thanks. I will install Qt and compile a second copy of lazarus to test this issue. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Sparta Form Designer change

2017-07-25 Thread Juha Manninen via Lazarus
A serious issue with QT: When opening an existing form with controls, the IDE still freezes. Memory overflow, core dump is created. A minor issue with QT: The designer tab is opened initially when the IDE is started. The editor tab should be opened. I remember a similar problem was fixed a long ti

Re: [Lazarus] Congrats to the FPC/Lazarus projects - job well done!

2017-07-25 Thread Juha Manninen via Lazarus
On Tue, Jul 25, 2017 at 3:01 PM, Lars via Lazarus wrote: > Is it because of QT 5 ? No. I have understood QT 5 is more modular, optimized and lighter than QT 4 was. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-id

Re: [Lazarus] Gtk2 missed try-finally

2017-07-25 Thread Marc Weustink via Lazarus
How do you get an exception there ? Marc On July 25, 2017 4:35:50 PM GMT+02:00, Alexey via Lazarus wrote: > >>How did you manage to create a mem leak there? > >If not using try-finally, and exception, Bitmap will not be freed. > >-- >Regards, >Alexey > >-- >___

Re: [Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-25 Thread Anthony Walter via Lazarus
Ah, I didn't know about "Edit context help". Here are a few things to of note. Application explorer is not directly tied to the Lazarus IDE. Meaning it can be deployed with applications written with Lazarus: http://video.getlazarus.org/appexploredoceditor.mp4 Also beyond the context help editor

Re: [Lazarus] Gtk2 missed try-finally

2017-07-25 Thread Alexey via Lazarus
How did you manage to create a mem leak there? If not using try-finally, and exception, Bitmap will not be freed. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-25 Thread Martin Frb via Lazarus
On 25/07/2017 13:02, Maciej Izak via Lazarus wrote: 2017-07-24 0:08 GMT+02:00 Anthony Walter via Lazarus mailto:lazarus@lists.lazarus-ide.org>>: https://video.getlazarus.org/appexploregrid.mp4 Request filed under #32191 https:/

Re: [Lazarus] Please consider adding Application Explorer to lazarus components folder

2017-07-25 Thread Maciej Izak via Lazarus
2017-07-24 0:08 GMT+02:00 Anthony Walter via Lazarus < lazarus@lists.lazarus-ide.org>: > https://video.getlazarus.org/appexploregrid.mp4 > > Request filed under #32191 > > https://bugs.freepascal.org/view.php?id=32191 > The tool may be merged into current tool "Edit context help" (Ctrl + Shift

Re: [Lazarus] Congrats to the FPC/Lazarus projects - job well done!

2017-07-25 Thread Lars via Lazarus
On 2017-07-24 09:42, Graeme Geldenhuys via Lazarus wrote: On 2017-07-24 03:39, Lars via Lazarus wrote: Wirth's law applies, if you know it... As computers get faster, software gets more bloated and computers cannot keep up with the software bloat. Indeed, and it doesn't only seem to apply to

Re: [Lazarus] Gtk2 missed try-finally

2017-07-25 Thread Mattias Gaertner via Lazarus
On Tue, 25 Jul 2017 13:16:50 +0300 Alexey via Lazarus wrote: > gtk2proc.inc, procedure DrawImageListIconOnWidget: it allocates Bitmap + > DC. Pls add try-finally for Bitmap; and (not sure) try-finally for DC: How did you manage to create a mem leak there? > finally >ReleaseDC(HD

[Lazarus] Gtk2 missed try-finally

2017-07-25 Thread Alexey via Lazarus
gtk2proc.inc, procedure DrawImageListIconOnWidget: it allocates Bitmap + DC. Pls add try-finally for Bitmap; and (not sure) try-finally for DC: finally ReleaseDC(HDC({%H-}PtrUInt(DestWidget)),DestDC); end; finally Bitmap.Free; end; -- Regards, Alexey -- __