[Lazarus] Strange visibility bug with TCustomGroupBox descendants

Torsten Bonde Christiansen tc at epidata.info
Mon Dec 1 13:41:56 CET 2014


On 2014-12-01 11:57, Torsten Bonde Christiansen wrote:
> Hi list.
>
> For some time i have had a strange bug in my program which essentially 
> boils down to a
> TRadioGroupBox being visible, even though it has explicit been set to 
> false (in code).
>
> At first i though this was due to some strange coding of mine, but i 
> have managed to
> recreate the issue with a short sample (attached).
>
> It seems that all TCustomGroupBox descendants (at least TGroupBox, 
> RadioGroup, CheckGroup)
> suffer from the same problem. Even more strange is that in order to 
> provoke the groupbox
> to become visible when not wanted, it MUST include a Frame, a 
> PageControl, a Panel and a BitButton.
>
> This bug is only present with the GTK2 widgetset. I have tested with 
> Lazarus 1.2.6 and
> latest trunk: Lazarus 1.3 r47043 FPC 2.6.4 x86_64-linux-gtk 2
>
> Can anyone else confirm this bug? And what could be the cause of this?
>
> Kind regards,
> Torsten Bonde Christiansen.
I forgot to include a description of the bug... doh!

When making the switch between the two tab-pages the invisible controls 
somehow
become visible.

See the video in this link (when it is done transcoding):
https://videobin.org/+8cd/b68.html

Regards
Torsten.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141201/0a8088bb/attachment-0003.html>


More information about the Lazarus mailing list