bugGNUstep - Bugs: bug #34745, standard about panel crashes when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34745: standard about panel crashes when authors in the Info.plist isnt an array

Submitted by:  julian <julian_>
Submitted on:  Fri 04 Nov 2011 12:05:29 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 04 Nov 2011 10:35:50 AM UTC, comment #2:

there is no Mac OS X behavior here, the Info.plist fields like ApplicationDescription, Authors, URL and CopyrightDescription don't exist at all on Mac OS X. there is just NSHumanReadableCopyright and you can include a Credits.rtf file that gets shown in the about panel.

thanks for fixing the nasty crash ;-)

julian <julian_>
Fri 04 Nov 2011 06:29:00 AM UTC, comment #1:

It's not clear what the expected OSX behavior is ... but I added a simple fix to tolerate the presence of a string value and use it as an array containing a single author.
Please let me know if this is wrong and we actually need to do something else (eg ignore the value entirely).

Richard Frith-Macdonald <CaS>
Project Member
Fri 04 Nov 2011 12:05:29 AM UTC, original submission:

1.) add an authors field to your YourAppInfo.plist file but not an array, a single string e.g.

<key>Authors</key>
<string>1</string>

2.) compile the app and try to open the standard about panel "About YourApp"

3.) the app crashes so hard you can't even get a backtrace in gdb or do anything...one has to switch to a virtual terminal and terminate the process with -9

julian <julian_>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by julian_ (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Nov 2011 09:03:32 PM UTCCaSOpen/ClosedIn Test=>Closed
    Fri 04 Nov 2011 06:29:00 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1