Recent

Author Topic: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS  (Read 461 times)

garlar27

  • Hero Member
  • *****
  • Posts: 648
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...

jamie

  • Hero Member
  • *****
  • Posts: 3512
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #1 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 ?
The only true wisdom is knowing you know nothing

garlar27

  • Hero Member
  • *****
  • Posts: 648
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #2 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

jamie

  • Hero Member
  • *****
  • Posts: 3512
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #3 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.

The only true wisdom is knowing you know nothing

winni

  • Hero Member
  • *****
  • Posts: 1762
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #4 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

garlar27

  • Hero Member
  • *****
  • Posts: 648
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #5 on: July 09, 2020, 07:44:16 pm »
Thanks winni. That's what I needed to know.

garlar27

  • Hero Member
  • *****
  • Posts: 648
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #6 on: July 09, 2020, 08:12:43 pm »
Ticket created: 0037321: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu (16.04LTS)

lucamar

  • Hero Member
  • *****
  • Posts: 3017
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #7 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 ...  :-\
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.8/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Bart

  • Hero Member
  • *****
  • Posts: 3897
    • Bart en Mariska's Webstek
Re: TBitBtn Hidden by TShape when in TGroupBox on Ubuntu 16.04LTS
« Reply #8 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