• 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: Strange toolbar/view/resize cursor interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange toolbar/view/resize cursor interaction


  • Subject: Re: Strange toolbar/view/resize cursor interaction
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 22 Apr 2014 15:53:26 -0700
  • Sun-java-system-smtp-warning: Lines longer than SMTP allows found and truncated.

On Apr 22, 2014, at 15:36 , Eric Shepherd <email@hidden> wrote:

> When the cursor is at the top edge of my window, the Y value is off by 10 pixels.
>
> When the cursor is at the bottom edge of my window, the Y value is off by 40 pixels.


As I suggested previously, this could indicate that your view bounds have been inadvertently scaled.

The next thing you must do is log more environmental information. I suggest:

— the view’s visibleRect
— the view’s bounds
— the view’s frame
— the window content view’s bounds
— the window content view’s frame
— the window’s frame
— when the cursor is at the top edge of your view, event.locationInWindow in window coordinates
— when the cursor is at the top edge of your view, your ‘where’ variable (that is, event.locationInWindow converted to bounds coordinates)
— when the cursor is at the bottom edge of your view, event.locationInWindow in window coordinates
— when the cursor is at the bottom edge of your view, ‘where’ (bounds coordinates)


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Strange toolbar/view/resize cursor interaction
      • From: Eric Shepherd <email@hidden>
References: 
 >Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Graham Cox <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)

  • Prev by Date: Re: Memory Leaks and ARC
  • Next by Date: Re: Memory Leaks and ARC
  • Previous by thread: Re: Strange toolbar/view/resize cursor interaction
  • Next by thread: Re: Strange toolbar/view/resize cursor interaction
  • Index(es):
    • Date
    • Thread