Recent

Author Topic: Series Transparency under Linux  (Read 312 times)

kapibara

  • Hero Member
  • *****
  • Posts: 649
Series Transparency under Linux
« on: March 23, 2025, 07:38:37 pm »
Does Series Transparency work under Linux?

Chart becomes mostly black if I enable it. That also happens if Series.Shadow is enabled, which uses transparency.

Maybe I missed some setting?
Lazarus trunk / fpc 3.2.2 / Kubuntu 24.04 - 64 bit

wp

  • Hero Member
  • *****
  • Posts: 12757
Re: Series Transparency under Linux
« Reply #1 on: March 24, 2025, 01:19:02 am »
Yes, I can confirm this - I have never been aware of it (normally I work on Windows). Or is it a regression? (On my Linux-VMs I only have Laz/main).

I see that this happens only with gtk2, transparency works correctly in the qt5 and qt6 widgetsets, and even gtk3 is better (although red and blue channels are exchanged).

When I have some spare time I'd have to look into this issue whether it can be simplified for a bug report.

kapibara

  • Hero Member
  • *****
  • Posts: 649
Re: Series Transparency under Linux
« Reply #2 on: March 24, 2025, 09:47:11 am »
Thanks for checking,

I tested with Lazarus 3.0 and fpc 3.2.2. The chart is kindof transparent there. But only until it is resized. Same behaviour for both designtime and runtime.

Haven't used Lazarus with QT5 before, but got it up and going. As you said, there transparency works great.
Lazarus trunk / fpc 3.2.2 / Kubuntu 24.04 - 64 bit

 

TinyPortal © 2005-2018