Re: [Lazarus] TControl.InvalidatePreferredSize loop detected with TScrollBox

2016-09-16 Thread zeljko

On 09/16/2016 02:29 PM, Gabor Boros wrote:

Hi All,

With the attached example project got an
"TControl.InvalidatePreferredSize loop detected" error. Just start it
and click on Panel3. Tried with Windows and Linux-Qt, fixes_1_6 and FPC
3.0.0. What i am doing wrong or is it a bug?


Set VerticalScrollBar.Page to default value (80) and it won't trigger 
error.


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


Re: [Lazarus] TControl.InvalidatePreferredSize loop detected with TScrollBox

2016-09-16 Thread zeljko

On 09/16/2016 02:29 PM, Gabor Boros wrote:

Hi All,

With the attached example project got an
"TControl.InvalidatePreferredSize loop detected" error. Just start it
and click on Panel3. Tried with Windows and Linux-Qt, fixes_1_6 and FPC
3.0.0. What i am doing wrong or is it a bug?


Same happens under gtk2 ws...so not qt only problem.

z.

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


Re: [Lazarus] TControl.InvalidatePreferredSize loop detected with TScrollBox

2016-09-16 Thread zeljko

On 09/16/2016 02:29 PM, Gabor Boros wrote:

Hi All,

With the attached example project got an
"TControl.InvalidatePreferredSize loop detected" error. Just start it
and click on Panel3. Tried with Windows and Linux-Qt, fixes_1_6 and FPC
3.0.0. What i am doing wrong or is it a bug?


Probably bug. Pleas open an issue and attach that example. I've 
reproduced it w/o problems under Fedora 23 x86_64, Qt-4.8.7 , trunk 
lazarus + fpc 3.0.0


zeljko

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


[Lazarus] TControl.InvalidatePreferredSize loop detected with TScrollBox

2016-09-16 Thread Gabor Boros

Hi All,

With the attached example project got an 
"TControl.InvalidatePreferredSize loop detected" error. Just start it 
and click on Panel3. Tried with Windows and Linux-Qt, fixes_1_6 and FPC 
3.0.0. What i am doing wrong or is it a bug?


Gabor


ScrollBox_InvalidatePreferredSize_loop.tar.gz
Description: application/gzip
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus