[MlMt] Behavior upon clicking notification

Benny Kjær Nielsen mailinglist at freron.com
Fri Apr 28 07:21:38 EDT 2017


On 25 Apr 2017, at 16:39, John D. Muccigrosso wrote:

> Currently if you click on a notification about a new message, MM2 
> activates, switches to Inbox, and highlights that messages.
>
> I'd prefer it simply activate and open that message. I'm not normally 
> in Inbox (I use smart mailboxes a lot), and what I want to do is read 
> the message, not see it in a list.

I've added that MailMate opens the message in a single message window 
when the main window does not have an open message view, but it'll still 
switch to, e.g., the Inbox. Hopefully this is a bit better although not 
quite what you asked for.

> Bonus: allow for a "Delete" option right from the notification.

I've actually spent a lot of time trying to make this work like in Apple 
Mail, but I keep running into problems. The public API does not support 
it and the private API certainly does not make it easy. I can kind of 
make it work in 'banner' mode, but then it's very hard to dismiss 
notifications in 'alert' mode. I've given up for now.

Somewhat related, I expect the hidden preference 
`MmNotificationInlineReply` to let users do inline replies in 
notifications in the next release.

Also note, that the existing hidden preference 
`MmNotificationDeleteButtonEnabled` replaces the default Reply button 
with a Delete button. You might prefer that.

Finally, it's possible to let the action button be a menu of multiple 
actions. I might make a preference for that at some point (which would 
allow both delete and reply to be available, but it wouldn't be quite as 
convenient as a single-click button and it cannot work together with 
inline replies).

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20170428/8a328c14/attachment.html>


More information about the mailmate mailing list