#2151 ✓bluesky
Mike Conley

Clicking Delete in a Notification should not bring MailMate to the foreground

Reported by Mike Conley | October 26th, 2018 @ 01:29 PM

I currently have the hidden preference MmNotificationDeleteButtonEnabled set to YES, so that when I receive notifications of incoming mail I can delete them immediately (this happens more often than I'd like; I need to write some rules...).

When I do this, however, MailMate comes to the foreground, which rather obviates the point of the Delete button. I want to delete the message and go back to what I was doing, not have to deal with putting MailMate away. The app should remain in its current state -- hidden, if that's where I had it. The Delete behaviour is probably different to what other options (e.g., the Reply option) would require, which is, I imagine, why this happens.

Comments and changes to this ticket

  • benny

    benny October 26th, 2018 @ 01:50 PM

    • State changed from “new” to “bluesky”

    I'm afraid MailMate is not taking it to front. It must be the system that does this.

    I'm not saying it'll never be fixed, but if it is then it'll be part of using an improved Apple API for handling this type of notification.

  • Mike Conley

    Mike Conley October 26th, 2018 @ 01:56 PM

    That's strange. I don't recall Mail.app ever doing that. They could be doing something special, but....

  • benny

    benny October 26th, 2018 @ 01:58 PM

    They are doing something special (at least when I implemented the feature). They have access to some private API I believe. My solution is kind of a hack (again, if I remember correctly).

  • Mike Conley

    Mike Conley October 26th, 2018 @ 02:18 PM

    You're right. I just tested this against AirMail, and the same thing happens. Boo, hiss.

    Maybe report it as a feature request to Apple?

  • benny

    benny October 26th, 2018 @ 02:34 PM

    I did so in May 2017: rdar://32072797 (the link only works for Apple employees)

  • Mike Conley

    Mike Conley October 26th, 2018 @ 02:35 PM

    Well, I have a developer account, too, so I'll file one myself. The more the merrier.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket