Recent

Author Topic: Lazarus Release 2.0.2  (Read 48966 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • 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: 190
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: 60
Re: Lazarus Release 2.0.2
« Reply #47 on: April 29, 2019, 11:00:21 pm »

Al-Eid

  • Jr. Member
  • **
  • Posts: 75
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

  • Full Member
  • ***
  • Posts: 226
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.

Kind regards.

Josh

  • Hero Member
  • *****
  • Posts: 1270
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.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Otto

  • Full Member
  • ***
  • Posts: 226
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.
Kind regards.

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: 444
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 11, LAZ 2.0.10, FPC 3.2.0, SVN 63526, i386-win32-win32/win64, using windows unit

lucamar

  • Hero Member
  • *****
  • Posts: 4219
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/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

FangQ

  • Full Member
  • ***
  • Posts: 134
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: 11833
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

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 »

 

TinyPortal © 2005-2018