Recent

Author Topic: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)  (Read 100923 times)

michaelthuma

  • New Member
  • *
  • Posts: 49
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #45 on: October 27, 2017, 09:21:51 am »
Thank you. Works great so far here. The only thing left is an 'issue' while debugging I don't really care about.

Given a simple OnClick event handler the following code presents a not updated value in case of c

var
a,b,c : integer
begin
  a := 1;
  b := 2;
  c := a + b;
end;

Debugger shows the initial value even if the cursor is positioned on the line end;

Works if the line c = a + b; is followed by any other statement.

That's little confusing but does not matter in the end and very likely nothing specific to this release.

The real disappointment is the missing ladybug  :( on the Run button. I liked it so much. On the other hand many icons became very professional which make Lazarus look great.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9908
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #46 on: October 27, 2017, 03:22:57 pm »
var
a,b,c : integer
begin
  a := 1;
  b := 2;
  c := a + b;
end;

Debugger shows the initial value even if the cursor is positioned on the line end;

Did you compile with -O1 or -O-

With -O1 the compiler recognizes that c is not used afterwards, and may skip storing it to memory (It will hold it in a register instead, but the compiler tells the debugger, that it was in memory...)


PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #47 on: October 30, 2017, 09:58:18 pm »
Playing around with an old project of mine ..

Tested under Windows 7

- no mainfest
- enabled LCL-scaling (Hi-DPI)
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #48 on: October 30, 2017, 09:58:39 pm »
125 %
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #49 on: October 30, 2017, 10:04:31 pm »
150 %
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #50 on: October 30, 2017, 10:05:09 pm »
I must check next what happens under Windows 10 ..
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #51 on: October 31, 2017, 12:58:55 am »
Under Win 10 - 100 %

125 %
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #52 on: October 31, 2017, 12:59:28 am »
Under Win 10 - 150 %
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #53 on: October 31, 2017, 01:02:50 am »
Okay, now I know why I never complained ... I never tested higher % under Windows 7. And 150% under Windows 10 seems to be acceptable.

The component TRadioGroup does not paint well under Windows 7
when zooming 150 % .
usually using latest Lazarus release version with Windows 10

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #54 on: October 31, 2017, 09:01:10 am »
Did you follow the rules für DPI-aware applications? http://wiki.lazarus.freepascal.org/High_DPI#High_DPI_in_Lazarus_1.8_and_above

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #55 on: October 31, 2017, 12:01:53 pm »
Did you follow the rules für DPI-aware applications? http://wiki.lazarus.freepascal.org/High_DPI#High_DPI_in_Lazarus_1.8_and_above
I'll have a look at that, thanks.

But this may have nothing to with ... :

The component TRadioGroup does not paint well under Windows 7 when zooming 150 % .
It paints okay (look at the Radio buttons ..) under Windows 10 when zooming 150 % .

I'll follow the description in Your link and then report here soon !
« Last Edit: October 31, 2017, 12:06:01 pm by PeterX »
usually using latest Lazarus release version with Windows 10

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #56 on: October 31, 2017, 12:08:08 pm »
The component TRadioGroup does not paint well under Windows 7 when zooming 150 % .
I doubt that. Before answering I had just tested this with an LCL-scaled project with manifest and Form.Scaled := true - no problem.

You should write a little demo and upload it here.

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #57 on: October 31, 2017, 01:08:36 pm »
Demo follows.

In the first step I simply copied the TRadioGroup
out of my project by Windows Clipboard.

Rows are too narrow now ..
usually using latest Lazarus release version with Windows 10

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #58 on: October 31, 2017, 01:12:45 pm »
What is the left image, and what is the right image?

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #59 on: October 31, 2017, 01:18:09 pm »
Left is design time, right is EXE running.
usually using latest Lazarus release version with Windows 10

 

TinyPortal © 2005-2018