[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[bug #20434] NSTextfield setStringValue: problem
From:
Lubo Zavacky
Subject:
[bug #20434] NSTextfield setStringValue: problem
Date:
2007年7月10日 09:13:39 +0000
User-agent:
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3
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 #20434] NSTextfield setStringValue: problem,
Lubo Zavacky <=