bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #19588] Application crash when NSIcon is empty in property list


From: Yen-Ju Chen
Subject: [bug #19588] Application crash when NSIcon is empty in property list
Date: Sat, 14 Apr 2007 04:50:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.1.3) Gecko/20060601 Firefox/2.0.0.3 (Ubuntu-edgy)

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]