GNUstep - Support: sr #106637, NSSavePanel/NSOpenPanel return an...
You are not allowed to post comments on this tracker with your current authentication level.
sr #106637: NSSavePanel/NSOpenPanel return an instance variable instead of object copy
Submitter: | Riccardo Mottola <rmottola> | ||
Submitted: | Thu 12 Feb 2009 11:33:58 PM UTC | ||
Category: | AppKit | Priority: | 5 - Normal |
Severity: | 3 - Normal | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Operating System: | None |
Fri 13 Feb 2009 06:06:18 AM UTC, comment #2: |
Richard Frith-Macdonald <CaS> |
Thu 12 Feb 2009 11:48:24 PM UTC, comment #1: this is a bug not a sr |
Riccardo Mottola <rmottola> |
Thu 12 Feb 2009 11:33:58 PM UTC, original submission:
debugging the reason of easydiff Crashing while opening the second file to compare, I traced it to a problem with [NSSavePanel directory]. That method returns just the instance variable _directory.
|
Riccardo Mottola <rmottola> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-02-12 | rmottola | Status | None | Invalid | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-4b48.
Corresponding source code
I guess we should change this, even though expecting the return value to persist is definitely an application programming error.
I don't think the current behavior could be called 'unexpected', given that documentation/tutorials about the OpenStep reference counting mechanism are generally very explicit about the fact that you need to retain values in case a subsequent call to a method destroys them.