Recent

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

FTurtle

  • Sr. Member
  • ****
  • Posts: 292
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #75 on: November 01, 2017, 04:38:00 pm »
It becomes harder and harder to find the Messages window

I can suggest two solutions:

1. Add "Messages" command on editor toolbar.
2. Make additional desktop where messages window placed below editor window without overlapping. Command "Desktops..." already placed on coolbar, but you can also place it on editor toolbar. Switch to this desktop when you have many messages.

munair

  • Hero Member
  • *****
  • Posts: 887
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #76 on: November 02, 2017, 04:18:51 pm »
What happened to the TPanDragTool component? In a project I use TChart and TPanDragTool. This project compiles fine with a fresh Lazarus 1.6.2, but Lazarus 1.8 (latest RC) complains that it is unable to find component class TPanDragTool.
It's only logical.

munair

  • Hero Member
  • *****
  • Posts: 887
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #77 on: November 02, 2017, 05:32:57 pm »
It looks like the TChart tools are not in the default installation. Installing TAChartLazaruspkg 1.0 solved the problem.
It's only logical.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4695
  • I like bugs.
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #78 on: November 02, 2017, 05:46:52 pm »
It looks like the TChart tools are not in the default installation.
You built with "make" which means "make all". It has less packages installed than "make bigide" which is used for the release.
But no worries, you can install all the missing packages and more from Tools -> Install/Uninstall Packages.
I recommend TurboPowerIProDsgn for nice rendered hints, and OnlinePackageManager (not in bigide) which works now in ARM CPUs, too.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

munair

  • Hero Member
  • *****
  • Posts: 887
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #79 on: November 02, 2017, 05:48:01 pm »
It looks like the TChart tools are not in the default installation.
You built with "make" which means "make all". It has less packages installed than "make bigide" which is used for the release.
But no worries, you can install all the missing packages and more from Tools -> Install/Uninstall Packages.
I recommend TurboPowerIProDsgn for nice rendered hints, and OnlinePackageManager (not in bigide) which works now in ARM CPUs, too.

Thanks.
It's only logical.

BeniBela

  • Hero Member
  • *****
  • Posts: 958
    • homepage
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #80 on: November 02, 2017, 06:46:03 pm »
It becomes harder and harder to find the Messages window

I can suggest two solutions:

1. Add "Messages" command on editor toolbar.
2. Make additional desktop where messages window placed below editor window without overlapping. Command "Desktops..." already placed on coolbar, but you can also place it on editor toolbar. Switch to this desktop when you have many messages.

The best would be, if it was in the Alt+Tab list with an unique icon, e.g. a red one

The source editor had a yellow icon, why is it blue again?


PeterX

  • Sr. Member
  • ****
  • Posts: 443
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #81 on: November 05, 2017, 02:58:58 pm »
A TCheckGroup, placed on a TPanel, shows artefacts on redrawing (on my PC).

You get the artefacts when resizing the window horizontally (make smaller, then larger ..).

Is this a known issue ?


Source code follows.
« Last Edit: November 05, 2017, 04:30:01 pm by PeterX »
usually using latest Lazarus release version with Windows 10 or 11

PeterX

  • Sr. Member
  • ****
  • Posts: 443
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #82 on: November 05, 2017, 02:59:42 pm »
Source code.

Written and tested under Windows 7 with NVIDIA NVS 510
« Last Edit: November 05, 2017, 04:14:43 pm by PeterX »
usually using latest Lazarus release version with Windows 10 or 11

balazsszekely

  • Guest
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #83 on: November 05, 2017, 06:18:55 pm »
@PeterX
It works fine here(Laz trunk/Fpc 3.0.2, Win7). Try to invalidate the CheckGroup on panel resize:
Code: Pascal  [Select][+][-]
  1. procedure TForm1.Panel1Resize(Sender: TObject);
  2. begin
  3.   CheckGroup1.Invalidate;
  4. end;

PeterX

  • Sr. Member
  • ****
  • Posts: 443
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #84 on: November 05, 2017, 07:40:02 pm »
Code: Pascal  [Select][+][-]
  1. procedure TForm1.Panel1Resize(Sender: TObject);
  2. begin
  3.   CheckGroup1.Invalidate;
  4. end;

I can confirm that this workaround works.

I just tested the old EXE of my program, where I found this issue.
The EXE was compiled in january 2016 and it does not have this issue.
So this must have been compiled with Lazarus 1.6 release.

Now, same sources compiled with 1.8 RC5 this misbehaviore appeared.
So it looks like a bug to me.
usually using latest Lazarus release version with Windows 10 or 11

wp

  • Hero Member
  • *****
  • Posts: 13430
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #85 on: November 05, 2017, 08:01:00 pm »
I tested your demo with Laz 1.6.4, 1.8RC5, and Laz-trunk and can confirm the behavior for 1.6.4 and 1.8RC5 on Win10. Laz-trunk, on the other hand, does not show the issue. I think I remember I once saw such a bugreport, but I cannot find it at the moment. Obviously this fix has not been backported to 1.8RC5, I don't see it in the list of fixes waiting for RC6 or final either.

PeterX

  • Sr. Member
  • ****
  • Posts: 443
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #86 on: November 05, 2017, 10:09:07 pm »
.. I remember I once saw such a bugreport, but I cannot find it at the moment.

"My bug" looks like this here :

https://bugs.freepascal.org/view.php?id=27129
« Last Edit: November 05, 2017, 10:16:19 pm by PeterX »
usually using latest Lazarus release version with Windows 10 or 11

guest61674

  • Guest
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #87 on: November 05, 2017, 10:26:26 pm »

wp

  • Hero Member
  • *****
  • Posts: 13430
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #88 on: November 05, 2017, 11:59:13 pm »
"My bug" looks like this here :
https://bugs.freepascal.org/view.php?id=27129
Right.

In the meantime I found out that it is also happening with Laz-trunk if Panel and Checkgroup have the same color, except for clDefault.

niels.hansen

  • Newbie
  • Posts: 3
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #89 on: November 06, 2017, 12:40:14 pm »
Hi,

I have 2 problems:

1. When I use mySQL 5.6 the data read from fields seems translated wrong. In 1.6.4 (win64) I get expected result, in 1.8 (win64) I get something that looks like chinese (see attachment).

2. The mySQL connectora are quite old. Wold be good if never versions were also supported.

 

TinyPortal © 2005-2018