Re: [Lazarus] Floats not streamed always (bug in trunk)

2018-03-06 Thread Vojtěch Čihák via Lazarus

Reported: https://bugs.freepascal.org/view.php?id=33348
 
It happens with FPC 3.1.1 only, 3.0.4 works fine, so I reported it to FPC 
mantis.
 
V. 
__

Od: Vojtěch Čihák via Lazarus
Komu: Lazarus mailing list 
Datum: 06.03.2018 20:27
Předmět: [Lazarus] Floats not streamed always (bug in trunk)


Hi,
 
I found bug in Lazarus 1.9 (Lazarus 1.9.0 r57442M FPC 3.1.1 x86_64-linux-qt).
Properties of type Float are not streamed to *.lfm when theirs value =0.
It is not problem with for example TFloatSpinEdit where is "default" =0 (default means 
"value set in constructor" here, since floats cannot have default).
Some my components has "default" -100 and when I change it to 0, it is not 
stored.
 
Is it Lazarus or FPC issue? I'll fill bugreptort.
 
V.


--

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus 


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Floats not streamed always (bug in trunk)

2018-03-06 Thread Vojtěch Čihák via Lazarus

Hi,
 
I found bug in Lazarus 1.9 (Lazarus 1.9.0 r57442M FPC 3.1.1 x86_64-linux-qt).
Properties of type Float are not streamed to *.lfm when theirs value =0.
It is not problem with for example TFloatSpinEdit where is "default" =0 (default means 
"value set in constructor" here, since floats cannot have default).
Some my components has "default" -100 and when I change it to 0, it is not 
stored.
 
Is it Lazarus or FPC issue? I'll fill bugreptort.
 
V.

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] ListView.ScrollBy not working?

2018-03-06 Thread Rolf Wetjen(rolf.wetjen--- via Lazarus

Does anybody know how to scroll a listview?
Seems that ListView.ScrollBy isn't working, at least not for Windows. 
There's no TCustomListView.ScrollBy procedure and of course the default 
TWinControl implementation doesn't send a LVM_SCROLL message to the MS 
ListView control.

Probably a bug?

Rolf
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Object inspector bug - exception

2018-03-06 Thread Bart via Lazarus
On Tue, Mar 6, 2018 at 2:45 PM, Rik van Kekem via Lazarus
 wrote:

> On Windows Lazarus 1.9 trunk too.
> You can shorten it to:
> - in a new project click on filter in the object inspector
> - press tab
> - press o
> - wait 1 second
> *) List index (-1) out of bounds.
>
> It's only a problem if you press Tab in the filter-edit and then press any
> key.


Can someone file a bugreport please.
I am unable to do so ATM.

Bart
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Object inspector bug - exception

2018-03-06 Thread Torsten Bonde Christiansen via Lazarus

On 2018-03-06 11:18, Lubos Pintes via Lazarus wrote:

Hello,
Can you reproduce this? In Lazarus, execute this key sequence:
F11, Ctrl+Tab, Tab, o, n, k
Then this exception is raised:
[Window Title]
Lazarus IDE v1.9.0 - project1

[Content]
List index (-1) out of bounds.

Press OK to ignore and risk data corruption.
Press Abort to kill the program.

[OK] [Abort]
Version doesn't matter, I believe this exists for a very long time, 
although I have fairly fresh version, several days old.



I can reproduce here:
Lazarus 1.9.0 r57449M FPC 3.0.0 x86_64-linux-gtk2

I already get the A/V on pressing the "n" key.

Regards,
Torsten.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus