[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #14804] Problem using NSRulerView from unarchived Gorm file
From: |
Sašo Kiselkov |
Subject: |
[bug #14804] Problem using NSRulerView from unarchived Gorm file |
Date: |
Mon, 17 Oct 2005 07:07:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050911 Firefox/1.0.6 (Debian package 1.0.6-5) |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14804>
Summary: Problem using NSRulerView from unarchived Gorm file
Project: GNUstep
Submitted by: diablos
Submitted on: Mon 10/17/05 at 07:07
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
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...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14804>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #14804] Problem using NSRulerView from unarchived Gorm file,
Sašo Kiselkov <=