Recent

Author Topic: Lazarus Release Candidate 2 of 4.0  (Read 25427 times)

TRon

  • Hero Member
  • *****
  • Posts: 3930
Re: Lazarus Release Candidate 2 of 4.0
« Reply #45 on: January 16, 2025, 10:36:33 pm »
Not to worry d7_2_laz as I completely understand the frustration.

Some of us are waiting for almost a lustrum now for a release of the FPC compiler.

I Just wanted to let you know that in case it will not make it in the release of Lazarus 4.0 that it will most definitely makes it way to fixes directly thereafter (if not already the case).
« Last Edit: January 16, 2025, 10:39:30 pm by TRon »
I do not have to remember anything anymore thanks to total-recall.

d7_2_laz

  • Hero Member
  • *****
  • Posts: 613
Re: Lazarus Release Candidate 2 of 4.0
« Reply #46 on: January 16, 2025, 10:58:10 pm »
Thanks TRon for your understanding .. (it's indeed some kind of frustration).
It's only about for to see any perspective ... when seeing it recognized and accepted and, later, in the fixes branch that would be fine enough, fair.
Lazarus 3.8  FPC 3.2.2 Win10 64bit

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10792
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #47 on: January 17, 2025, 01:24:29 am »
1) As far as I can see there are developers interacting with the issue.   
There is a patch (thanks), yes, but one of those developers still need to find a few free minutes or some more...

2) RC2 was last weekend, so there will be some time still (weeks) before the next step.  And that may be rc3 or final...

3) Even if it does miss the 4.0 release. The flickering is a bug, and if the fix is not to intrusive/risky, it will likely be merged, and 4.2 will be soon after 4.0 (there is no schedule, but an avg its 2 or 3 month).


SerJ_Pooh

  • Newbie
  • Posts: 1
Re: Lazarus Release Candidate 2 of 4.0
« Reply #48 on: January 17, 2025, 08:28:05 am »
Hello to all lovers of Pascal and the magnificent Lazarus. Lazarus is installed on raspberry pi 4 (by the way - its great!!!). If you create a new project, a regular application, put ComboBox on the Form, you don't even have to fill it with several values, just compile it. When the application is running, click on the ComboBox to open - application freezes. The same thing happened at 4.0 rc1 too. My projects compiled on linux arm64 are now impossible to use because of this.

TRon

  • Hero Member
  • *****
  • Posts: 3930
Re: Lazarus Release Candidate 2 of 4.0
« Reply #49 on: January 17, 2025, 11:53:36 am »
Hello to all lovers of Pascal and the magnificent Lazarus. Lazarus is installed on raspberry pi 4 (by the way - its great!!!). If you create a new project, a regular application, put ComboBox on the Form, you don't even have to fill it with several values, just compile it. When the application is running, click on the ComboBox to open - application freezes. The same thing happened at 4.0 rc1 too. My projects compiled on linux arm64 are now impossible to use because of this.
Raspi OS recently switched windows manager (last month) and which is not stable yet. Atm there is nothing that the Lazarus team can do. Tthat is assuming you have an op to date/default raspios setup, if not then please follow up with details (preferably in another thread and with an example).

If you switch from wayland to x there seem to be no issues with Lazarus and Lazarus generated applications.
« Last Edit: January 17, 2025, 12:20:36 pm by TRon »
I do not have to remember anything anymore thanks to total-recall.

verasan

  • New Member
  • *
  • Posts: 16
Re: Lazarus Release Candidate 2 of 4.0
« Reply #50 on: January 17, 2025, 10:25:58 pm »
thanks, it is important for people lived in blocked countries the link for alternative download!!!

baldzhang

  • New Member
  • *
  • Posts: 44
Re: Lazarus Release Candidate 2 of 4.0
« Reply #51 on: January 19, 2025, 05:53:07 pm »
Qt5/6 Widgets: Hint window take owner's focus on xfce

firstly found in IDE, and easily re-product with a simple program

detailed tested with Qt5:
on followint evns
  1) slackware64 15.0, xfce 4.16
  2) slackware64 current, xfce 4.20
  3) linuxmint 22.1, xfce 4.18

when a hint window popup, owner's foucus was take away and the form was take away focus.
and the hint window show in windows-list of taskbar every second time popup.

compared with other window-manager
mate: 
  1) slackware64 current:
  main window button has a flick when hint popup

kde, cinnamon:
  1) linuxmint 22.1
  2) slackware64 current
  everything good.

brief test of Qt6 on slackware64-current, xfce, it's the same.

I can't say it is an issue, just let everyone know.


BTW: Qt5 font and color dialog from IDE->Options are all stuck: not show at all or only a empty widonw without refresh. no full envs to test IDE yet for now.

calebs

  • Full Member
  • ***
  • Posts: 200
Re: Lazarus Release Candidate 2 of 4.0
« Reply #52 on: January 22, 2025, 04:00:47 am »
hello all! I've read the whatsnew but maybe skipped that part. In FILE menu is missing "Close all", only "Close page F4". I recall it was there in 3.x and now is gone.
I can't find any other way to close all open code windows.
Dunno if is intended.
Thanks

zeljko

  • Hero Member
  • *****
  • Posts: 1692
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 2 of 4.0
« Reply #53 on: January 22, 2025, 08:13:39 am »
Qt5/6 Widgets: Hint window take owner's focus on xfce

firstly found in IDE, and easily re-product with a simple program

