URL:
<http://savannah.gnu.org/bugs/?19588>
Summary: Application crash when NSIcon is empty in property
list
Project: GNUstep
Submitted by: yjchen
Submitted on: Saturday 04/14/2007 at 00:50
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
There are NSIcon and ApplicationIcon in application's property list :
[Application name]Info.plist.
I notice that if the value is empty for application A, ex. NSIcon="";,
application B will crash when they use [NSWorkspace iconForFile] for
application A.
More specifically, [NSWorkspace iconForFile: path_to_application] will fail
if the specified application has a property list in which NSIcon = ""; and
ApplicaitonIcon = "";.
If the value is any random string, it will be fine.
I attach a test application. You can play with testInfo.plist and see .
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 04/14/2007 at 00:50 Name: junk.tar.gz Size: 700B By:
yjchen
<http://savannah.gnu.org/bugs/download.php?file_id=12478>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19588>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-gnustep