Recent

Author Topic: Lazarus Release 2.2.4  (Read 11212 times)

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 179
    • http://www.lazarus.freepascal.org
Lazarus Release 2.2.4
« on: September 28, 2022, 10:08:10 am »
The Lazarus team is glad to announce the release of Lazarus 2.2.4.

This is a bugfix release and was built with FPC 3.2.2.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_2.2.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Here is the list of fixes for Lazarus 2.2.x:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_2_2

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 2.2.4" directory.

Checksums for the SourceForge files:
https://www.lazarus-ide.org/index.php?page=checksums#2_2_4

Minimum requirements:

Windows:
   2k, 32 or 64bit.

FreeBSD/Linux:
   gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.

Mac OS X:
   Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, qt and  qt5 (32 or 64bit).

The gitlab page:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_2_2_4

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: ftp://ftp.freepascal.org/pub/lazarus/releases/

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 310
Re: Lazarus Release 2.2.4
« Reply #1 on: September 28, 2022, 11:33:31 am »
Unfortunately at least this one is still missing:
LCL/TListView: More complete fix of issue #39708, based on patch by d7_2_laz...
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/c0c30424debbd95c58fc9e8b98293dba55292d12
... referring to this issue:
Windows, virtual listview, "Item" in "Edited" becomes to be wrong when selection changed during editing
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39708
--> What can we do for to make it work again with the 2.2.4?

wp

  • Hero Member
  • *****
  • Posts: 10281
Re: Lazarus Release 2.2.4
« Reply #2 on: September 28, 2022, 04:35:59 pm »
Hmmm... This report is tagged with "milestone 2.4". If I remember correctly, this was some kind of difficult work with some changes deep in the heart of the listview, and I was not sure if we did not break something else.

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 310
Re: Lazarus Release 2.2.4
« Reply #3 on: September 28, 2022, 05:17:30 pm »
Yes wp (thank you!).
There was also some keeping track of the selection list (around "InitMultiSelList", "UpdateMultiSelList" & co.; cannot see them within the 2.2.4) last april, maybe you remember roughly. I applied those patches as discussed last april (from lazgit), and what i can say is that upfrom these changes the virtual listview, multiselect, did work smart and without any problems regarding this bunch of issues discussed (it was a closed long story for me).
Will it be surely within a 2.4?  And how to have it for (on top of) the 2.2.4?

wp

  • Hero Member
  • *****
  • Posts: 10281
Re: Lazarus Release 2.2.4
« Reply #4 on: September 28, 2022, 05:37:25 pm »
Will it be surely within a 2.4?  And how to have it for (on top of) the 2.2.4?
Well, 2.2.4 is done - nothing can change it any more. If you are sure that the committed fix is working and has no side-effects, we can target it for v2.2.6 (or 2.4 - whichever comes first). In the meantime it will be in "fixes" then. Is it only the commit that you cited above?

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 310
Re: Lazarus Release 2.2.4
« Reply #5 on: September 28, 2022, 06:54:25 pm »
Thank you wp again! Of course i cannot promise there are no side effects at all regarding any potential use case. What i can say that i have a heavy usage of listview in virtual mode w. multiselect, have had a bunch of issues in the past, but ending up with your patches from last april for me it does work smooth and reliable. Ii did not encounter side-effects here anymore.

I fear (sorry) i didn't fully understand the meaning of your last question (‘Is it only the commit that you cited above?’).
Not sure where (from which commit)  the InitMultiSelList UpdateMultiSelList etc. at the end came from. At least: i just recompared my "patched" 2.2.2 version against the "main" repository (customlistview.inc, win32wscomctrls.pp, win32wscustomlistview.inc, wscomctrls.pp).
They are identical. So for simplyness i'd refer to the "main" repository in this respect.

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 310
Re: Lazarus Release 2.2.4
« Reply #6 on: September 29, 2022, 09:47:48 am »
wp, regarding the InitMultiSelList UpdateMultiSelList etc. mentioned, this one appear to implement them:
(obviously missing in 2.2.4 too):
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/fb64d6ef4d2f1081478d16e3fe7455a8110a52c6

