Recent

Author Topic: KDE5/Plasma TImage and TLabelEdit problem.  (Read 2092 times)

saisim

  • New Member
  • *
  • Posts: 16
KDE5/Plasma TImage and TLabelEdit problem.
« on: January 09, 2018, 10:32:44 am »
Dear all.

I writing program, using Lazarus 1.0.14/qt4.
After migration from OpenSuse 13.2 (KDE 4/qt4) to OpenSuse 43.2 (KDE Plasma Desktop/qt5) I got a bug.

1. Component TImage isn't displaying the image.
2. Component TLabelEdit isn't displaying the label caprion.

Please see attached files.
Thank you.
« Last Edit: January 09, 2018, 10:34:23 am by saisim »

mig-31

  • Sr. Member
  • ****
  • Posts: 305
Re: KDE5/Plasma TImage and TLabelEdit problem.
« Reply #1 on: January 14, 2018, 12:06:29 pm »
Hi,

I don't occur this behavior under Mageia6 KDE Plasma 5.

I attached screenshots of application with Qt5 and Qt4 widget set.

I think you must check your KDE Plasma 5 theme. Color of font of Label is the same as background color.
Lazarus 2.2.6 - OpenSuse Leap 15.4, Mageia 8, CentOS 7

Fungus

  • Sr. Member
  • ****
  • Posts: 353
Re: KDE5/Plasma TImage and TLabelEdit problem.
« Reply #2 on: January 14, 2018, 03:09:49 pm »
Are you using Qt or GTK components? Usually these types of problems are related to the GTK theme used by the KDE desktop so you should try to use another GTK theme in system settings.

mig-31

  • Sr. Member
  • ****
  • Posts: 305
Re: KDE5/Plasma TImage and TLabelEdit problem.
« Reply #3 on: January 14, 2018, 07:06:02 pm »
Are you using Qt or GTK components? Usually these types of problems are related to the GTK theme used by the KDE desktop so you should try to use another GTK theme in system settings.

He compiled program for Qt4 application on old OpenSUSE and Qt5 on newer OpenSUSE.

This is nothing to do with GTK+ theme.
Lazarus 2.2.6 - OpenSuse Leap 15.4, Mageia 8, CentOS 7

saisim

  • New Member
  • *
  • Posts: 16
Re: KDE5/Plasma TImage and TLabelEdit problem.
« Reply #4 on: January 24, 2018, 03:10:54 pm »
I think you must check your KDE Plasma 5 theme. Color of font of Label is the same as background color.

Hi!

I checked and changed themes - nothing changes as result.

saisim

  • New Member
  • *
  • Posts: 16
Re: KDE5/Plasma TImage and TLabelEdit problem.
« Reply #5 on: January 24, 2018, 03:16:45 pm »
Are you using Qt or GTK components? Usually these types of problems are related to the GTK theme used by the KDE desktop so you should try to use another GTK theme in system settings.

Hi!

No, I'm using Qt4 compiled Lazarus 1.0.14/fpc 2.6.2 on OpenSuse 43.2. I don't use GTK widgetset.

No, I changed Lazarus to 1.8, but I have many problems with code.
I need to adopt big amount of my code to the new version, because Lazarus 1.8 don't supports all components that I'm using.

OpenSuse 43.2 (KDE Plasma 5) + Lazarus 1.8 + Qt4 - don't has this (topic) problem.
« Last Edit: January 24, 2018, 03:18:21 pm by saisim »

 

TinyPortal © 2005-2018