Lazarus

Programming => General => Topic started by: garlar27 on July 08, 2020, 11:28:28 pm

Title: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: garlar27 on July 08, 2020, 11:28:28 pm
Hi,

I just need to confirm is this error is happening in newer versions of Lazarus.

Basically I put a TBitBtn inside a TGroupBox which contains a TShape and the button is "painted" underneath the shape thus it gets hidden (Image attached so it's easier to understand). By the way send to back and bring to front has no effect.
None seems to have experienced this error before.

Please confirm so I can create a ticket.

Thank you!!

P.S.: The forum didn't allowed me to upload a jpeg extension. after changing the name, the "Post" button didn't work...
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: jamie on July 08, 2020, 11:36:19 pm
you must have a widget issue because it works fine here in 2.0.8 windows

How new of a product are you testing this on ?
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: garlar27 on July 08, 2020, 11:59:20 pm
Not very new as you can see. The lazarus version is not new either The image is from Lazarus 1.8.2 FPC 3.0.4. Which don't have problems on windows 10
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: jamie on July 09, 2020, 12:45:22 am
I would suggest to move to 2.0.8 at least

 The test I did was 2.0.8 - 64 bit on Windows 10 and it works ok there.

 so  most likely that has been fixed so I assume the Linux ports should also be updated too.

Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: winni on July 09, 2020, 01:09:14 am
Hi!

This seems to be an GTK issue.
Just tested with Suse Tumbleweed, fpc 3.04, Lazarus 2.08:

The bitbtn2 hides behind the shape2.
BringToFront or SendtoBack  does not help in this case.

The old trick with copy and paste to bring it to the front does not work.

I think a bugreport is necessary.

Winni
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: garlar27 on July 09, 2020, 07:44:16 pm
Thanks winni. That's what I needed to know.
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: garlar27 on July 09, 2020, 08:12:43 pm
Ticket created: 0037321: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu (16.04LTS)
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: lucamar on July 09, 2020, 09:39:40 pm
Ticket created: 0037321: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu (16.04LTS)

Shouldn't it be "TBitBtn Hidden by TShape when in TGroupBox on Linux-GTK"? As Winni said it happens also in Suse Tumbleweed, and it'll probably show up in other GTK-based desktops.

Just saying ...  :-\
Title: Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
Post by: Bart on July 09, 2020, 09:44:05 pm
Shouldn't it be "TBitBtn Hidden by TShape when in TGroupBox on Linux-GTK"? As Winni said it happens also in Suse Tumbleweed, and it'll probably show up in other GTK-based desktops.

Categorie is already set to Widgetset.

Bart
TinyPortal © 2005-2018