Page 1 of 1

Making notifications stay on screen with Notification Center

PostPosted: Thu Oct 22, 2015 1:58 pm
by Tiny Clanger
When I set notifications to show via Growl, the Display Notification action has an Options button which allows me to choose whether or not the notification stays on screen until manually dismissed.

When I set notifications to display via Notification Center, the options button vanishes and I can't select this. Notifications all vanish automatically, usually before they're read.

I find having both Growl and Notification Center throwing notifications at once a bit annoying, and would rather put everything through Notification Center. I've definitely seen other apps display persistent notifications (though I wish OmniFocus was one of them!) so it must be possible — is there a reason Hazel doesn't support this?

(As an aside, with Hazel 3.3.5, if you change the notification type from Growl to Notification Center, all actions still show as "Display Growl Notification" with the Options button until the Hazel preference pane is closed. On reopening, the option correctly shows as a Notification Center notification once more :)

Re: Making notifications stay on screen with Notification Ce

PostPosted: Thu Oct 22, 2015 2:42 pm
by Mr_Noodle
As far as I know, apps don't control that with NC. NC itself determines how long to display a notification based on various factors.

And thanks for the report on the UI quirk. Will look into it.

Re: Making notifications stay on screen with Notification Ce

PostPosted: Sat Oct 24, 2015 5:27 am
by Tiny Clanger
Hm — I'm just learning Cocoa dev at the moment, but would setting hasActionButton to true not force the notification to stay until explicitly dismissed? The docs seem to imply that…

Re: Making notifications stay on screen with Notification Ce

PostPosted: Mon Oct 26, 2015 3:10 pm
by Mr_Noodle
Doesn't seem to work for me. Actually, I can't even get NC to show the notification most of the time. Have you tried it and seen otherwise?