Recent

Author Topic: Lazarus Release Candidate 1 of 1.8  (Read 73918 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: Lazarus Release Canditate 1 of 1.8
« Reply #75 on: June 02, 2017, 11:00:44 am »
Who?
Last I saw mails in fpc-pascal list titled "Mantis/Bugtracker registrations fixed" by Karoly Balogh (Charlie/SGR) and Martin. Michael van Canneyt tried to fix it. Martin still got problems, maybe it is not fixed yet.

Mantis should be updated to latest version which is already 2.4.1. Unfortunately it is a lot of work as was discussed earlier.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus Release Canditate 1 of 1.8
« Reply #76 on: June 02, 2017, 11:50:31 am »
Who?
Last I saw mails in fpc-pascal list titled "Mantis/Bugtracker registrations fixed" by Karoly Balogh (Charlie/SGR) and Martin. Michael van Canneyt tried to fix it.

Ahh OK, you were talking about the mantis problem and not the LCL grid problem  :)

amarryat

  • New Member
  • *
  • Posts: 12
Re: Lazarus Release Canditate 1 of 1.8
« Reply #77 on: June 02, 2017, 04:26:37 pm »

Btw. I cannot reproduce it. This code works just fine in trunk and 1.8 RC1:



I'm using a StringGrid, and it was created in the designer. In my case, CellRect(0, 0) returns something like 80,27 when it should return 0,0.  Once the form is visible, a call to CellRect(0,0) again returns 0,0

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: Lazarus Release Canditate 1 of 1.8
« Reply #78 on: June 02, 2017, 04:41:08 pm »
I'm using a StringGrid, and it was created in the designer. In my case, CellRect(0, 0) returns something like 80,27 when it should return 0,0.  Once the form is visible, a call to CellRect(0,0) again returns 0,0
As always, attach an example project to compile and test.
The explanation you gave is not very useful.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Lazarus Release Canditate 1 of 1.8
« Reply #79 on: June 02, 2017, 04:42:28 pm »
Still not clear how to reproduce. The attached demo has a design-time created stringgrid, and in the FormCreate event (i.e. before the grid is shown) the coordinates of Grid.CellRect(0,0) are written to a Label. Later, when then form has been shown, you can click on the button to measure CellRect(0, 0) again, and the label does not change.

Code: Pascal  [Select][+][-]
  1. // Use a form with a TStringGrid, a Button and a Label.
  2.  
  3. procedure TForm1.Button1Click(Sender: TObject);
  4. var
  5.   R: TRect;
  6. begin
  7.   R := StringGrid1.CellRect(0, 0);
  8.   Label1.Caption := Format('CellRect = %d, %d, %d, %d', [R.Left, R.Top, R.Right, R.Bottom]);
  9. end;
  10.  
  11. procedure TForm1.FormCreate(Sender: TObject);
  12. begin
  13.   Button1Click(nil);
  14. end;

amarryat

  • New Member
  • *
  • Posts: 12
Re: Lazarus Release Canditate 1 of 1.8
« Reply #80 on: June 02, 2017, 07:23:06 pm »
I'm using a StringGrid, and it was created in the designer. In my case, CellRect(0, 0) returns something like 80,27 when it should return 0,0.  Once the form is visible, a call to CellRect(0,0) again returns 0,0
As always, attach an example project to compile and test.
The explanation you gave is not very useful.

Thanks - I've attached a zip file containing a simple project that illustrates this.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus Release Canditate 1 of 1.8
« Reply #81 on: June 02, 2017, 08:35:49 pm »
Thanks - I've attached a zip file containing a simple project that illustrates this.

I fixed it in r55163. Please report to mantis the next time so that we have track of the bugs.

amarryat

  • New Member
  • *
  • Posts: 12
Re: Lazarus Release Canditate 1 of 1.8
« Reply #82 on: June 02, 2017, 10:33:33 pm »
Thanks - I've attached a zip file containing a simple project that illustrates this.

I fixed it in r55163. Please report to mantis the next time so that we have track of the bugs.

Thanks - looking forward to the update.

ermeneuta

  • Jr. Member
  • **
  • Posts: 63
Re: Lazarus Release Canditate 1 of 1.8
« Reply #83 on: June 03, 2017, 12:52:22 am »
Tried today to install fpc + lazarus on Linux Mint 18.1
fpc_3.0.3-r36152_i386.deb  installed without problems.
fpc-src_3.0.3-r36152_i386.deb also installed without problems.
lazarus-project_1.8.0RC1-0_i386.deb gave this error message :

Error: Dependency is not satisfiable: fpc(=3.0.3) | fp-compiler (=3.0.3)

What can I do ?  Thanks

Al

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus Release Canditate 1 of 1.8
« Reply #84 on: June 03, 2017, 11:44:48 am »
Tried today to install fpc + lazarus on Linux Mint 18.1
fpc_3.0.3-r36152_i386.deb  installed without problems.
fpc-src_3.0.3-r36152_i386.deb also installed without problems.
lazarus-project_1.8.0RC1-0_i386.deb gave this error message :

Error: Dependency is not satisfiable: fpc(=3.0.3) | fp-compiler (=3.0.3)

What can I do ?  Thanks

Please create a bug report.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: Lazarus Release Canditate 1 of 1.8
« Reply #85 on: June 03, 2017, 12:02:44 pm »
Error: Dependency is not satisfiable: fpc(=3.0.3) | fp-compiler (=3.0.3)
Just to be sure: you haven't installed any FPC version from Mint's repository, right?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

otoien

  • Jr. Member
  • **
  • Posts: 89
Re: Lazarus Release Canditate 1 of 1.8
« Reply #86 on: June 03, 2017, 12:52:44 pm »
Great work with a new release! A minor anomaly: After recompiling for the Anchordocking the IDE Coolbar no longer showed (as it did before compile and on the last release) and I had to fiddle quite a bit to get it back - it is a little while ago so I do not remember exactly what worked - there were a couple of re-compiles involved but I am not sure that was what made it.

Also I now notice that the new shaded area does not align with the coolbar - may be this is by design to create a shading effect? System is Win7 professional and with size is > 125%.  should add that I cleared the folders of all files before reinstall, but allowed conversions of the settings.


« Last Edit: June 03, 2017, 12:56:29 pm by otoien »
Unless otherwise noted I always use the latest stable version of Lasarus/FPC x86_64-win64-win32/win64

ermeneuta

  • Jr. Member
  • **
  • Posts: 63
Re: Lazarus Release Canditate 1 of 1.8
« Reply #87 on: June 03, 2017, 11:33:47 pm »
Error: Dependency is not satisfiable: fpc(=3.0.3) | fp-compiler (=3.0.3)
Just to be sure: you haven't installed any FPC version from Mint's repository, right?
No, I downloaded both fpc and lazarus  .deb packages from the SourceForge repository, from this URL :
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.8.0RC1/

Al

Tommi

  • Full Member
  • ***
  • Posts: 213
Re: Lazarus Release Canditate 1 of 1.8
« Reply #88 on: June 04, 2017, 05:00:49 pm »
This bug is still alive : http://forum.lazarus.freepascal.org/index.php/topic,32863.msg212126.html#msg212126

When you resize the window you obtain ugly artifacts. You can see them in attached image.

It would be great if you could solve it.

(Lazarus 1.8rc1 64bit on Windows 7 64bit)

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Lazarus Release Canditate 1 of 1.8
« Reply #89 on: June 04, 2017, 05:32:55 pm »
I can confirm, even with Laz trunk (win 10/64 bit, Laz-trunk/fpc3.02/32 bit). Is there a valid bug report for it?

 

TinyPortal © 2005-2018