Re: NSCollectionView selection behavior is insanely bad

2017-04-26 Thread Steve Mills
On Apr 26, 2017, at 18:13, Greg Weston wrote: >> Instead of doing the right thing when shift-clicking (selecting a range from >> the anchor), it simply adds/removes the clicked item to/from the selection. >> That's unlike pretty much any Apple matrix-of-items selection behavior ever. > > You m

Re: NSCollectionView selection behavior is insanely bad

2017-04-26 Thread Greg Weston
> Instead of doing the right thing when shift-clicking (selecting a range from > the anchor), it simply adds/removes the clicked item to/from the selection. > That's unlike pretty much any Apple matrix-of-items selection behavior ever. You mean it selects like Finder icon views have since 1984?

NSCollectionView selection behavior is insanely bad

2017-04-26 Thread Steve Mills
Since IKImageBrowserView is deprecated and buggy in recent versions of macOS, I've been switching to NSCollectionView. Holy crap, does its selection behavior suck. Instead of doing the right thing when shift-clicking (selecting a range from the anchor), it simply adds/removes the clicked item to

Determining if an X,Y position will cause a Move or Resize?

2017-04-26 Thread Dave
Hi All, I have an X,Y that is in another Application’s Window, is there a way of determining if that the Mouse is Dragged at that position whether the Drag will be a Window Move or a Window Resize operation. Basically I just want to tell if the Mouse is in the Window Title Bar (move) or in th

Re: Detecting if current user owns the screen (screen lock/FUS)

2017-04-26 Thread Uli Kusterer
Lock screen still gives the name of the user behind the screen lock. Mühevoll auf meinem Telefon getippt. > On 21. Apr 2017, at 11:43, Stephane Sudre wrote: > > SystemConfiguration.framework? > > You can: > > - retrieve the current uid,gid, user name with SCDynamicStoreCopyConsoleUser > - be