Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-12

Lazarus crashing

6 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Steve Harp

Hi All,

I'm new to Lazarus and Free Pascal but I've been using Delphi since v2. I've got some old Delphi apps that I need to compile for Linux. I'm using Lazarus v0.9.28.2 beta on openSUSE 11.2 64-bit. The IDE loads fine and the About box displays normally. However, when I select File/Open, the open file dialog displays with a blank dialog on top with Lazarus in the title bar but no text or buttons. I believe it's trying to display an error message. When I close this dialog, Lazarus closes. Any ideas?

Thanks,

Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091202/f2a50fb2/attachment.html>

Reply by email

Mattias Gärtner
to Steve Harp

Zitat von Steve Harp :

Show quoted text 11 lines
Hi All, I'm new to Lazarus and Free Pascal but I've been using Delphi since v2. I've got some old Delphi apps that I need to compile for Linux. I'm using Lazarus v0.9.28.2 beta on openSUSE 11.2 64-bit. The IDE loads fine and the About box displays normally. However, when I select File/Open, the open file dialog displays with a blank dialog on top with Lazarus in the title bar but no text or buttons. I believe it's trying to display an error message. When I close this dialog, Lazarus closes. Any ideas?

It is probably the qtcurve engine on opensuse. You can uninstall that package
or change the theme for gtk2 applications
or try the qt version of lazarus.

Mattias

Reply by email

Steve Harp
to Mattias Gärtner
Show quoted text 14 lines
-----Original Message----- From: Mattias G?rtner [mailto:] Sent: Wednesday, December 02, 2009 8:09 AM To: Subject: Re: [Lazarus] Lazarus crashing Zitat von Steve Harp : > Hi All, > > > > I'm new to Lazarus and Free Pascal but I've been using Delphi since v2. > I've got some old Delphi apps that I need to compile for Linux. I'm

using

> Lazarus v0.9.28.2 beta on openSUSE 11.2 64-bit. The IDE loads fine and

the

Show quoted text 11 lines
> About box displays normally. However, when I select File/Open, the open > file dialog displays with a blank dialog on top with Lazarus in the title > bar but no text or buttons. I believe it's trying to display an error > message. When I close this dialog, Lazarus closes. Any ideas? It is probably the qtcurve engine on opensuse. You can uninstall that package or change the theme for gtk2 applications or try the qt version of lazarus. Mattias

The removal of qtcurve fixed it. Thanks very much...

Reply by email

Mehmet Erol Sanliturk
to Steve Harp: I'm new to Lazarus and Free Pascal but I've been using Delphi since v2. I've got some old…
Steve Harp wrote 21 lines
Hi All, I?m new to Lazarus and Free Pascal but I?ve been using Delphi since v2. I?ve got some old Delphi apps that I need to compile for Linux. I?m using Lazarus v0.9.28.2 beta on openSUSE 11.2 64-bit. The IDE loads fine and the About box displays normally. However, when I select File/Open, the open file dialog displays with a blank dialog on top with Lazarus in the title bar but no text or buttons. I believe it?s trying to display an error message. When I close this dialog, Lazarus closes. Any ideas? Thanks, Steve

Delphi form definitions are not compliant to Lazarus forms . Therefore if you try to Delphi sources with some modifications to complete a compilation successfully it is very likely that you will get the above results .

My suggestion would be as follows :

(1) If there are computation parts within Delphi form related procedures such as click_Button_x and others , move these parts into independent ( from Delphi form ) non-GUI procedures as much as possible .

(2) Re-generate your forms by Lazarus and call those independent non-GUI procedures from your form procedures . Your Lazarus generated forms will work . If they do not work you may ask help from Lazarus users .

Personally I do not have an exhaustive list of features and variables one by one comparing Lazarus and Delphi forms and guidelines to complete different features . The easiest and shortest way is to generate forms by Lazarus .

Since you have a working prototype in Delphi , such a re-design should be easy .

Thank you very much .

Mehmet Erol Sanliturk

Reply by email

Hans-Peter Diettrich
to Steve Harp: I'm new to Lazarus and Free Pascal but I've been using Delphi since v2. I've got some old…
I?ve got some old Delphi apps that I need to compile for Linux. I?m using Lazarus v0.9.28.2 beta on openSUSE 11.2 64-bit.

I still use 10.3, due to certain issues with the 11 version on my machines.

Show quoted text 6 lines
The IDE loads fine and the About box displays normally. However, when I select File/Open, the open file dialog displays with a blank dialog on top with Lazarus in the title bar but no text or buttons. I believe it?s trying to display an error message. When I close this dialog, Lazarus closes. Any ideas?

I frequently find error messages hidden by other windows, in detail when I'm still clicking and happen to activate a different window before I notice the error dialog. The handling of modal windows is not perfect on KDE :-(

DoDi

Reply by email

Juha Manninen
to Hans-Peter Diettrich
Hans-Peter Diettrich wrote
I still use [Suse] 10.3, due to certain issues with the 11 version on my

machines.

Hi, did you try the latest OpenSuse 11.2? The earlier 11.x versions had issues at least with KDE4. For me this latest Suse looks very good. It has been optimized a lot, too. Everything is fast and snappy with my 500MB memory. In practice KDE3/QT3 libraries are not needed any more. It gets my recommendation!

A small issue is that the "qtcurve" GTK theme lib seems to crash Lazarus in every OpenSuse. It is easy to fix once you know the reason.

Regards,
Juha

Reply by email