#2177 ✓cantreproduce
Bjoern A. Zeeb

Moving mail triggers automatic marking others as read in Smart Mailbox

Reported by Bjoern A. Zeeb | November 16th, 2018 @ 11:28 AM

Hi,

as of recently (guess as of the last 2-4 weeks) I had this problem a few times on the 2.0BETA; ignored it the first time, now happened two more times:

I have a smart mailbox with all unread email of a certain account containing multiple folders. Sort order is newest on top.
If I move the newest (possible other, not tried) email to a different folder, there seems to be a "race" as MailMate starts to mark all following emails in the smart mailbox as read (and they are also immediately removed from the view, so no chance to undo in any semi-automatic way or manually apart from going into each mailbox, and manually restoring the "Read" state; which with mailing lists and lots of mailboxes is impossible really).
I can stop this by clicking anywhere in the remaining mails in the smart mailbox view.

Let me know if you need more information; I am very hesitant to trigger this again as I keep losing "unread/unanswered email state" but am willing to to help solve this.

Comments and changes to this ticket

  • benny

    benny November 16th, 2018 @ 12:16 PM

    That certainly does not sound good.

    I assume you have some kind of “mark automatically as read” setting in the Viewer preferences pane?

    What fails would then somehow be related to the “stickiness” of messages in the Unread mailbox, that is, messages staying in the mailbox even though they are read. I can imagine how this could go wrong in some cases... If it's not sticky then it's removed from the mailbox and a new message is selected, triggering it to also be removed, etc.

    You could create a mailbox based on the problematic mailbox, but which only contains emails from, e.g., today. That would make testing less risky.

    (There's a new beta available today, but I don't think it's better. If anything, it's probably worse since it makes such a mailbox a bit less sticky.)

  • benny

    benny November 18th, 2018 @ 10:55 AM

    • State changed from “new” to “fixcommitted”

    I believe this is fixed in the latest test release. I've introduced that MailMate does not automatically move to the next message if the move would have been triggered by automatically marking an email as read.

  • benny

    benny November 23rd, 2018 @ 12:29 AM

    • State changed from “fixcommitted” to “fixreleased”
  • Bjoern A. Zeeb

    Bjoern A. Zeeb November 23rd, 2018 @ 11:47 AM

    I've updated yesterday to r6131 and while the problem improved it still triggers the "read" status on the following message, i.e. (left side initial state; right side sequence of events):

    top message, unread; move to other mailbox and vanishes from unread smart folder, OK
    2nd message, unread; gets marked read and vanishes from unread smart folder NOT GOOD
    3rd message, unread; now top message, marked, still marked unread

    This is way better than it used to be. A possible question I have is: based on the changes you made the weeks before this was reported, do you have an idea how the initial change of behaviour came into the code?

    Might this depend on some of my settings? I saw the mention in the changelog.

    I am a lot more happy to test things now. Let me know if you need anything.

  • benny

    benny November 23rd, 2018 @ 11:54 AM

    • State changed from “fixreleased” to “cantreproduce”

    That does sound like it didn't fix the issue for you, but my fail-catch also worked (which is why it stopped the third message). What are the following settings (paste these lines in a Terminal window):

        defaults read com.freron.MailMate MmStickyMessagesEnabled
        defaults read com.freron.MailMate MmMessagesWebViewMarksUnreadAutomatically
        defaults read com.freron.MailMate MmMessagesWebViewSecondsToMarkUnread
        defaults read com.freron.MailMate MmMessagesWebViewMarksUnreadOnlyIfSingleMessage
    
  • Bjoern A. Zeeb

    Bjoern A. Zeeb November 23rd, 2018 @ 12:06 PM

    Neither seem to exist:

    [176:~] bz% defaults read com.freron.MailMate MmStickyMessagesEnabled 2018-11-23 12:02:25.969 defaults[35886:11112613]
    The domain/default pair of (/Users/bz/Library/Preferences/com.freron.MailMate, MmStickyMessagesEnabled) does not exist
    [176:~] bz% defaults read com.freron.MailMate MmMessagesWebViewMarksUnreadAutomatically 2018-11-23 12:02:33.487 defaults[35888:11112744]
    The domain/default pair of (/Users/bz/Library/Preferences/com.freron.MailMate, MmMessagesWebViewMarksUnreadAutomatically) does not exist
    [176:~] bz% defaults read com.freron.MailMate MmMessagesWebViewSecondsToMarkUnread 2018-11-23 12:02:44.057 defaults[35889:11112827]
    The domain/default pair of (/Users/bz/Library/Preferences/com.freron.MailMate, MmMessagesWebViewSecondsToMarkUnread) does not exist
    [176:~] bz% defaults read com.freron.MailMate MmMessagesWebViewMarksUnreadOnlyIfSingleMessage 2018-11-23 12:02:50.284 defaults[35890:11112880]
    The domain/default pair of (/Users/bz/Library/Preferences/com.freron.MailMate, MmMessagesWebViewMarksUnreadOnlyIfSingleMessage) does not exist

  • benny

    benny November 23rd, 2018 @ 12:15 PM

    Ok, you have default settings (sticky mailbox and messages marked read immediately after being selected), but I still cannot reproduce it. What is your “View ▸ Layout” and could you send me the following file and let me know which mailbox you are using when this happens:

    ~/Library/Application Support/MailMate/Mailboxes.plist
    
  • Bjoern A. Zeeb
  • benny

    benny November 23rd, 2018 @ 12:26 PM

    That's fine or use “Help ▸ Send Feedback”. Everything ends up on my computer :)

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

Pages