detailed tested with Qt5:
on followint evns
  1) slackware64 15.0, xfce 4.16
  2) slackware64 current, xfce 4.20
  3) linuxmint 22.1, xfce 4.18

when a hint window popup, owner's foucus was take away and the form was take away focus.
and the hint window show in windows-list of taskbar every second time popup.

compared with other window-manager
mate: 
  1) slackware64 current:
  main window button has a flick when hint popup

kde, cinnamon:
  1) linuxmint 22.1
  2) slackware64 current
  everything good.

brief test of Qt6 on slackware64-current, xfce, it's the same.

I can't say it is an issue, just let everyone know.


BTW: Qt5 font and color dialog from IDE->Options are all stuck: not show at all or only a empty widonw without refresh. no full envs to test IDE yet for now.

Have you opened issues about it ?


zeljko

  • Hero Member
  • *****
  • Posts: 1692
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 2 of 4.0
« Reply #54 on: January 22, 2025, 01:40:01 pm »
Grabbing focus by hintwindow on qt5/qt6 on x11 is fixed in trunk, I'll try to merge it to fixes_4, so it will be available in final release.

baldzhang

  • New Member
  • *
  • Posts: 44
Re: Lazarus Release Candidate 2 of 4.0
« Reply #55 on: January 22, 2025, 07:13:22 pm »
Grabbing focus by hintwindow on qt5/qt6 on x11 is fixed in trunk, I'll try to merge it to fixes_4, so it will be available in final release.

trunk and fixes_4 tested, the hint window doesn't grab focus anymore.  :D

"the hint window show in windows-list of taskbar every second time popup." --- this still there, not the exactly second time, it's about 50% times added into windows-list.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4552
  • I like bugs.
Re: Lazarus Release Candidate 2 of 4.0
« Reply #56 on: January 22, 2025, 09:47:50 pm »
hello all! I've read the whatsnew but maybe skipped that part. In FILE menu is missing "Close all", only "Close page F4". I recall it was there in 3.x and now is gone.
I can't find any other way to close all open code windows.
Dunno if is intended.
Yes it is intended.
The entry "Close all" was misleading and confusing because it closed only the source editor windows, not the whole project nor the package editors. People thought it does the same thing as "Close all" in Delphi but it didn't.
You can close all editor windows with Window -> "Manage Source Editors ...". There "Check all" and "Close all checked".
You can also right click an editor tab and select "Close All Other Pages". It leaves one editor tab which usually is what you want. That one can be closed separately if really needed.

I added the same explanation to
 https://wiki.freepascal.org/Lazarus_4.0_release_notes#Editor
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 2 of 4.0
« Reply #57 on: January 22, 2025, 09:56:24 pm »
Grabbing focus by hintwindow on qt5/qt6 on x11 is fixed in trunk, I'll try to merge it to fixes_4, so it will be available in final release.

trunk and fixes_4 tested, the hint window doesn't grab focus anymore.  :D

"the hint window show in windows-list of taskbar every second time popup." --- this still there, not the exactly second time, it's about 50% times added into windows-list.

I've seen that on xfce only, cca every second showing it is shown in taskbar on x11 xfwm4. You can open issue so it won't be forgotten, I'll try to fix it before 4.0 is out.

dbannon

  • Hero Member
  • *****
  • Posts: 3212
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 4.0
« Reply #58 on: January 25, 2025, 01:00:57 am »
... if you can afford an half an hour (or maybe a bit more), then please help us (and yourself) with 4.0:

It is, honestly, the least we can do !

Linux, Bookworm 64bit, FPC324rc1, my app ~25K lines.  Builds and runs as expected with gtk2, Qt5 and Qt6.

However, I see a lot of these -
Code: Pascal  [Select][+][-]
  1. notebook.pas(402,9) Warning: Symbol "DebugLn" is deprecated: "Use DebugLogger.DebugLn instead"

In lclproc.pas we find -
Code: Pascal  [Select][+][-]
  1. // Call debugging procedures in LazLoggerBase and RaiseGDBException in LazTracer.
  2. // Deprecated in version 3.99, April 2024.
  3. ...
  4. procedure DebugLn(const s: string = ''); overload; deprecated 'Use DebugLogger.DebugLn instead';

Now, in some of my units, I use LCProc, thats where the messages are generated, even if I use LazLogger first.  In most cases, I don't need to use LCProc, not sure why its there ? Historical perhaps, my issue.

But I don't see any mention of LCProc.DebugLn() being deprecated in the Release Notes, should it be there ? It sure did generate a lot of warnings in my app.

Love your work !

Davo


Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

dbannon

  • Hero Member
  • *****
  • Posts: 3212
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 2 of 4.0
« Reply #59 on: January 25, 2025, 02:02:57 am »
And one more thing. This is something that may affect only me (if so, drop it) but I suspect not. I have raised this in the past ....

I have my Indents and Tabs setup as shown below. I want four space indents everywhere. I understand the developers like two spaces, and if my eyes were better, maybe so would I, but four spaces work for me.

See here -
Code: Pascal  [Select][+][-]
  1. begin
  2.   begin
  3.     begin
  4.  
  5.     end;
  6.   end;
  7. end;
         

While my setup seems to allow for only four space indents, as I type the above, I type 'begin' and press Enter, the IDE adds a two space indent and the 'end;'. If there somewhere else I can set that indent to 4 rather than 2 I cannot find it.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018