Recent

Author Topic: Lazarus Release 2.0.2  (Read 27270 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5712
    • wiki
Re: Lazarus Release 2.0.2
« Reply #45 on: April 29, 2019, 10:30:23 pm »

That looks like a lead.

Best to report it on the issue tracker (with a subject like: build mode is not set/saved in lps file)

The question would still be, at what time it is unset (again)?

calebs

  • Full Member
  • ***
  • Posts: 121
Re: Lazarus Release 2.0.2
« Reply #46 on: April 29, 2019, 10:54:47 pm »

That looks like a lead.

Best to report it on the issue tracker (with a subject like: build mode is not set/saved in lps file)

The question would still be, at what time it is unset (again)?

Don't know if helps, but if i open lazarus, open the project, go to check run parameters, exit, run with f9, exiting lazarus (with nothing changed in source code) and reopen everything again the error persists. But on other projects work well. I guess it must be something related to the project file. Oddly, never happened with 2.0 or before.

antispam88

  • Jr. Member
  • **
  • Posts: 51
Re: Lazarus Release 2.0.2
« Reply #47 on: April 29, 2019, 11:00:21 pm »

Al-Eid

  • Newbie
  • Posts: 3
Re: Lazarus Release 2.0.2
« Reply #48 on: May 13, 2019, 09:28:24 am »
Thank you very much  :D :D

BobS

  • Full Member
  • ***
  • Posts: 153
Re: Lazarus Release 2.0.2
« Reply #49 on: June 03, 2019, 07:43:12 am »
I was off the internet for nearly a year.  So nice to know my favorite software of all time is still alive and kicking and still the best way to write code fast.  Now I've moved to Linux (Manjaro) and Lazarus looks very pretty (you know looks are everything in software ;) ). About to start a new project (an easy to use, but with lots of hidden power, front end for VLC...so easy my 85 year old mother can use it and make it work on ARM)...fun times ahead.

AliasPalsu

  • Newbie
  • Posts: 1
Re: Lazarus Release 2.0.2
« Reply #50 on: June 18, 2019, 04:35:06 am »
Just migrate from Lazarus 1.8.4 to 2.0.2.

But, something wrong with TDBLookupComboBox.AutoComplete!

When I type the 1st letter, the complete text is displayed in box perfectly. But, when I type the next letter (2nd, 3rd so on) the text in box is disappear.

For now, I just have to go back to 1.8.4 again.

Otto

  • New member
  • *
  • Posts: 8
Re: Lazarus Release 2.0.2
« Reply #51 on: July 19, 2019, 11:57:29 am »
Hi,
this is my first post and I would like, first of all, to thank all the developers of Lazarus and FPC for their superb work. Lazarus is the best open source RAD that I have ever used.

I've been testing Lazarus Trunk for a few months now and I think I've encountered a little anomaly:
when, in Windows 10 Pro 64-bit, I create a new project using Lazarus-Trunk (2.1.0) I can no longer open it with Lazarus-Standard (2.0.2); vice versa works perfectly.

Thank you all.
Greetings.

_________________________________
P.S.
I'm not a native English speaker, please excuse me for any mistakes.


josh

  • Hero Member
  • *****
  • Posts: 754
Re: Lazarus Release 2.0.2
« Reply #52 on: July 19, 2019, 12:23:44 pm »
You must choose Max Compatibilty in project options; as a few things have changed in the latest trunk.
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

Otto

  • New member
  • *
  • Posts: 8
Re: Lazarus Release 2.0.2
« Reply #53 on: July 19, 2019, 12:40:34 pm »
Thank you josh so much for your quick response. I would never have believed that someone was so quick and precise to respond.

eastorwest

  • New Member
  • *
  • Posts: 17
Re: Lazarus Release 2.0.2
« Reply #54 on: July 28, 2019, 09:52:09 am »
Found some problem in Lazarus 2.0.2 (release, builded from sources with FPC 3.0.4) in Linux (XUbuntu 18.04 x86_64 gtk2).
Simple application with TrayIcon dont show icon in tray.

Code: Pascal  [Select]
  1. procedure TForm1.FormShow(Sender: TObject);
  2. begin
  3.   TrayIcon1.Show;
  4. end;
  5.  

This example works in Lazarus 1.8.0 (release, builded from sources with FPC 3.0.4).

I tried debug code from customtrayicon.inc ->
function TCustomTrayIcon.InternalShow: Boolean;
it calls
 Result := TWSCustomTrayIconClass(WidgetSetClass).Show(Self);

In LCL 1.8.0 it uses gtk2trayicon.inc
class function TGtk2WSCustomTrayIcon.Show(const ATrayIcon: TCustomTrayIcon): Boolean;

but
In LCL 2.0.2 it uses UnityWSCtrls.
class function TUnityWSCustomTrayIcon.Show(const ATrayIcon: TCustomTrayIcon): Boolean;

Where I did something wrong?
Sorry for my English.

rick2691

  • Sr. Member
  • ****
  • Posts: 375
Re: Lazarus Release 2.0.2
« Reply #55 on: July 28, 2019, 12:29:24 pm »
Isn't it supposed to be...  TrayIcon1.Show:=true;
Windows 10, LAZ 1.6.4, FPC 3.0.2, SVN 54278, i386-win32-win32/win64, forms use windows unit

lucamar

  • Hero Member
  • *****
  • Posts: 2084
Re: Lazarus Release 2.0.2
« Reply #56 on: July 28, 2019, 12:32:48 pm »
Isn't it supposed to be...  TrayIcon1.Show:=true;

No. It's a method, not a property. You're probably thinking of:
TrayIcon1.Visible := True;
« Last Edit: July 28, 2019, 12:35:09 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

FangQ

  • Full Member
  • ***
  • Posts: 116
Re: Lazarus Release 2.0.2
« Reply #57 on: July 29, 2019, 05:48:28 am »
Hi. In Lazarus  v2.0.2  I have message:  Fatal: Unable to open file c:\Users\Дмитрий\AppData\Local\lazarus\idemake.cfg, when i trying to install components. In Lazarus  v2.0.0 I had no problems. How to fix it?


has anyone found a solution for this? I got the same problem when upgrading from 1.8.2 to 2.0.2 when rebuilding the IDE on windows. no issue on Linux.

found an existing bug report, but no update nor workaround.

https://bugs.freepascal.org/view.php?id=35549

wp

  • Hero Member
  • *****
  • Posts: 6359
Re: Lazarus Release 2.0.2
« Reply #58 on: July 29, 2019, 09:52:16 am »
No solution, just a workaround:

Try to avoid non-ASCII characters in the path to the Lazarus installation and the Lazarus user configuration. Since your user name is included in the default settings you should re-install Lazarus, but choose to "Create a new secondary installation" in the Lazarus installer and specify an ASCII-only directory for you user profile ("Select configuration folder").

Untested way to avoid reinstallation:
  • Create a folder c:\LazarusConfig (the name can be different, but must contain only ASCII characters)
  • Copy the contents (incl subdirectories) of  c:\Users\Дмитрий\AppData\Local\lazarus to c:\LazarusConfig
  • Open all files of c:\LazarusConfig in an editor and do a "Search and replace" to replace any "c:\Users\Дмитрий\AppData\Local\lazarus" by "c:LlazarusConfig". Quite some work, maybe there's a simple way to write a batch file for it?
  • Create a file "lazarus.cfg" in the same folder that contains lazarus.exe and add this text to it
Code: [Select]
--primary-config-path=c:\LazarusConfig
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

chayimamaral

  • Newbie
  • Posts: 3
Re: Lazarus Release 2.0.2
« Reply #59 on: August 05, 2019, 03:12:55 am »
I've downloaded lazarus 2.0.2 i686 for MacOSX but the packages are 2.0.0.
« Last Edit: August 05, 2019, 03:18:00 am by chayimamaral »