Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-04

Combobox on Mac doesn't show any items

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Hi List.

I think i have found a bug in Carbon widget set with comboboxes.

After a change from revision 40683 to 40684no items are any longer added to a combobox in the carbon widget set. Please see the two images, one showing 40683, the other 40684.

http://imagebin.org/254480
http://imagebin.org/254481

Should i create a bug report for this?

Btw. using fpc 2.6.2 (i386-darwin) and lazarus trunk.

Regards.
Torsten Bonde Christiansen

Reply by email

Mattias Gaertner
to Torsten Bonde Christiansen
Show quoted text 16 lines
Torsten Bonde Christiansen hat am 18. April 2013 um 13:34 geschrieben: Hi List. I think i have found a bug in Carbon widget set with comboboxes. After a change from revision 40683 to 40684no items are any longer added to a combobox in the carbon widget set. Please see the two images, one showing 40683, the other 40684. http://imagebin.org/254480 http://imagebin.org/254481 Should i create a bug report for this?

Same in all comboboxes of the IDE.
I reverted the change.

Jesus committed it and tried to fix duplicates. What duplicates?

Mattias

Reply by email

Jesus Reyes
to Mattias Gaertner

--- El jue 18-abr-13, Mattias Gaertner escribi?:
[...]

Show quoted text 22 lines
> I think i have found a bug in Carbon widget set with comboboxes. > > After a change from revision 40683 to 40684no items are any longer added > to a combobox in the carbon widget set. Please see the two > images, one showing 40683, the other 40684. > > http://imagebin.org/254480 > http://imagebin.org/254481 > > Should i create a bug report for this? Same in all comboboxes of the IDE. I reverted the change. Jesus committed it and tried to fix duplicates. What duplicates? Mattias

Quick reaction, reverting fixes the problem when compiling with FPC 2.6.2 but broke it for FPC trunk.

To not repeat myself please read my note in http://bugs.freepascal.org/view.php?id=24059 I have been a little busy and the fix for carbon was delayed because it seemed to me that it will be a better fix to handle this in LCL package using build macros, defining globally a conditional, HAS_INHERITED_INSERTITEM for example, if fpc version is less than 2.7.1 (it is needed at least for Carbon and Qt (and possible gtk2 too according to issue 0024154)).

If that is not a viable solution, I can fix it the same way than for Qt.

Jesus Reyes A.

Reply by email