bugGNUstep - Bugs: bug #14804, Problem using NSRulerView from...

Group
 
 

bug #14804: Problem using NSRulerView from unarchived Gorm file

Submitter:  Sašo Kiselkov <diablos>
Submitted:  Mon 17 Oct 2005 07:07:32 AM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Works For Me
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 Jan 2008 06:28:46 PM UTC, comment #2: 

I have added ruler switches into the inspector in Gorm.

I can't seem to recreate this issue.

GJC

Gregory John Casamento <gcasa>
Group administrator
Wed 05 Dec 2007 01:58:09 AM UTC, comment #1: 

Is this bug still occurring for you?

Gregory John Casamento <gcasa>
Group administrator
Mon 17 Oct 2005 07:07:32 AM UTC, original submission:  

The problem is the follows: when I create a gorm file with a text view in it, save it and later unarchive it a bug behind the scenes becomes visible: the enclosing scroll view somehow "looses" it's horizontal ruler. A discrepancy between the _haveHorizRuler and _horizRuler ivars is created (in more detail: _haveHorizRuler = YES, but _horizRuler = nil). So when the gorm file is unarchived and one does -setHasHorizontalRuler:YES in, for example, -awakeFromNib, the app crashes when trying to add a `nil' subview.

When searching for the bug's reason I found out that when the 'TextView' control is dragged from the palette in Gorm, the horizontal ruler does exist, but when the gorm file is saved, it suddenly does not anymore (but _haveHorizRuler = YES). I tried to monitor all manipulations of the _haveHorizRuler and _horizRuler ivars, but I was not able to find where the change occurs. I do not know yet where it happens (perhaps I just didn't look hard enough...), but I'll keep on trying to locate it and then I'll post a bugfix. This bugreport is so that you know what I know so far...

Sašo Kiselkov <diablos>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-04 gcasa StatusIn Progress Works For Me
        Open/ClosedOpen Closed
    2008-01-04 gcasa StatusNone In Progress
    2006-02-26 gcasa Assigned toNone gcasa

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code