bugGNUstep - Bugs: bug #10849, Controls dissapearing from...

Group
 
 

bug #10849: Controls dissapearing from NSTabView during editing...

Submitter:  None
Submitted:  Sun 31 Oct 2004 09:17:38 AM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

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

Gregory John Casamento <gcasa>
Group administrator
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

Gregory John Casamento <gcasa>
Group administrator
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

Gregory John Casamento <gcasa>
Group administrator
Sun 31 Oct 2004 05:18:50 PM UTC, comment #3: 

I've made multiple attempts to recreate this with the latest CVS of both GNUstep (base/gui/back) and Gorm without success.

GJC

Gregory John Casamento <gcasa>
Group administrator
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

Gregory John Casamento <gcasa>
Group administrator
Sun 31 Oct 2004 12:56:26 PM UTC, comment #1: 

I disagree with the use of "constantly" in this bug's summary as this has to do never happened to me.   Also, there is insufficient detail for me to even guess as to the cause since the submitter doesn't provide a description of what they were doing.

I will test as many scenarios as I can to try to recreate this issue.  I have downloaded the attached .gorm file and I am able to modify it with no issues whatsoever.

GJC

Gregory John Casamento <gcasa>
Group administrator
Sun 31 Oct 2004 09:17:38 AM UTC, original submission:  

Controls are constantly dissapearing when I add new ones and form connections (see attached file).  I've gone through several iterations of putting new controls back onto the panel and watching them dissapear.  Note that connections still appear to be valid, only the controls themselves dissapear.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #2023:  GormViewEditor.m.patch added by gcasa (1001B - application/octet-stream - Patch to correct the issue described in this bug.)
file #1952:  GSPrintPanel2.gorm.tgz added by gcasa (14KiB - application/x-gtar - Heavily modified version of the .gorm which was originally uploaded.)
file #1951:  GSPrintPanel.gorm.tar.gz added by None (12KiB - application/x-gzip - Tar.gz of new GSPrintPanel.gorm)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

Only logged-in users can vote.

 

Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-17 gcasa StatusWorks For Me Fixed
    SummaryControls constantly dissapear from Panels Controls dissapearing from NSTabView during editing...
    Attached File- Added GormViewEditor.m.patch, #1885
2004-11-01 gcasa StatusNone Works For Me
    Open/ClosedOpen Closed
2004-10-31 gcasa Attached File- Added GSPrintPanel2.gorm.tgz, #1824
2004-10-31 gcasa Assigned toNone gcasa
2004-10-31 None Attached File- Added GSPrintPanel.gorm.tar.gz, #1823

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code