Recent

Author Topic: Black background on object's inspector combobox options  (Read 493 times)

bpranoto

  • Jr. Member
  • **
  • Posts: 53
Black background on object's inspector combobox options
« on: November 01, 2020, 12:24:06 pm »
I just installed lazarus 2.0.10/fpc 3.2.0

In the form's object inspector if I click the dropdown button of a property which is a combobox, the options displayed have a black on black color so the unhilited texts are invisible.

Please see the screenshot attached.

O/S: Linux ubuntu 18.04

What is the configuration option to fix it?


Sieben

  • Full Member
  • ***
  • Posts: 144
Re: Black background on object's inspector combobox options
« Reply #1 on: December 01, 2020, 09:45:51 pm »
Just want to raise this once more, because it is in fact sort of annoying and it does not seem to be fixed with trunk either. There has also been a bug report one and a half year ago:

https://bugs.freepascal.org/view.php?id=35375

though it is a bit misleading in that it mentions DBComboBox.

I can confirm this for Linux Ubuntu 16.04 / GTK2 as well, and as well did not find any settings yets to correct this with IDE / Objectinspector options.
Lazarus 2.0.10, FPC 3.2.0, .deb install on Ubuntu Xenial 32

winni

  • Hero Member
  • *****
  • Posts: 2009
Re: Black background on object's inspector combobox options
« Reply #2 on: December 01, 2020, 11:47:41 pm »
Hi!

Some people might think this is not fair, BUT:

Numer One in "This does not work - that does not work" is the rotten Apple. No discussion now.
But Numer Two is allways Ubuntu.

Based on Debian. Debian does not know nothing about desktops and is always too late with fixing errors. It is a good and stable server system. Point.

Ubuntu is know to be full of errors especialy concerning the desktop.

There are so many Linux around which bevave well, have knowledge about different desktops and cause less trouble with fpc/Lazarus.

In Germany Ubuntu is often used in school because it fits to the knowledge of the teachers.
But schools out forever. Become adult and use some other Linux.
I avoid name dropping.
It's about the problems of Ubuntu.

I have never seen such a dropdown-black-box like above.
With a lot of different Linux and Lazarus - even Debian.

So change your Linux-OS.
Not to start a  flame-war.
Just to reduce the problems.

Winni

lucamar

  • Hero Member
  • *****
  • Posts: 3236
Re: Black background on object's inspector combobox options
« Reply #3 on: December 02, 2020, 12:37:53 am »
I have never seen such a dropdown-black-box like above.
With a lot of different Linux and Lazarus - even Debian.

So change your Linux-OS.

I have never seen it in any Ubuntu system either, and I've been using quite a lot of them with quite a lot of differents desktops (Ubuntu, Xubuntu Lubuntu, Kubuntu, ...) since 2006 and I've heard of all kind of weird problems with other distros, so no: it's not fair.

This really seems to be just a weird iteraction between the system's theme and Lazarus widgetset, probably agravated by the use of Unity in Ubuntu 16. One small test you could perform would be to see if it also happens if you restart in a gnome-fallback session or if you update to, say, Ubuntu 18. Or change your theme; way easier than changing to another distro ;)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Zoran

  • Hero Member
  • *****
  • Posts: 1610
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Black background on object's inspector combobox options
« Reply #4 on: December 02, 2020, 11:56:36 am »
But... Changing the development distribution or desktop manager will not solve that, when you put a combo box on a form, you don't know if the bug will appear in your application on your user's desktop.


 

TinyPortal © 2005-2018