bugGNUstep - Bugs: bug #7877, awakeFromNib

 
 

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

bug #7877: awakeFromNib

Submitted by:  Fabien VALLON <Fabien_>
Submitted on:  Tue 24 Feb 2004 04:37:58 PM UTC  
 
Category: GormSeverity: 2 - Minor
Item Group: Change RequestStatus: Invalid
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Fri 27 Feb 2004 05:49:20 AM UTC, comment #3:

- (void)panel:(id)sender directoryDidChange:(NSString *)path {
NSLog(@"Directory changed");

}

- (void)panelSelectionDidChange:(NSString *)path {
NSLog(@"Selection changed");
sleep(2);
}

These two methods are not supposed to be called by the save panel...

Only these...
- (BOOL) panel: (id)sender isValidFilename: (NSString*)filename;
- (NSComparisonResult) panel: (id)sender
compareFilename: (NSString *)filename1
with: (NSString *)filename2
caseSensitive: (BOOL)caseSensitive;
- (BOOL) panel: (id)sender shouldShowFilename: (NSString *)filename;
- (NSString *)panel: (id)sender
userEnteredFilename: (NSString *)fileName
confirmed: (BOOL)okFlag;

:)

I have attached my test program which implements the save panel delegate with the above methods in awakeFromNib and shows them being called correctly.

This bug is closed. GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Fri 27 Feb 2004 05:41:22 AM UTC, comment #2:

I've tested this and it works with my code...

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Fri 27 Feb 2004 04:12:26 AM UTC, comment #1:

I'm looking into this...

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Tue 24 Feb 2004 04:37:58 PM UTC, original submission:

if I write :
- (void)awakeFromNib {
NSSavePanel *panel = [NSSavePanel savePanel];
[panel setDelegate: self];
[panel runModal];

}

the NSSavePanel browser does not send Action.
Looks like it works for Cocoa (from Quentin Mathé tests)

Fabien

Fabien VALLON <Fabien_>
Project Member

 

Attached Files
file #1091:  gormtest.tgz added by gcasa (31KiB - application/x-gtar - My test program with the methods for save panel implemented...)
file #1090:  bugproof.png added by gcasa (192KiB - image/png - Shows the functionality working in my test app....)
file #1085:  SavePanel.tar.gz added by Fabien_ (12KiB - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 27 Feb 2004 05:49:20 AM UTCgcasaStatusNone=>Invalid
  Open/ClosedOpen=>Closed
  Attached File-=>Added gormtest.tgz, #1072
Fri 27 Feb 2004 05:41:22 AM UTCgcasaAttached File-=>Added bugproof.png, #1071
Fri 27 Feb 2004 04:12:26 AM UTCgcasaAssigned toNone=>gcasa
Tue 24 Feb 2004 04:43:58 PM UTCFabien_Attached File-=>Added SavePanel.tar.gz, #1066

Back to the top


Powered by Savane 3.1-cleanup1