URL: <http://savannah.gnu.org/bugs/?20434>
Summary: NSTextfield setStringValue: problem Project: GNUstep Submitted by: luboz Submitted on: Tuesday 07/10/2007 at 09:13 Category: Gui/AppKit Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: I have an OpenStep application ported to GNUstep. During port I found a bug in setStringValue: method of NSTextField. Example: id arr = [[NSArray alloc] initWithObjects: @"a", @"b", nil]; id txt = [[NSTextField alloc] initWithFrame: NSMakeRect(5, 37, 200, 28)]; [txt setStringValue: arr]; This crash on NSException, but in OpenStep it shows "(a, b)" string in NSTextField. I have attached some example. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tuesday 07/10/2007 at 09:13 Name: Array2TxtFld.m Size: 3kB By: luboz <http://savannah.gnu.org/bugs/download.php?file_id=13280> ------------------------------------------------------- Date: Tuesday 07/10/2007 at 09:13 Name: GNUmakefile Size: 155B By: luboz <http://savannah.gnu.org/bugs/download.php?file_id=13281> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?20434> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep