Author Topic: Lazarus Bugfix Release 4.8  (Read 17354 times)

creaothceann

  • Sr. Member
  • ****
  • Posts: 451
Re: Lazarus Bugfix Release 4.8
« Reply #45 on: August 20, 2026, 12:17:57 pm »
[...] will be available in the next release (v4.10 or v5.0 or Unleashed, whichever comes first)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12731
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Bugfix Release 4.8
« Reply #46 on: August 20, 2026, 02:42:04 pm »
[...] will be available in the next release (v4.10 or v5.0 or Unleashed, whichever comes first)

There are several forks, and when or if they will carry which feature is not part of the announcements for Lazarus itself.

dsiders

  • Hero Member
  • *****
  • Posts: 1696
Re: Lazarus Bugfix Release 4.8
« Reply #47 on: August 22, 2026, 06:42:24 am »
When Lazarus runs directly in the debug mode of the IDE (by pressing F9), loading large files is still very slow.
However, the application compiled using debug mode runs and loads much faster. For example
var
model_path: string;
m_params: llama_model_params;
cp: llama_context_params;
params: llama_sampler_chain_params;
begin
ggml_backend_load_all();

model_path := ExtractFilePath(Application.ExeName) +
'Qwen3.5-4B-Q4_K_M.gguf'

m_params := llama_model_default_params;
m_params.n_gpu_layers := 10;
m_params.main_gpu := 0;
m_params.vocab_only := False;
m_params.use_mmap := True;

model := llama_load_model_from_file(PChar(model_path), m_params); // In this step, if you press F9 in the IDE, it will take a long time to load. After compilation, simply double-clicking to run the exe file for loading will be much faster.

Don't multipost. It won't get an answer any quicker, and you'll just piss people off.

jamie

  • Hero Member
  • *****
  • Posts: 7948
Re: Lazarus Bugfix Release 4.8
« Reply #48 on: August 31, 2026, 12:12:07 am »
I've been working with the version that was issues with the 3.2.4 compiler and found that for a project I am on I can't go back because one of the components in the SQL collection has made the "Port" property Published and if I drop back to the 4.8 Laz which has the 3.2.2, this property isn't published.

 Now that isn't much of an issue since I don't think I even use it however, when loading the Project in the suit that has 3.2.2, I get the property error during streaming that "Port" is not published or something like that, and it offers to remove it, but I elect not to remove it and use Cancel or ok, and it just sits there insisting for me to do something with that non-published property, in other words, I can't get out of it and I am locked in! I need to dump the IDE via the task manager.

 Maybe this can be addressed at some point, but I also wonder if plans are in the works to at least release the next IDE with 3.2.4 to start with?

Jamie


The only true wisdom is knowing you know nothing

dsiders

  • Hero Member
  • *****
  • Posts: 1696
Re: Lazarus Bugfix Release 4.8
« Reply #49 on: August 31, 2026, 04:47:49 am »
Maybe this can be addressed at some point, but I also wonder if plans are in the works to at least release the next IDE with 3.2.4 to start with?

FPC 3.2.4 is still a release candidate. I doubt it'll be the default in Lazarus releases until it is officially released.

neonshyn

  • Newbie
  • Posts: 2
Re: Lazarus Bugfix Release 4.8
« Reply #50 on: September 01, 2026, 09:18:39 pm »
Hi everyone!
I want to report a bug that I found in the last Lazarus' release ( 4.8 ):
in this simple code
Code: Pascal  [Select][+][-]
  1. {$MODE DELPHI}{$ZEROBASEDSTRINGS ON}{R+}
  2. var Str1: string;
  3. begin
  4.   Str1:='Ciao';
  5.   ShowMessage(Str1[0]);
  6. end
  7.  
the program is compiled but i got an error about "Range Check" (I expect "C" letter instead) because compiler directive "R+" is set; I have no error if "R-" is set (with ZEROBASEDSTRINGS always ON).
The same code works with FPC on Console, using WriteLn in place of ShowMessage obviously.
Thanks a lot!

-neonshyn
 

n7800

  • Hero Member
  • *****
  • Posts: 779
  • Lazarus IDE contributor
    • GitLab profile
Re: Lazarus Bugfix Release 4.8
« Reply #51 on: September 01, 2026, 10:30:58 pm »
This doesn't depend on Lazarus (IDE), but on the FPC (compiler) version. The good news is that this bug has already been fixed in the FPC trunk (future version).

By the way, it's "{$R+}", not "{R+}", but you may have specified it for testing purposes ))

The same code works with FPC on Console, using WriteLn in place of ShowMessage obviously.

I tested it in the console, and the bug reproduces there. It's possible you simply had some differences in the options between the projects.
« Last Edit: September 01, 2026, 10:33:57 pm by n7800 »

neonshyn

  • Newbie
  • Posts: 2
Re: Lazarus Bugfix Release 4.8
« Reply #52 on: September 02, 2026, 06:37:59 pm »
Of course {$R+}, it has been a typo, sorry.
In short, with {$ZeroBasedStrings On} and {$R+} Str1[0] crashed the program, while with {$R-} it didn't.

The good news is that this bug has already been fixed in the FPC trunk (future version).
It's Great!
Thanks a lot!

-neonshyn

geraldholdsworth

  • Sr. Member
  • ****
  • Posts: 308
Re: Lazarus Bugfix Release 4.8
« Reply #53 on: September 03, 2026, 02:08:01 pm »
Is there any way of changing the font size in the Online Package Manager, Messages and Breakpoints windows?
My eyesight just isn't that good.

(although, looking at the image uploaded, it doesn't look so bad - I think my browser has blown it up beyond 100%)

n7800

  • Hero Member
  • *****
  • Posts: 779
  • Lazarus IDE contributor
    • GitLab profile
Re: Lazarus Bugfix Release 4.8
« Reply #54 on: September 03, 2026, 10:23:03 pm »
Is there any way of changing the font size in the Online Package Manager, Messages and Breakpoints windows?
My eyesight just isn't that good.

(although, looking at the image uploaded, it doesn't look so bad - I think my browser has blown it up beyond 100%)

It looks like you're referring to PPI (scaling)? What monitor do you have? Does the font only differ in certain windows?

geraldholdsworth

  • Sr. Member
  • ****
  • Posts: 308
Re: Lazarus Bugfix Release 4.8
« Reply #55 on: September 03, 2026, 10:38:23 pm »
It's on my laptop (macOS M2). PPI is 96. Wasn't a problem until 4.6.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12731
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Bugfix Release 4.8
« Reply #56 on: September 03, 2026, 11:56:03 pm »
IIRC, but not sure: there were some changes on VTV => and all those windows use the VTV

I don't have Mac, so I can't test.

n7800

  • Hero Member
  • *****
  • Posts: 779
  • Lazarus IDE contributor
    • GitLab profile
Re: Lazarus Bugfix Release 4.8
« Reply #57 on: September 04, 2026, 01:40:23 am »
IIRC, but not sure: there were some changes on VTV => and all those windows use the VTV

As far as I know, the Messages window doesn't use VTV.

But there really are a lot of changes for Cocoa between versions 4.6 and 4.8.

shokwave

  • Newbie
  • Posts: 1
Re: Lazarus Bugfix Release 4.8
« Reply #58 on: September 10, 2026, 06:08:11 pm »
It's on my laptop (macOS M2). PPI is 96. Wasn't a problem until 4.6.

This is a known issue, it is solved in trunk and will be in Lazarus 5.0. I reported it a while ago.
 https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items/42366


 

TinyPortal © 2005-2018