Recent

Author Topic: Lazarus Release Candidate 1 of 3.0  (Read 68015 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #105 on: July 30, 2023, 09:39:28 am »
I'm seeing an "Operation not allowed on sorted list." error dialog box appear under the following conditions:
I tested with fixes_3_0 HEAD, building Lazarus with LCL-QT5 and Anchordocking + Docked Form Editor under Manjaro Linux + KDE.
I cannot reproduce. No such error here.
AFAIK Fedora now uses Wayland instead of X by default. Could it cause such an error? Not very likely.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

zeljko

  • Hero Member
  • *****
  • Posts: 1692
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 1 of 3.0
« Reply #106 on: July 30, 2023, 09:52:29 am »
I'm seeing an "Operation not allowed on sorted list." error dialog box appear under the following conditions:

1. Create a project with a single form.

2. With the form selected, click on the "Align" drop down list box in the object inspector.

3. An error dialog appears (see attached).

- 3.0 RC1 built on Fedora 38 Linux/x86_64 w/ Qt5 widget set

The same error seems to occur for every property with a drop down combo box. As can be seen by the attached image, I am using anchor docking and docked form editors.

Update: Issue does not occur for me if I build Lazarus with the Gtk2 widget set.
Update': Issue does occur with the Qt6 widgetset and libqt6pas libraries provided by Davo.

Alan

I've fixed that bug some time ago, but not sure if it's in RC1, try fixes_3, it should be fixed.

rpetges

  • Jr. Member
  • **
  • Posts: 98
    • Attribute Changer Website
Re: Lazarus Release Candidate 1 of 3.0
« Reply #107 on: July 30, 2023, 09:54:08 am »
Hi all,

I updated the 3.0 RC1 with the latest fixes_3_0 branch and when I try to compile the IDE on Windows I get the following error:

sourcefilemanager.pas(4614,10) Error: identifier idents no member "NewFormWasCreated"

This error is generated when an identifier of a record,
 field or method is accessed while it is not defined.

Any idea on how to pass the error ?
« Last Edit: July 30, 2023, 09:56:24 am by rpetges »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #108 on: July 30, 2023, 10:01:06 am »
I updated the 3.0 RC1 with the latest fixes_3_0 branch and when I try to compile the IDE on Windows I get the following error:
sourcefilemanager.pas(4614,10) Error: identifier idents no member "NewFormWasCreated"
It is added in one recent commit that was merged to fixes_3_0.
Compiles well here. Just do a clean build and you are good.

Maybe it is time for RC2 soon?
Rebuilding Lazarus installed from RC1 .deb packages does not succeed and it must be fixed for RC2. I don't know if Mattias has looked at it.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

rpetges

  • Jr. Member
  • **
  • Posts: 98
    • Attribute Changer Website
Re: Lazarus Release Candidate 1 of 3.0
« Reply #109 on: July 30, 2023, 11:42:55 am »
Quote
It is added in one recent commit that was merged to fixes_3_0.
Compiles well here. Just do a clean build and you are good.

Still does not work, tried to do the following :

git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus
cd lazarus
git switch fixes_3_0

Start Lazarus and build with "Clean Up + Build All" profile. Maybe I do something wrong with the Git commands ?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #110 on: July 30, 2023, 09:19:27 pm »
How exactly do you "update the 3.0 RC1 with the latest fixes_3_0 branch"?
Anyway your Git commands look OK. Then you should check the "Clean all" Checkbox in Configure build Lazarus window.
I am away from my computer, hopefully I remember the texts right.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

rpetges

  • Jr. Member
  • **
  • Posts: 98
    • Attribute Changer Website
Re: Lazarus Release Candidate 1 of 3.0
« Reply #111 on: July 30, 2023, 09:28:33 pm »
In fact, I installed the 3.0 RC1 from Sourceforge.

To update, I used the commands listed in my previous post and then copy the whole contents from the the local source repository in the Lazarus installation folder, replacing the existing ones. Then start Lazarus ( 3.0 RC1 without branch fixes ) and try to recompile the IDE.

And yes, I checked the Clean checkbox.

Don't know it this works, it's the first time I try to update it from Git  :D

Many thanks for your help.

alank

  • New Member
  • *
  • Posts: 13
Re: Lazarus Release Candidate 1 of 3.0
« Reply #112 on: July 30, 2023, 09:31:06 pm »
I'm seeing an "Operation not allowed on sorted list." error dialog box appear under the following conditions:

1. Create a project with a single form.

2. With the form selected, click on the "Align" drop down list box in the object inspector.

3. An error dialog appears (see attached).

- 3.0 RC1 built on Fedora 38 Linux/x86_64 w/ Qt5 widget set

The same error seems to occur for every property with a drop down combo box. As can be seen by the attached image, I am using anchor docking and docked form editors.

Update: Issue does not occur for me if I build Lazarus with the Gtk2 widget set.
Update': Issue does occur with the Qt6 widgetset and libqt6pas libraries provided by Davo.

Alan

I've fixed that bug some time ago, but not sure if it's in RC1, try fixes_3, it should be fixed.

Confirmed - both Qt5 and Qt6 no longer exhibit the issue with a build of fixes_3_0.

Thanks much,
  Alan

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #113 on: July 30, 2023, 10:10:41 pm »
To update, I used the commands listed in my previous post and then copy the whole contents from the the local source repository in the Lazarus installation folder, replacing the existing ones. Then start Lazarus ( 3.0 RC1 without branch fixes ) and try to recompile the IDE.
Complicated and prone to errors.
You should uninstall 3.0RC1, build fixes_3_0 HEAD and start it from where it is using console. No need to install anywhere.
This system has benefits compared to an installed version. No write protected directories when rebuilding. Possible to "git pull" latest updates anytime.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

rpetges

  • Jr. Member
  • **
  • Posts: 98
    • Attribute Changer Website
Re: Lazarus Release Candidate 1 of 3.0
« Reply #114 on: July 30, 2023, 10:27:10 pm »
Thanks for the info ... I'll have a look at the Wiki on how to do on Windows.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #115 on: July 31, 2023, 10:27:09 am »
I'll have a look at the Wiki on how to do on Windows.
"make" works also on Windows. It comes with FPC.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 16520
  • Kallstadt seems a good place to evict Trump to.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #116 on: July 31, 2023, 10:34:45 am »
I'll have a look at the Wiki on how to do on Windows.
"make" works also on Windows. It comes with FPC.
That is true, but note that in the case thatt you also have Delphi installed: you have to specify the full path to make or create an extra script because the Delphi make is incompatible with GNU make e.o.
But I am sure they don't want the Trumps back...

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 1 of 3.0
« Reply #117 on: July 31, 2023, 10:54:20 am »
That is true, but note that in the case thatt you also have Delphi installed: you have to specify the full path to make or create an extra script because the Delphi make is incompatible with GNU make e.o.
Yes, I remember years ago when I had Delphi I deleted its "make" executable completely because I never needed it.
Then FPC's "make" works without full path.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

wp

  • Hero Member
  • *****
  • Posts: 12589
Re: Lazarus Release Candidate 1 of 3.0
« Reply #118 on: July 31, 2023, 11:50:27 am »
I'll have a look at the Wiki on how to do on Windows.
I am using the following batch file in the Lazarus root directory for building the IDE. Just adjust the first line to the path to the fpc directory (the one with all the exe files).
Code: Text  [Select][+][-]
  1. set path=C:\Lazarus\fpc-3.2.2\bin\i386-win32
  2. make clean bigide

rpetges

  • Jr. Member
  • **
  • Posts: 98
    • Attribute Changer Website
Re: Lazarus Release Candidate 1 of 3.0
« Reply #119 on: July 31, 2023, 04:41:58 pm »
Thank you all for your help !

 

TinyPortal © 2005-2018