bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #10849] Controls dissapearing from NSTabView during editing...


From: Gregory John Casamento
Subject: [bugs #10849] Controls dissapearing from NSTabView during editing...
Date: Wed, 17 Nov 2004 01:20:36 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040921

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

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

Changes by: 
                Gregory John Casamento <greg_casamento@yahoo.com>
'Date: 
                Wed 11/17/2004 at 06:00 (US/Eastern)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | Unreproducible            | Fixed
             Summary | Controls constantly dissapear from Panels | Controls 
dissapearing from NSTabView during editing...


------------------ Additional Follow-up Comments ----------------------------
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






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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10849>
Project: GNUstep
Submitted by: 0
On: Sun 10/31/2004 at 09:17

Category:  Gorm
Severity:  5 - Average
Item Group:  Bug
Resolution:  Fixed
Privacy:  Public
Assigned to:  gcasa
Status:  Closed


Summary:  Controls dissapearing from NSTabView during editing...

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.

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


-------------------------------------------------------
Date: Wed 11/17/2004 at 06:00       By: Gregory John Casamento <gcasa>
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

-------------------------------------------------------
Date: Mon 11/01/2004 at 02:17       By: Gregory John Casamento <gcasa>
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

-------------------------------------------------------
Date: Sun 10/31/2004 at 21:14       By: Gregory John Casamento <gcasa>
{
    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

-------------------------------------------------------
Date: Sun 10/31/2004 at 17:18       By: Gregory John Casamento <gcasa>
I've made multiple attempts to recreate this with the latest CVS of both 
GNUstep (base/gui/back) and Gorm without success.

GJC


-------------------------------------------------------
Date: Sun 10/31/2004 at 13:18       By: Gregory John Casamento <gcasa>
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

-------------------------------------------------------
Date: Sun 10/31/2004 at 12:56       By: Gregory John Casamento <gcasa>
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






File Attachments
-------------------

-------------------------------------------------------
Date: Wed 11/17/2004 at 06:00  Name: GormViewEditor.m.patch  Size: 1001B   By: 
gcasa
Patch to correct the issue described in this bug.
http://savannah.gnu.org/bugs/download.php?item_id=10849&amp;item_file_id=1885

-------------------------------------------------------
Date: Sun 10/31/2004 at 13:18  Name: GSPrintPanel2.gorm.tgz  Size: 14.04KB   
By: gcasa
Heavily modified version of the .gorm which was originally uploaded.
http://savannah.gnu.org/bugs/download.php?item_id=10849&amp;item_file_id=1824

-------------------------------------------------------
Date: Sun 10/31/2004 at 09:17  Name: GSPrintPanel.gorm.tar.gz  Size: 12.43KB   
By: None
Tar.gz of new GSPrintPanel.gorm
http://savannah.gnu.org/bugs/download.php?item_id=10849&amp;item_file_id=1823






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

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







reply via email to

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