Lazarus

Programming => Widgetset => QT => Topic started by: snorkel on September 02, 2014, 08:05:42 pm

Title: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: snorkel on September 02, 2014, 08:05:42 pm
Just a FYI,
The TdateEdit control from the misc tab on the pallet raises a exception when you click on it and the form is maximized.
The exception actually terminates the app.

To duplicate just drop a tdateedit on on a form, then run, maximise the form and click the tdateedit.

Project project1 raised exception class 'External: SIGABRT'.

Using Lazarus 1.2.4 on 64bit Linux Mint 17 KDE.  Lazarus and FPC installed from the official .debs.

Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Rails on September 02, 2014, 08:23:31 pm
I don't get that here.

Whoops, yes I do with QT. No problem with GTK.

Debian unstable 64 bit. Latest stable Laz and FPC from the Lazarus built debs.
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Bart on September 02, 2014, 08:35:22 pm
Could you try with trunk.
The control has been rewritten a lot in the mean time (and this will not be merged into 1.2 fixess branch).

Bart
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Bart on September 02, 2014, 10:20:22 pm
I can reproduce the problem.
It is triggered by ShowCalendarPopUp (you don't need a TDateEdit for it).
For me it crashes both on QT and GTK2.
Tested with Lazarus 1.3 r46104 FPC 2.6.2 on Fedora Core 18 running in a VirtualBox VM (Host: Win7-64).

Bart
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Never on September 02, 2014, 10:25:05 pm
Works just fine on Win7 64bit / Lazarus 1.2.4
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Bart on September 02, 2014, 10:36:01 pm
Reported as Issue #26670 (http://bugs.freepascal.org/view.php?id=26670).

Bart
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: zeljko on September 03, 2014, 02:13:41 pm
It's fixed in r46115 (will be merged to 1.2.6 too) , thanks for reporting.
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Bart on September 03, 2014, 03:29:13 pm
Tested. Fixed. Closed bugreport.
Thanks.

Bart
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: vfclists on September 07, 2014, 05:49:42 pm
It's fixed in r46115 (will be merged to 1.2.6 too) , thanks for reporting.

How can I view the changes in SVN, ie using ViewVC.
Title: Re: tdateedit issue on QT (Linux Mint 17 KDE edition)
Post by: Bart on September 07, 2014, 08:56:25 pm
Maybe: http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=lazarus&view=log (http://svn.freepascal.org/cgi-bin/viewvc.cgi/?root=lazarus&view=log)?

Bart