« Return to Thread: Segmentation fault while loading Cocoa NIB

Bindings only working in one direction

by Andy Balholm :: Rate this Message:

Reply to Author | View in Thread

Thank you for your work on that bug. Now I have another one.

The bindings in my Company Info window are supposed to be read-write,  
but they can only read the data from the model. Changes to the text in  
the fields do not change the model. I tried taking the bindings out of  
the NIB and binding the fields programmatically instead, and it didn't  
make any difference. Once again, it works fine under Cocoa, but not  
under GNUstep.

Andy Balholm
(509) 276-9718
andy@...



On Jun 21, 2009, at 3:45 PM, Fred Kiefer wrote:

> With your preparation the rest was easy, as you suggested it was a
> problem in the initWithCoder: method of NSUserDefaultsController. I  
> had
> forgotten to retain the shared object before returning it from this  
> method.
>
> Thank you once more for your great bug report.
>
> Fred
>
> Fred Kiefer wrote:
>> After some initial bug fixes I am now getting closer to the problem  
>> you
>> are seeing. There was a bug in the way the map tables for the key  
>> value
>> binding where set up, this only showed after Richards rework of
>> NSTableMap and should be corrected now.
>>
>> I am now getting a segmentation fault when opening the company window
>> the second time. The back trace still looks a bit different from  
>> yours:
>
>
>



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@...
http://lists.gnu.org/mailman/listinfo/bug-gnustep

 « Return to Thread: Segmentation fault while loading Cocoa NIB