• 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: Eric Shepherd <email@hidden>
  • Date: Sun, 20 Apr 2014 22:41:23 -0400

Eric Shepherd
Gmail: email@hidden
Twitter: sheppy


On Sun, Apr 20, 2014 at 4:23 PM, Quincey Morris <
email@hidden> wrote:

> On Apr 20, 2014, at 12:54 , Eric Shepherd <email@hidden> wrote:
>
> Nope. :(
>
>
> The only *technical* suggestion I can add — beyond Ken’s excellent
> suggestions — is to move the OpenGL view down a level. That is, assuming
> it’s a subview of the window’s content view, make it a subview of a custom
> view that is a subview of the content view (with appropriate resizing
> behavior at both levels).
>

That's a good idea. I really thought it had a chance at working, but it
didn't make any difference.


>
> More generally, though, you might reconsider using a NSToolbar at all. I
> guess the geometry of NSToolbar has always been "neither fish nor fowl"
> (that is, sort of part of the window frame, yet sort of part of the window
> content), and its presence may be disturbing some assumption a NSOpenGLView
> makes about its own relationship with the window. There may be an inherent
> conflict there, at least in recent versions of OS X.
>

Yeah, I'm starting to wonder about this myself. I think if I'm not able to
puzzle this out by tomorrow sometime, I will start working on ripping out
the NSToolbar stuff and do something else instead, although to be honest
I'm really wanting the degree of consistency I can achieve by using
NSToolbar.

Lots of great suggestions, everyone... hopefully we'll hit on one that does
the trick!

I also tried playing with setContentBorderThickness:forEdge: on the bottom
border (along with turning off autorecalculate), but that didn't help
either. In fact, it just started throwing exceptions about invalid values
being passed to setAutoRecalculatesContentBorderThickness:forEdge.
_______________________________________________

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


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>)

  • Prev by Date: Re: canAsynchronouslyWriteToURL:ofType:forSaveOperation: Prevent Quit?
  • Next by Date: Re: Strange toolbar/view/resize cursor interaction
  • Previous by thread: Re: Strange toolbar/view/resize cursor interaction
  • Next by thread: Re: Strange toolbar/view/resize cursor interaction
  • Index(es):
    • Date
    • Thread