Lazarus 2.2.4 with FPC 3.2.2 on Linux x86_64 Debian 10 "Buster" using GTK2.
I think this is an old one that's been mentioned by a number of people, and I'd like to know its status before lobbing noise into the bugtracker.
If a populated combobox is dropped-down and an item is selected, when the dropdown closes no text is visible in the editable portion of the control. Clicking on any part of the editable field, or tabbing through controls on the form, displays the text.
This does not happen on Qt, other widgetsets untested.
So far, the only way I've found of fixing this under software control is to do something like
procedure TJds6600Form.ComboBoxPortNameCloseUp(Sender: TObject);
begin
{$ifdef LCLGTK2 }
// Nasty bug in here: the value isn't displayed unless the text is clicked on.
// Might be GTK2-specific or related to a specific trunk version, below is fugly
// but works round it.
Application.Minimize;
Application.BringToFront
{$endif LCLGTK2 }
end { TJds6600Form.ComboBoxPortNameCloseUp } ;
Any comments would be appreciated.
MarkMLl
MarkMLl