Two-finger scroll slow and strange selecting problem
By rec...@yahoo.com on December 12, 2010 11:14 (imported from Google Code)
On occasion, fwo-finger and mouse wheel scrolling gets terribly slow (5-10 lines per second). However, this does not affected scrolling with the scroll bar slider. The affected tab also has a problem with text selections. If you scroll up and select something, you are immediately returned to the bottom of the scrollback buffer after releasing the mouse button.
What steps will reproduce the problem?
I did not find out yet and can't reproduce this on the spot.
What is the expected output? What do you see instead?
Quick scrolling and no jumping to bottom after selecting text in the scrollback buffer.
What version of the product are you using? On what operating system?
r397, 10.6.4
Please provide any additional information below.
Attached are the first lines of two samples (30s/1ms) while scrolling an affected tab and a "clean" tab. Q: What is _handleInvalidCursorRectsNote doing and how can I reset the tab?
Call graph (slow scrolling):
21808 Thread_10461624 DispatchQueue_1: com.apple.main-thread (serial)
21808 start
21808 NSApplicationMain
21808 -[NSApplication run]
21511 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
21503 _DPSNextEvent
21501 BlockUntilNextEventMatchingListInMode
21500 ReceiveNextEventCommon
21496 RunCurrentEventLoopInMode
21493 CFRunLoopRunSpecific
21485 __CFRunLoopRun
20587 __CFRunLoopDoObservers
20226 _handleInvalidCursorRectsNote
20132 -[NSView(NSInternal) _updateTrackingAreas]
20132 CFArrayApplyFunction
20132 -[NSView(NSInternal) _updateTrackingAreas]
20132 CFArrayApplyFunction
20132 -[NSView(NSInternal) _updateTrackingAreas]
20121 CFArrayApplyFunction
20121 -[NSView(NSInternal) _updateTrackingAreas]
20121 CFArrayApplyFunction
20121 -[NSView(NSInternal) _updateTrackingAreas]
20121 CFArrayApplyFunction
20121 -[NSView(NSInternal) _updateTrackingAreas]
20073 CFArrayApplyFunction
20073 -[NSView(NSInternal) _updateTrackingAreas]
20070 CFArrayApplyFunction
20068 -[NSView(NSInternal) _updateTrackingAreas]
19889 -[NSView(NSInternal) _updateTrackingLocation:]
19839 -[NSWindow _moveTrackingArea:toRect:]
19769 _NXChangeRectForTrackingArea
19767 CGSSetTrackingAreaRect
19738 CGSSetTrackingAreaShape
19730 _CGSSetTrackingAreaShapeInline
19727 mach_msg
19726 mach_msg_trap
1 mach_msg
Call graph (fast scrolling):
22901 Thread_10461624: Main Thread DispatchQueue_<multiple>
22901 start
22901 NSApplicationMain
22901 -[NSApplication run]
22603 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
22579 _DPSNextEvent
22569 BlockUntilNextEventMatchingListInMode
22569 ReceiveNextEventCommon
22563 RunCurrentEventLoopInMode
22558 CFRunLoopRunSpecific
22515 __CFRunLoopRun
18288 __CFRunLoopDoObservers
14907 __NSFirePerformWithOrder
14897 -[NSView displayIfNeeded]
14834 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
14643 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14641 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14548 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14425 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14361 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14263 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
14157 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
13754 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
13687 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
13640 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
13596 -[NSView _drawRect:clip:]
13565 -[PTYTextView drawRect:]
13303 -[PTYTextView(Private) _drawLine:AtY:]
9916 CGContextFillRect
9912 CGContextFillRects
9909 ripc_DrawRects
9849 ripc_Render
9653 ripl_BltShape
8694 ripd_Lock
8686 CGSDeviceLock
8676 _CGSLockWindow
8632 _CGSSynchronizeWindowBackingStore
8631 mach_msg
8631 mach_msg_trap
1 _CGSSynchronizeWindowBackingStore