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.

Mark Folder Read

#315

Many IMAP clients include a context menu item and/or menu command to mark all messages in a selected folder as read in one action, without having to select individual messages. For example:

  • Apple Mail – Mark All Messages as Read
  • Thunderbird/Postbox – Mark Folder Read
  • Outlook – Mark All as Read

I really miss this in MailMate.

Reported by infotexture · January 8th, 2013 @ 06:28 PM

State: accepted
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to accepted

    Personally I would just ⌘A and then ⌥⌘U (maybe twice).

    I think this would also work as a custom key binding (untested):

    "A" = ( "selectAll:", "setTag:", "\\Seen" );
    

    But I guess for the most often used case of 'mark all as read' I could hardcode a menu item to do it. Until then consider the above the recommended workarounds.

    January 9th, 2013 @ 10:40 AM

  2. Andrew Selder
  3. benny
    benny

    Note that there are now special key bindings available for this (but still no hardcoded menu item). Read about custom key bindings here and see the list of mailbox related key bindings here.

    A key binding for marking all as read could be done like this (bound to uppercase A):

    "A" = ( "mailboxSetTag:", "setTag:", "\\Seen" );
    

    I'll keep the ticket open for the addition of a hardcoded menu item, but I haven't really decided whether or not I want to add it. On a related note, I cannot seem to locate such a menu item in Apple Mail (and its shortcut)?

    August 7th, 2013 @ 07:39 AM

  4. infotexture
    infotexture

    I added the new keybinding to my custom plist, but it doesn't seem to work when selecting a mailbox in the sidebar. Tried tabbing to place focus on the message list, still no luck. (I changed the key to "R" since I already use "a" to Archive. My Custom Key Bindings hierarchy is Postbox, Mine).

    I cannot seem to locate such a menu item in Apple Mail (and its shortcut)?

    You'll find it in the context menu when you select a folder in the sidebar.

    August 7th, 2013 @ 11:18 AM

  5. Steve Mayer
    Steve Mayer

    I also am unable to make use of this keybinding. I'm using build 3598, and I've tried it as shown above as well as ("mailboxSetTag:", "\Seen"); Neither assignment produces results.

    Thanks

    August 7th, 2013 @ 02:45 PM

  6. benny
    benny

    Sorry about the typo, the correct syntax is:

    "A" = ( "mailboxSetTag:", "\\Seen" );
    

    @steve: Try again and make sure the key bindings are reloaded. This currently only happens if you relaunch MailMate or disable/enable key bindings in the General preferences pane. Also note that my example uses a capital A. It's ⇧A and not just the A key.

    @infotexture: Ah, it's a dynamic menu item. It wasn't there because I had no unread messages.

    August 8th, 2013 @ 12:45 PM

  7. Steve Mayer
    Steve Mayer

    Okay, I had two issues:

    1. The key combo I was using conflicted with something else.

    2. As this is a mailbox operation, I was clicking on the mailbox folder in the left hand pane and pressing the key combo. Nothing happens. If I click into the message list and execute the key combo, now the entire folder is marked as Seen. This part is unintuitive. The mailbox action should occur from the mailbox focus, not the message list focus. Just my personal opinion of course.

    Thanks!

    August 8th, 2013 @ 03:33 PM

  8. benny
    benny

    @steve: 2. Yes, this is a bug. I've fixed it (and it works no matter which view is in focus).

    August 10th, 2013 @ 03:07 PM

  9. Steve Mayer
    Steve Mayer

    Verified that item 2. has been resolved with build 3603.

    Thanks for the quick response Benny!

    August 11th, 2013 @ 02:42 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.