Re: Trouble with NSSplitView (resend)
Re: Trouble with NSSplitView (resend)
- Subject: Re: Trouble with NSSplitView (resend)
- From: Jan Van Tol <email@hidden>
- Date: Wed, 29 Jan 2003 20:05:01 -0600
I sent this hours ago and it never showed up. Let's hope this one gets
through.
Responding to my own message here...
I discovered that if I remove the NSTableView from the picture,
replacing it with an empty custom view, it all works fine. Does anyone
have any idea what's going on here, and how I can work around it?
Thanks,
-Jan Van Tol
On Tuesday, January 28, 2003, at 10:17 PM, Jan Van Tol wrote:
In my window, I've got a two splitViews, one large vertical splitter
that divides an ImageView and my second splitView. The second
splitView is horizontal, and it contains and NSTableView in one pane,
and an NSBox containing a custom view in the other.
Now, the problem is, whenever I try to drag my vertical splitter to
the right, which would increase the size of the other spitView, and
decrease the size of the imageView, I get this message: ***
-[NSSplitView copyWithZone:]: selector not recognized. I can drag it
to the left just fine, and if I keep the mouse button down I can drag
back to where it started. But if I drag the splitter past where it
started, it gives me the message. If I drag to the left, let go of
the mouse, then grab it again and drag to the right, it will fail
right away.
If I run in the debugger with a breakpoint on [NSException raise], I
get this:
#0 0x90844888 in -[NSException raise]
#1 0x90844810 in +[NSException raise:format:]
#2 0x907f0fd4 in -[NSObject(NSForwardInvocation) forward::]
#3 0x9068c130 in _objc_msgForward
#4 0x93163300 in -[NSTextFieldCell copyWithZone:]
#5 0x9330fd88 in -[NSTableHeaderView
_drawHeaderFillerInRect:matchLastState:]
#6 0x93310080 in -[NSTableHeaderView
_drawRect:liveResizeFill::::cacheCoveredArea:]
#7 0x9334cf38 in -[NSView _drawRect:liveResizeCacheCoveredArea:]
#8 0x9308038c in -[NSView _drawRect:clip:]
#9 0x930963e4 in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#10 0x9309656c in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#11 0x9309656c in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#12 0x9309656c in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#13 0x9309656c in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#14 0x93075bdc in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibl
eRectForView:topView:]
#15 0x93075fc4 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibl
eRectForView:topView:]
#16 0x93075fc4 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibl
eRectForView:topView:]
#17 0x930c7a80 in -[NSFrameView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibl
eRectForView:topView:]
#18 0x930b2470 in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibl
eRectForView:topView:]
#19 0x93095da4 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#20 0x930a5124 in -[NSView displayIfNeeded]
#21 0x930b4e64 in -[NSWindow displayIfNeeded]
#22 0x9309fd5c in _handleWindowNeedsDisplay
#23 0x90148584 in CFRunLoopRunInMode
#24 0x901488f4 in CFRunLoopRunInMode
#25 0x90180fe4 in CFRunLoopRunSpecific
#26 0x969a36a0 in GetEventClass
#27 0x969b3440 in GetKeyboardFocus
#28 0x969da584 in BlockUntilNextEventMatchingListInMode
#29 0x9308d8ac in _DPSNextEvent
#30 0x9309fb04 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#31 0x9334d014 in -[NSView
_getNextResizeEventInvalidatingLiveResizeCacheIfNecessary:]
#32 0x93304bc4 in -[NSSplitView _trackMouse:]
#33 0x930c0888 in -[NSWindow sendEvent:]
#34 0x930a8788 in -[NSApplication sendEvent:]
#35 0x930b1608 in -[NSApplication run]
#36 0x9315f6b8 in NSApplicationMain
#37 0x000039d8 in main at main.m:13
#38 0x0000375c in _start at crt.c:267
#39 0x000035dc in start
Anyone know what is going on here?
Many thanks in advance,
-Jan Van Tol
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.