Besides, after a couple of file comparisons (customlistview.inc, win32wscomctrls.pp, win32wscustomlistview.inc, wscomctrls.pp original  2.2.2 vs. original 2.2.4) - for to check if one can do so (i found: yes) - i placed. for test, those files on top of the 2.2.4 (plus two others, only for crossref reasons). After this replacement all works fine again. Same as done with 2.2.2.

Concerning a bunch of previous issues around listview matters those 4 files from "main" are working perfectly for me for half a year, so it would be highly appreciated to know if they will be really published with 2.2.6 rresp. 2.4.

RadDeveloper

  • New member
  • *
  • Posts: 7
Re: Lazarus Release 2.2.4
« Reply #7 on: October 01, 2022, 04:42:14 am »
Hi Lazarus Team! Since the last release, this issue hasn't been fixed :-(

Here is the bug in this version. Here the steps: Launch Lazarus IDE, Click Project -> View Project Source, then close project1.lpr page, then again Click Project -> View Project Source, then the source page appears to be blank (no project code inside), and cannot compile a project.

Thanks.

Quote from: Handoko
I confirm what RadDeveloper said is reproducible on Lazarus 2.2.2 Linux GTK2.

But that only happens on new project, so the steps to produce the issue are:
1. Start Lazarus
2. File > New > Project > Application > OK
3. Project > View Project Source
4. Close the project1.lpr tab on the Source Editor
5. Project > View Project Source

wp

  • Hero Member
  • *****
  • Posts: 10281
Re: Lazarus Release 2.2.4
« Reply #8 on: October 01, 2022, 10:47:20 am »
This description of steps is incomplete. I cannot close a project without either creating a new project or opening an existing one (--> Project wizard). What are you doing when the "Project wizard" shown in the attachment appears?

BrunoK

  • Sr. Member
  • ****
  • Posts: 364
  • Retired programmer
Re: Lazarus Release 2.2.4
« Reply #9 on: October 01, 2022, 11:00:44 am »
Win 10 Lazarus >=2.2
Quote from: Handoko
I confirm what RadDeveloper said is reproducible on Lazarus 2.2.2 Linux GTK2.
4. Close the project1.lpr tab on the Source Editor
I can reproduce.
Step 4 is close tab on Source Editor, not close the project.

zeljko

  • Hero Member
  • *****
  • Posts: 1337
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release 2.2.4
« Reply #10 on: October 01, 2022, 12:26:40 pm »
I can confirm this issue with Qt and Qt5 under x11, so it's not gtk2 only problem - but this bug is reproducable only with newly created, unsaved project.

wp

  • Hero Member
  • *****
  • Posts: 10281
Re: Lazarus Release 2.2.4
« Reply #11 on: October 02, 2022, 06:26:35 pm »
Will it be surely within a 2.4?  And how to have it for (on top of) the 2.2.4?
I now made several attempts to merge the changes into the fixes branch. But since solution of these bugs has a long history there were commits that were not backported to main, some were reverted, and some were replaced by the changes that you mention, some were not. Therefore I think it is too risky to introduce other issues into the fixes branch, and I would like you to wait for the v2.4 release which will contain the current code automatically (for sure!) because it will be a snapshot of the main branch at the time when this version will be tagged.

d7_2_laz

  • Sr. Member
  • ****
  • Posts: 310
Re: Lazarus Release 2.2.4
« Reply #12 on: October 02, 2022, 08:40:43 pm »
wp, absolutely ok with 2.4! I'm fully aware of the complexity of this situation ... and so my main concern had been that the solution will be really part on an official release so that this long story finally does come to a good end.
With the well working files mentioned from "main" I didn't have a single problem anymore since half a year (Windows).
2000 thanks for your great support in this matter over this long time!

jonyrh

  • New Member
  • *
  • Posts: 12
Re: Lazarus Release 2.2.4
« Reply #13 on: October 03, 2022, 05:08:26 am »
Great news! Thank you very much for your hard work!  :)

dsiders

  • Hero Member
  • *****
  • Posts: 717
Re: Lazarus Release 2.2.4
« Reply #14 on: October 03, 2022, 08:08:06 am »
I can confirm this issue with Qt and Qt5 under x11, so it's not gtk2 only problem - but this bug is reproducable only with newly created, unsaved project.

It has been reported and confirmed in Issue #39745.
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39745
Preview Lazarus 2.3.0 documentation at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018