Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#2151

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.

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

State: bluesky
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • 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.

    October 26th, 2018 @ 01:50 PM

  2. Mike Conley
    Mike Conley

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

    October 26th, 2018 @ 01:56 PM

  3. benny
    benny

    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).

    October 26th, 2018 @ 01:58 PM

  4. Mike Conley
    Mike Conley

    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?

    October 26th, 2018 @ 02:18 PM

  5. benny
    benny

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

    October 26th, 2018 @ 02:34 PM

  6. Mike Conley
    Mike Conley

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

    October 26th, 2018 @ 02:35 PM

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.