~sircmpwn/aerc2#195: 
Marking emails as read/unread doesn't update message status

Using :unread in the message list, for example, does indeed mark the message as unread, but the view doesn't update to show the message in bold.

Status
RESOLVED FIXED
Submitter
~theothermatt
Assigned to
No-one
Submitted
1 year, 3 months ago
Updated
8 months ago
Labels
No labels applied.

~theothermatt 1 year, 3 months ago

Ok, turns out this does work on one of my accounts. However, the behavior described is present on my work account, which is a Microsoft Exchange account.

So, possibly some weird thing Exchange does?

~quite 1 year, 3 months ago

I see something like this too. Doing :unread or :read actually does that, but the msglist view does not update. Restarting aerc gives the correct view.

Marking read by actually viewing the mail does cause the msglist to update correctly.

~pimaker 1 year, 16 days ago

I can confirm this bug still exists. Same behaviour as already mentioned, server is OpenExchange.

Looking into commands/msg/read.go, I see:

aerc.PushStatus("Messages updated.", 10*time.Second)

in the store.Read success path, which means that message should be printed, no? Because that doesn't happen for me, maybe indicating that the server never replies to the read/unread request? I don't have a non-exchange server to test with atm, so sorry if that's wrong.

~larkey 8 months ago

I experience the same behavior, although I'm unsure about it being exchange in my case.

Furthermore, when I open an unread message the message view is immediately updated to mark the message as read. Also, if I toggle the message using read -t twice, it only 'registers' the first toggling.

~labrat 8 months ago

I experience the same behavior, although I'm unsure about it being exchange in my case.

Well, are you using exchange or not?

Furthermore, when I open an unread message the message view is immediately updated to mark the message as read.

That's a feature

if I toggle the message using read -t twice, it only 'registers' the first toggling.

Which backend do you use? Imap? Maildir? Which version of aerc?

~larkey 8 months ago

Well, are you using exchange or not?

I'm using IMAP to access the mails, but it's possible that Exchange is used as a backend in our organization as they're in transition (for 4 years now), but I don't have access to the information, I'm afraid.

That's a feature

I was just highlighting the difference that it works when opening the mail but not by manually setting :read.

Which backend do you use? Imap? Maildir? Which version of aerc?

Maildir with IMAP on current git (6b0483d)

~labrat 8 months ago

maildir and imap are mutually exclusive options. Or do you have both configured and see the issue on both?

~larkey 8 months ago

Uhm, sorry, I was on mobile and meant to write IMAP, ie. "built-in" IMAP support.

~labrat REPORTED FIXED 8 months ago

hopefully fixed, unless there's some other provider specific issue, if so please reopen (naturally I mean on master, so you'll have to builtthe latest and buggiest^w greatest

~larkey 8 months ago

@labrat I can confirm this fixed for me, thanks a bunch for your great work!

Register here or Log in to comment, or comment via email.