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

 
 

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

bug #14804: Problem using NSRulerView from unarchived Gorm file

Submitted by:  Sašo Kiselkov <diablos>
Submitted on:  Mon 17 Oct 2005 07:07:32 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Works For Me
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

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>
Project AdministratorIn charge of this item.
Wed 05 Dec 2007 01:58:09 AM UTC, comment #1:

Is this bug still occurring for you?

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Jan 2008 11:37:54 PM UTCgcasaStatusIn Progress=>Works For Me
      Open/ClosedOpen=>Closed
    Fri 04 Jan 2008 06:28:46 PM UTCgcasaStatusNone=>In Progress
    Sun 26 Feb 2006 05:48:56 AM UTCgcasaAssigned toNone=>gcasa

    Back to the top


    Powered by Savane 3.1-cleanup1