Re: Responsive scrolling control with lots of subviews

2015-03-04 Thread Corbin Dunn
On Mar 2, 2015, at 10:26 AM, Ben ben_cocoa_dev_l...@yahoo.co.uk wrote: On 2 Mar 2015, at 17:42, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Mar 2, 2015, at 02:44 , Ben ben_cocoa_dev_l...@yahoo.co.uk mailto:ben_cocoa_dev_l...@yahoo.co.uk wrote: Since NSCell is

Setup an icon for a screensaver

2015-03-04 Thread Juanjo Conti
Hi there! I have setup an icon for a Cocoa App (following this SO question http://stackoverflow.com/questions/11660736/xcode-4-4-removed-icon-composer-in-developer-tools) and I tried to do the same for a screensaver plugin. I had not luck. Do you know if there are any special steps needed to

Re: titlebar accessory? window:willPositionSheet:usingRect: not called in full-screen mode

2015-03-04 Thread Lee Ann Rucker
On Mar 4, 2015, at 8:13 AM, Corbin Dunn corb...@apple.com wrote: On Feb 27, 2015, at 2:26 PM, Lee Ann Rucker lruc...@vmware.com wrote: On Feb 27, 2015, at 9:24 AM, Corbin Dunn corb...@apple.com wrote: On Feb 25, 2015, at 9:40 AM, Lee Ann Rucker lruc...@vmware.com wrote: Great,

Re: titlebar accessory? window:willPositionSheet:usingRect: not called in full-screen mode

2015-03-04 Thread Corbin Dunn
On Feb 27, 2015, at 2:26 PM, Lee Ann Rucker lruc...@vmware.com wrote: On Feb 27, 2015, at 9:24 AM, Corbin Dunn corb...@apple.com wrote: On Feb 25, 2015, at 9:40 AM, Lee Ann Rucker lruc...@vmware.com wrote: Great, because that's exactly what I'm using it for The toolbar case or

Re: Setup an icon for a screensaver

2015-03-04 Thread Stephane Sudre
What do you consider to be the icon for the screensaver? The icon that is shown in the Finder for the .saver file or the the thumbnail preview you see in the Desktop Screen Saver Pref pane? Unless I'm mistaken, for the first one: it would require to add a custom icon either via the Finder Info

NSScrollview general question

2015-03-04 Thread Graham Cox
Just a general question I'm putting out there... Now that NSScrollView always hides its scrollbars even when -setAutohidesScrollers: is NO if you have a trackpad, how does a user grab the thumb to drag it using a mouse? You can't see the thumb unless the bar is visible, and if it's not

Re: NSScrollview general question

2015-03-04 Thread Steve Mills
On Mar 4, 2015, at 20:55, Graham Cox graham@bigpond.com wrote: Just a general question I'm putting out there... Now that NSScrollView always hides its scrollbars even when -setAutohidesScrollers: is NO if you have a trackpad, how does a user grab the thumb to drag it using a mouse?

Re: NSScrollview general question

2015-03-04 Thread Kyle Sluder
On Wed, Mar 4, 2015, at 08:55 PM, Graham Cox wrote: You can't see the thumb unless the bar is visible, and if it's not visible you can't click it. To make it visible you have to scroll which shows the bars, but only for a short time ( 0.5 second). This means that your only option is to use a

Re: NSScrollview general question

2015-03-04 Thread Graham Cox
On 5 Mar 2015, at 2:28 pm, Graham Cox graham@bigpond.com wrote: Certainly, setting it to always does address the issue A further thought on this - which relates to NSScrollview specifically. There should be a way to override the system preference programmatically for specific views.

Re: NSScrollview general question

2015-03-04 Thread Graham Cox
On 5 Mar 2015, at 2:04 pm, Kyle Sluder k...@ksluder.com wrote: By default, if you have a mouse plugged in, the scroll bars are visible. That setting can be toggled in System Preferences General Show Scroll Bars… H... Well, I have that set to automatic. In that case, it

Re: NSScrollview general question

2015-03-04 Thread Kyle Sluder
On Wed, Mar 4, 2015, at 09:33 PM, Graham Cox wrote: I was looking for a way originally to set just the one scroller to not hide its scrollers by setting -setAutohidesScrollers:NO but found that was being ignored when my trackpad was switched on. If I set that setting, I expect to mean it. Or

NSMenuWillSendActionNotification doesn't deliver menu item like the docs say it does

2015-03-04 Thread Steve Mills
I'm currently overriding menuHasKeyEquivalent:forEvent:target:action:. When I do, the notification for NSMenuWillSendActionNotification doesn't contain the menu item like the docs say it should, and I need the item in this case because I need its representedObject. I assume this is because

Re: NSScrollview general question

2015-03-04 Thread dangerwillrobinsondanger
Did you also try either of the setHas... Methods? Those should make the scroller for the orientation appear based on YES or NO argument. There's a system preference to ignore trackpad when mouse is plugged in. (Or used to be IIRC) Sent from my iPhone On 2015/03/05, at 12:33, Graham Cox

Re: NSScrollview general question

2015-03-04 Thread Graham Cox
On 5 Mar 2015, at 2:59 pm, Kyle Sluder k...@ksluder.com wrote: Subclass NSScroller and override +isCompatibleWithOverlayScrollers to return NO. Then assign an instance of this subclass via -setHorizontalScroller:. OK, somewhat long-winded, but I'll give it a go. However, I can see

Re: NSScrollview general question

2015-03-04 Thread Alex Kac
I’ve personally set it to Always for now - I just got tired of having to first do a quick two finger scroll on my MBPr to get to the thumb to drag it and half the time having it fade out before I got to it. I lived with scrollers on my screen since the 1980s - I think I will live with it :)

Re: NSScrollview general question

2015-03-04 Thread Quincey Morris
On Mar 4, 2015, at 18:55 , Graham Cox graham@bigpond.com wrote: You can't see the thumb unless the bar is visible, and if it's not visible you can't click it. To make it visible you have to scroll which shows the bars, but only for a short time ( 0.5 second). This means that your only

Re: NSScrollview general question

2015-03-04 Thread dangerwillrobinsondanger
There is a WWDC video that covers it in detail. There's not a way to get nontransient overlay scrollers. The thoughtful thing is that the NSScrollView api provides methods that give you the right sizes to work with independent of what the user's preference is. The overlay rationale was one