Wed 17 Nov 2004 06:00:10 AM UTC, comment #6:
I moved this one back to open since I was finally able to reproduce it. I also changed the Summary a little to be more descriptive of the issue.
The fix was relatively simple. I have attached a patch for people using Gorm 0.8.0 who need to correct this issue. It is an intermittent problem caused by a bug in the GormViewEditor code.
Thanks for your patience on this, all. Please let me know, once the fix is committed, if any of you see the problem again. Apologies to the submitter for not being able to locate the problem more quickly, but this was an elusive one.
Thanks, GJC
|
Mon 01 Nov 2004 02:17:29 AM UTC, comment #5:
Spoke with the submitter. This was the only file this was occurring with. This file was converted from an old version (this was prior to the most recent change, this doesn't effect version 0.9.3 -> 0.9.4 files). Previously .gorm files weren't in wrappers, but were separate files in the same directory. You would have the someapp.gorm file, not dir and a someapp.classes file.
It appears as though the conversion of the GSPrintPanel.gorm file was done incorrectly. I am closing this as:
1) I was unable to reproduce it either with the file he sent or with my own files.
2) Unable to reproduce it on SPARC
3) My conversation with him indicates that it was a badly converted file.
I will reopen this, if necessary, but I don't see an issue.
GJC
GJC
|
Sun 31 Oct 2004 09:14:56 PM UTC, comment #4:
{
FirstResponder = {
Actions = (
"activateContextHelpMode:",
"alignCenter:",
.
. <snip>
.
);
Super = NSObject;
};
GSNPageView = {
Actions = (
);
Outlets = (
);
Super = NSView;
};
GSPrintPanelController = {
Actions = (
"printButtonPushed:",
"cancelButtonPushed:",
"previewButtonPushed:",
"saveButtonPushed:",
"pagesRadioMatrixSelected:",
"collateCheckboxPushed:",
"pagesPerSheetPopupSelected:"
);
Outlets = (
applicationImageButton,
pagesRadioMatrix,
pageFromField,
pageToField,
printReverseCheckbox,
numCopiesField,
collateCheckbox,
collateImageButton,
pagesPerSheetPopup,
nPageView,
paperSourcePopup,
paperTypePopup,
resolutionPopup,
colorBWRadioMatrix,
advancedTableView,
printersPopup,
noteField,
statusField
);
Super = NSObject;
};
NSApplication = {
Outlets = (
delegate
);
Super = NSResponder;
};
NSButton = {
Super = NSControl;
};
NSControl = {
Actions = (
"takeDoubleValueFrom:",
"takeFloatValueFrom:",
"takeIntValueFrom:",
"takeObjectValueFrom:",
"takeStringValueFrom:"
);
Outlets = (
target
);
Super = NSView;
};
NSMenu = {
Super = NSObject;
};
NSMenuItem = {
Outlets = (
target
);
Super = NSObject;
};
NSPanel = {
Outlets = (
);
Super = NSWindow;
};
NSPrintPanel = {
Actions = (
"_pickedButton:",
"_pickedPage:",
"_pickedPrintOp:"
);
Outlets = (
_optionPanel,
_panel
);
Super = NSPanel;
};
NSResponder = {
Super = NSObject;
};
NSSlider = {
Super = NSControl;
};
NSTextField = {
Outlets = (
delegate
);
Super = NSControl;
};
NSView = {
Super = NSResponder;
};
NSWindow = {
Actions = (
"orderFront:",
"orderOut:"
);
Outlets = (
delegate
);
Super = NSResponder;
};
}
The data.classes file appears to have been changed to contain some methods. These classes (NSWindow, NSView) should not be here. This is part of what is causing the issue.
This is either an issue with these being added by hand or an issue with a bad conversion from the very old .gorm format (when .gorms where files and not dir packages). I must stress that NO changes should ever be made by hand to any of the files in the .gorm file package. If you do make these changes it's your responsibility to make certain what you're doing is correct and wont cause an issue when editing the file with Gorm.
GJC
|
Sun 31 Oct 2004 01:18:36 PM UTC, comment #2:
I have taken the attached .gorm file and added a number of controls to it along with many connections as GSPrintPanel2.gorm. I tried various things such as saving and reloading the .gorm a couple of times and saving shutting down and then reloading.
At no time did gorm crash, or cause the controls to disappear from the window. Please provide more detail about this problem as, if it is occurring I would like to fix it ASAP.
Thanks, GJC
|