• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: More Mighty Mouse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Mighty Mouse


  • Subject: Re: More Mighty Mouse
  • From: Matthew Tonkin <email@hidden>
  • Date: Mon, 9 Oct 2006 10:07:29 +1000

Hi,

I also encountered this problem, but couldn't find a solution on any of the newsgroups.
I have finally found a solution (through many hours of trial and error), so I thought it would be best to post incase someone has it again.


This issue was resolved for me by deleting (and then recreating) the scroll view (and any other relevant parts) in IB.
I cannot find any inconsistencies between the broken and fixed versions, so it appears to have resulted from a corruption in the NIB.


So the following worked for me:
1. Delete
2. Recreate
3. Reconnect

Regards,

Matt


On 07/12/2005, at 12:32 PM, Denise Eatherly wrote:

Hi,

I'm still stuck on this Mighty Mouse scrolling problem.

Turns out the NSScrollView is getting the scrollWheel message, but on Tiger, it never sends the scrollToPoint: message to its clipView. Here is the sequence with the other mouse scrolling nicely:

[NSClipView scrollToPoint:]
[NSScrollView scrollClipView:toPoint:]
[NSClipView _scrollTo:animate:]
[NSScrollView _doScroller:hitPart:multiplier:]
[NSScrollView scrollWheel:]

Here is the sequence with my sample program ( which works) using MM:
[NSClipView scrollToPoint:]
[NSScrollView scrollClipView:toPoint:]
[NSClipView _scrollTo:animate:]
[NSScrollView _doScroller:hitPart:multiplier:]
[NSApplication sendAction:to:from:]
[NSControl sendAction:to:]
[NSScroller sendAction:to:]
[NSScroller _scrollByDelta:]
[NSScrollView scrollWheel:]

In my app, I set breakpoints on _scrollByDelta and [ NSScroller sendAction:to: ], It executes _scrollByDelta, but never seems to invoke any of the methods beyond that - just returns to [ NSScrollView scrollWheel ];

Does anyone have a clue what it might be looking for in order to proceed???

Thanks,
Denise


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: encoding a NSDecimalNumber as IEEE-754 on an intel mac
  • Next by Date: Re: Problems instantiating an URL
  • Previous by thread: Re: encoding a NSDecimalNumber as IEEE-754 on an intel mac
  • Next by thread: Re: NSOutlineView variable width cell
  • Index(es):
    • Date
    • Thread