Recent

Author Topic: Drawing bug in radiogroup | checkgroup | groupbox border  (Read 2227 times)

jipété

  • Newbie
  • Posts: 4
Drawing bug in radiogroup | checkgroup | groupbox border
« on: July 16, 2021, 10:45:48 am »
Hi,
radiogroup | checkgroup | groupbox border is drawn with a 2-pixel line height behind the caption instead of stopping either side of it.

This behaviour didn't exist in old versions.

Explanation of attachments, from top to bottom :
  • old version FPC 2.6.2 Lazarus 1.4.0 without problem
  • new version FPC 3.2.0 Lazarus 2.0.12 design mode
  • new version running mode (same problem)
  • another try, zooming on the end of  "GroupBox1" and beginning of line, showing the 2-pixels line
Thanks,
« Last Edit: July 16, 2021, 11:08:48 am by jipété »

wp

  • Hero Member
  • *****
  • Posts: 8548
Re: Drawing bug in radiogroup | checkgroup | groupbox border
« Reply #1 on: July 16, 2021, 01:18:48 pm »
Which OS/widgetset is this? On Windows everything is correct.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

lucamar

  • Hero Member
  • *****
  • Posts: 4135
Re: Drawing bug in radiogroup | checkgroup | groupbox border
« Reply #2 on: July 16, 2021, 02:35:11 pm »
Looks like Linux-gtk2, though it's difficult to ascertain which distro/desktop might be: Lxde? Xfce?.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

jipété

  • Newbie
  • Posts: 4
Re: Drawing bug in radiogroup | checkgroup | groupbox border
« Reply #3 on: July 16, 2021, 02:52:31 pm »
Looks like Linux-gtk2, though it's difficult to ascertain which distro/desktop might be: Lxde? Xfce?.
Ooops, sorry to forget that information.

And, yes, it's Debian Buster backported 5.7.10 Lxde gtk2
« Last Edit: July 16, 2021, 03:06:51 pm by jipété »

jipété

  • Newbie
  • Posts: 4
Re: Drawing bug in radiogroup | checkgroup | groupbox border
« Reply #4 on: July 21, 2021, 12:02:24 pm »
Hi, gentlemen.

No more news, so what ?  :(

Should I post in bugtracker ?

Debian Buster backported 5.7.10 Lxde gtk2
« Last Edit: July 21, 2021, 12:06:42 pm by jipété »

lucamar

  • Hero Member
  • *****
  • Posts: 4135
Re: Drawing bug in radiogroup | checkgroup | groupbox border
« Reply #5 on: July 21, 2021, 01:20:04 pm »
I can't replicate (attached image: Xubuntu 18.04 Laz/FPC 2.0.12/3.2.0 x86_64); It might be an issue of either Lxde or your particular theme/theme engine.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

jipété

  • Newbie
  • Posts: 4
Re: Drawing bug in radiogroup | checkgroup | groupbox border
« Reply #6 on: July 21, 2021, 01:44:31 pm »
Thanks for your try.

Quote from: lucamar
It might be an issue of either Lxde or your particular theme/theme engine.
(theme is Michaku, tried others without success,  :-\)

Really strange because I've tried with gtk3, which works fine.

But I cannot select it for regular work due to many other annoying problems like changing size of components or broken ParentColor of TPanel.
Images here, text in French but images are images, aren't ?  8)
Well, 1st image is made with gtk3, left side is design mode, right is running. Next image shows gtk3 design, gtk3 running, gtk2 running, right panel no more alClient. Last image is gtk2 design mode with big size for font).

 

TinyPortal © 2005-2018