Recent

Author Topic: Lazarus Release Candidate 1 of 4.0  (Read 23637 times)

n7800

  • Full Member
  • ***
  • Posts: 171
Re: Lazarus Release Candidate 1 of 4.0
« Reply #90 on: November 03, 2024, 06:46:09 pm »
It's a little bit confusing. May I suggest something:
Delete all checkboxes and only use the combobox. Probably get the default Lazarus version string (Lazarus IDE v4.0RC1 - )from the combox too.

I have the same proposal on the bug tracker, plus I would like to keep the old option to select via checkboxes. I attach a copy of the screenshot with an example.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10542
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 4.0
« Reply #91 on: November 03, 2024, 06:59:05 pm »
For now the "at start" checkbox remains. Since the IDE may various build in info in its default part. And it would need more testing to move all that into the checkbox and make sure it wont get lost.

An alternation between checkbox and drop down makes no sense IMHO.
- All the important ones can be selected from the drop down (so they are fairly easy to get)
- If someone wants to take the time to make it more novice friendly, then it should be a builder dialog, that offers all macros with description (like a formula builder in a calc sheet). But that would be 5.0, and needs a contributor.

IMHO, with the newly added instant preview, it is already fairly novice friendly. Even if someone does not understand the how, the choose one of the 10 presets by trial and error. And even mix them.


There is still an issue with the default for anchor docking. (actually I suspect the issue is in the desktop mgmt...) / That I will look into...

Josh

  • Hero Member
  • *****
  • Posts: 1344
Re: Lazarus Release Candidate 1 of 4.0
« Reply #92 on: November 03, 2024, 09:02:31 pm »
oddity
If I compile a new project with just a tbutton on it,
the message windows reports 1 warning.

On fixes branch no warnings
« Last Edit: November 03, 2024, 09:04:31 pm by Josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10542
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 4.0
« Reply #93 on: November 03, 2024, 09:44:20 pm »
oddity
If I compile a new project with just a tbutton on it,
the message windows reports 1 warning.

So here is the full output of fpc. (3.2.2 in my case / differs from yours). You get this by "copy all/original messages".

Code: Text  [Select][+][-]
  1. Hint: (11030) Start of reading config file d:\lazarus64\fpc\3.2.2\bin\x86_64-win64\fpc.cfg
  2. Hint: (11031) End of reading config file d:\lazarus64\fpc\3.2.2\bin\x86_64-win64\fpc.cfg
  3. Free Pascal Compiler version 3.2.2 [2024/10/21] for x86_64
  4. Copyright (c) 1993-2021 by Florian Klaempfl and others
  5. (1002) Target OS: Win64 for x64
  6. (3104) Compiling C:\Users\martin\AppData\Local\Temp\project1.lpr
  7. (3104) Compiling unit1.pas
  8. C:\Users\martin\AppData\Local\Temp\project1.lpr(21,20) Warning: (5044) Symbol "MainFormOnTaskBar" is not portable
  9. (9022) Compiling resource C:\Users\martin\AppData\Local\Temp\lib\x86_64-win64\project1.obj
  10. (9015) Linking C:\Users\martin\AppData\Local\Temp\project1.exe
  11. (1008) 52 lines compiled, 0.9 sec, 1688736 bytes code, 126260 bytes data
  12. (1021) 1 warning(s) issued
  13. (1022) 2 hint(s) issued

MainFormOnTaskBar is indeed platform specific.
Code: Pascal  [Select][+][-]
  1.     property MainFormOnTaskBar: Boolean read FMainFormOnTaskBar write SetMainFormOnTaskBar; platform;
  2.  

It's called in the generated project code: project1.lpr

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 1 of 4.0
« Reply #94 on: November 03, 2024, 11:41:00 pm »
So here is the full output of fpc. (3.2.2 in my case / differs from yours). You get this by "copy all/original messages".
....

Yes, you do too ! Thank you Martin, I am used to quitting Lazarus and restarting it from the console to see that content !

(Right click somewhere in the Messages Window. Importantly, it shows which fpc.cfg you are using !)

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

Josh

  • Hero Member
  • *****
  • Posts: 1344
Re: Lazarus Release Candidate 1 of 4.0
« Reply #95 on: November 03, 2024, 11:54:26 pm »
Hi
I am aware of the right click to get the full messages, that is why I pasted the actual message window, as that is what the user will see.
Does it now mean that every project i now compile will have at least 1 warning?
If so then I would suggest this should be be ommited from the get go.

its just an observation
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10542
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 4.0
« Reply #96 on: November 04, 2024, 12:43:12 am »
Well I had to go that way, as I did not see that warning when just compiling.

On Win 10 64 bit, new app, just one button added, compile: I temporarily see "compiling", and then just the green success line.

So I guess there are some changes to some settings needed. Still they probably should be consistent.
I don't know what/when changed. Or by whom. I just meant to help establish details.
Best to report it on the bug tracker, please.

I checked a bit deeper, the code in the project actually is:
Code: Pascal  [Select][+][-]
  1.   Application.{%H-}MainFormOnTaskbar:=True;

So the warning itself is hidden.
Just the count isn't.

Josh

  • Hero Member
  • *****
  • Posts: 1344
Re: Lazarus Release Candidate 1 of 4.0
« Reply #97 on: November 04, 2024, 01:26:52 am »
Hi Martin,

I have recently developed very painful athritis in my fingers and wrists, so i try to get my messages across in as little amount of chars as possible, so sometimes its possible they could be interpreted in a different way than intended. I can get multiple days where its not possible to type at all. frustrating as hell, when the gray matter is 100%

if possible could you post a bugtracker report you can refer to me in any of the details.

Thnx
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10542
  • Debugger - SynEdit - and more
    • wiki

