Re: Cannot Save Britney Spears
Re: Cannot Save Britney Spears
- Subject: Re: Cannot Save Britney Spears
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 3 Oct 2005 21:05:44 +0200
On 03.10.2005, at 20:45, John Stiles wrote:
A few OS versions ago, TextEdit was actually not based on NSDocument.
I don't know if that has changed.
I just looked at the Tiger TextEdit and it has a class Document,
subclass of NSObject.
So obviously it has not changed yet.
/Developer/Examples/AppKit/TextEdit/README.rtf says: "• TextEdit is
still not NSDocument-based. It should be."
On Oct 3, 2005, at 11:15 AM, SA Dev wrote:
One could easily argue there's NO saving Britney ... As to the
problem at hand, I am unable to reproduce this with TextEdit (with a
.txt file) but was able to with Preview. Neat.
On Oct 3, 2005, at 2:02 PM, Gerriet M. Denkmann wrote:
I opened a picture of Britney Spears in Preview.app (Tiger) and
saved it to /tmp/p1.tiff
Then I did in Terminal: ln /tmp/p1.tiff /tmp/p2.tiff; rm /tmp/p2.tiff
Then I rotated Ms. Spears clockwise. Then I tried to save her.
It did not work, I got a panel: "The document "p1.tiff" could not be
saved."
Before you tell me that Ms. Spears is off topic: this can be
reproduced with any other picture as well; even with any document in
any Cocoa-document-based app.
To reproduce this you probably will need an HFS or HFS+ filesystem.
The question: how can I recognize this case _before_ using
writeSafelyToURL:ofType:forSaveOperation:error: ?
Kind regards,
Gerriet.
This email sent to email@hidden
____
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden