http://bugs.winehq.org/show_bug.cgi?id=58914
--- Comment #8 from Bart Kindt info@sartrack.nz --- The Combox is created automaticaly when the form (window) is created by Delphi. These are standard drag-and-drop items in the IDE.
The adding of the entries is also super simple:
procedure TTeamNewForm.FormShow(Sender: TObject); var // i: integer; begin RefTypeComboBox.Clear;
RefTypeCombobox.Items.Add(vsTeam); // Works RefTypeCombobox.Items.Add(rtrIMT); // Works RefTypeCombobox.Items.Add(rtrEOC); // Empty string // DEBUG RETRY the last two: RefTypeCombobox.Items.Add(rtrIMT); // Works RefTypeCombobox.Items.Add(rtrEOC); // NOW it works!!
RefTypeCombobox.Items.Add(rtrARECStation); // Works etc. RefTypeCombobox.Items.Add(rtrCOMMSStation); RefTypeCombobox.Items.Add(rtrPlanning); RefTypeCombobox.Items.Add(rtrLogistics); RefTypeCombobox.Items.Add(rtrHub); RefTypeCombobox.Items.Add(rtrWelfare); RefTypeCombobox.Items.Add(rtrOther);
{for i := 0 to RefTypeCombobox.Items.Count-1 do begin Log(i.ToString+': '+RefTypeCombobox.Items[i]); << This shows 'EOC' entry is an empty string end; } end;
The vaiables like 'rtrEOC' are constants of the Delphi type 'resourcestring' which allows them to be translated. But here they are NOT translated, they are the original values. And it is also irrelevant because as shown above, if I add it again later as a test, it IS added normally.
This issue is at many different comboboxes in the program, the location of the empty string(s) is always at the same index at these comboboxes. In some cases, 3 entries in a row are missing. All of this only under Linux Wine, and I see the identical situation on my own freshly installed Wine as the original reporter who send be lots of screen shots.
This the most basic Windows item. I do not understand why Wine would have these weird issues with it...