Weja

  • Newbie
  • Posts: 6
Re: Lazarus Release Candidate 1 of 4.0
« Reply #99 on: November 05, 2024, 03:39:07 pm »
Thanks for the release!

On Windows 11 Pro 24H2 with Lazarus IDE 4.0RC1 (Single Window application, "modern design") I observed an unexpected behaviour if changing the size of the IDE (from Bottom or Top).

Starting Point:
see atttached picture "single_window_IDE_starting_point" of the IDE


Trying to change the size of the IDE (from Bottom or Top) results in following:
see attached picture "single_window_IDE_size_changed_from_bottom" of the IDE

Changing the left or right size of the IDE it behaves as expected.

LBox

  • New Member
  • *
  • Posts: 46
Re: Lazarus Release Candidate 1 of 4.0
« Reply #100 on: November 05, 2024, 06:35:54 pm »
Dear experts and developers of Lazarus, thank you for this wonderful product and for your hard work.

When you have free time and desire, please take a look at this topic https://forum.lazarus.freepascal.org/index.php/topic,69171.0.html
and express your opinion, which is very valuable to us  :)

Thanks in advance 🙏

essence-ciel

  • New Member
  • *
  • Posts: 17
Re: Lazarus Release Candidate 1 of 4.0
« Reply #101 on: November 09, 2024, 12:30:28 am »
Hi,
Working with Windows 10/11, sqlite 3.47, zeosdbo 7.2.14 and many pictures. Lazarus works well.
Thanks to the team

essence-ciel

  • New Member
  • *
  • Posts: 17
Re: Lazarus Release Candidate 1 of 4.0
« Reply #102 on: November 09, 2024, 09:13:58 pm »
Hello,

Working with Windows 10/11, SQLite 3.47, ZeosdBO 7.2.14 and Lazarus '4'...

In my previous post, I mentioned that the test of the vacation photo management software I use regularly was working well. But here's the problem!
Wanting a more modern interface, I tested the following code (from “USING THE LAZARUS GRIDS”, Michaël Van Canneyt, August 4, 2008):

Code: Pascal  [Select][+][-]
  1.  
  2. procedure TFEssVue64.DBGrid10ColExit(Sender : TObject) ;
  3. begin
  4.   if DBGrid10.SelectedField.FieldName = DBLookupComboBox2.DataField then
  5.            DBLookupComboBox2.Visible := False ;
  6. end ;
  7.  
  8. procedure TFEssVue64.DBGrid10DrawColumnCell(Sender : TObject ; const Rect : TRect ; DataCol : Integer ; Column : TColumn ; State : TGridDrawState) ;
  9. begin
  10.   if (gdFocused in State) then
  11.   begin
  12.      if (Column.Field.FieldName = DBLookupComboBox2.DataField) then
  13.        with DBLookupComboBox2 do
  14.        begin
  15.            Left     := Rect.Left + DBGrid10.Left + 2 ;
  16.            Top     := Rect.Top  + DBGrid10.Top + 2 ;
  17.            Width  := Rect.Right - Rect.Left ;
  18.            Height := Rect.Bottom - Rect.Top ;
  19.            Visible := True ;
  20.       end ;
  21.       DataCol := 1 ; //Me signale un avertissement...
  22.    end ;
  23. end ;
  24.  
  25. procedure TFEssVue64.DBGrid10KeyPress(Sender : TObject ; var Key : char) ;
  26. begin
  27.   if (key = Chr(9)) then Exit ;
  28.      if (DBGrid10.SelectedField.FieldName = DBLookupComboBox2.DataField) then
  29.      begin
  30.          DBLookupComboBox2.SetFocus ;
  31.          SendMessage(DBLookupComboBox2.Handle, WM_Char, word(Key), 0) ;
  32.     end ;
  33. end ;
  34.  
  35.  

If it works correctly with version 3.6, with version '4', and without any change in the code, if dBGrid's 'Edit' field accepts letters and displays the corresponding text in the search field, datas are not displayed in the drop-down list. When I click on the ButtonStyle, all I get is an empty line in the drawn rectangle...

To find out more, I tried adding an OnDblClick event to the dBGrid. The event doesn't respond in the data zone, but only if I click in the title...

I tested version 4 with Zeosdbo 7.2.14 and 8.00 with, unfortunately, the same result.

Best regards,


JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4541
  • I like bugs.
Re: Lazarus Release Candidate 1 of 4.0
« Reply #103 on: November 10, 2024, 07:51:37 am »
If it works correctly with version 3.6, with version '4', and without any change in the code, if dBGrid's 'Edit' field accepts letters and displays the corresponding text in the search field, datas are not displayed in the drop-down list. When I click on the ButtonStyle, all I get is an empty line in the drawn rectangle...
Please try to find which revision broke it. You need Lazarus trunk, "main" branch from the Gitlab repo. Then use "git bisect". Move in the history to a working revision and mark it "git bisect good". Mark the latest revision as "git bisect bad" and there you go...
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

piola

  • Full Member
  • ***
  • Posts: 147
  • Lazarus 2.2, 64bit on Windows 8.1 x64
Re: Lazarus Release Candidate 1 of 4.0
« Reply #104 on: November 11, 2024, 12:26:08 pm »
I'd like to encourage the Lazarus maintainers to provide a "Lazarus 4.0 with trunk FPC 3.3" release in addition to the regular one with FPC 3.2. There are so many great features in trunk meanwhile, but it's horribly compilcated to get it working properly. So please, an FPC 3.3 with Lazarus 4.0 release would be a great option!

This is why tools like FpcUpDeluxe exist

Yes, but FpcUpDeluxe unfortunately uses an entirely different directory structure than official Lazarus releases. So it's not an option for me.

 

TinyPortal © 2005-2018