bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #9536] NSDocument not including extention at time of delegate call


From: Fred Kiefer
Subject: [bugs #9536] NSDocument not including extention at time of delegate call in save
Date: Tue, 06 Jul 2004 13:23:02 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #9536] Latest Modifications:

Changes by: 
                Fred Kiefer <FredKiefer@gmx.de>
'Date: 
                Tue 07/06/2004 at 17:20 (GMT)

------------------ Additional Follow-up Comments ----------------------------
Did I understand this problem correctly: Inside of the didDaveSelector method 
of the delegate you call (-fileName) on the NSDocument you get handed in and 
the result is a filename without extension for GNUstep, whereas for Cocoa you 
get a filename with extension?
I did not find any hint in this direction in our code, but there is aknow 
difference to MacOSX 10.3. There you may set multiple allowed file types. 
Perhaps your problem comes from this or something similar.






/**************************************************************************/
[bugs #9536] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9536>
Project: GNUstep
Submitted by: 0
On: Fri 07/02/2004 at 21:29

Category:  Gui/AppKit
Severity:  5 - Average
Item Group:  Change Request
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  NSDocument not including extention at time of delegate call in save

Original Submission:  Using NSDocument - 
(void)saveDocumentWithDelegate:(id)delegate 
didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo and asking 
for the file name does not yet include the extension. This means the app gets 
the wrong name (= right name - extension) at that point. Extension is provided 
in cocoa. I would argue that should be the same in GNUstep so the app has the 
right, full name at time of save.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 07/06/2004 at 17:20       By: FredKiefer
Did I understand this problem correctly: Inside of the didDaveSelector method 
of the delegate you call (-fileName) on the NSDocument you get handed in and 
the result is a filename without extension for GNUstep, whereas for Cocoa you 
get a filename with extension?
I did not find any hint in this direction in our code, but there is aknow 
difference to MacOSX 10.3. There you may set multiple allowed file types. 
Perhaps your problem comes from this or something similar.

-------------------------------------------------------
Date: Sat 07/03/2004 at 01:11       By: allemandel3ft
P.S. This is when calling NSOpenPanel filenames/filename method. It should 
return full paths (with extensions).












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9536>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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