URL:
<http://savannah.gnu.org/bugs/?24979>
Summary: NIB LOADING: NSScrollView document view is an
NSCustomView when scrollview contains a custom subclass
Project: GNUstep
Submitted by: gcasa
Submitted on: Tue 02 Dec 2008 01:24:39 AM EST
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: In Progress
Privacy: Public
Assigned to: gcasa
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Steps to recreate:
1) In InterfaceBuilder create a new Application
2) Add a CustomView
3) Set the customview to a custom subclass of NSView (it doesn't matter
which)
4) Go to the menu and wrap the view in a scrollview.
5) Create an application under GNUstep which uses the nib.
6) Set a breakpoint in NSScrollView initWithCoder:.
7) Inspect the subviews.
8) get the NSClipView
9) do "po" on the documentView of the clip view.
Expected: It should be an instance of your subclass.
Result: It is an NSCustomView.
This is incorrect. It should always be your custom subclass.
GC
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24979>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep