Author Topic: Deleting from message view not moving to previous in smart folder (1.6.0.1)  (Read 8754 times)

jmccabe

  • Full Member
  • ***
  • Posts: 100
Hi,

I hope I'm just missing something but my AquaMail has just been updated to 1.6.0.1 and now, when I open to the Smart Folder, then open a message and delete it, it's returning to the Smart Folder message list instead of moving to the "previous" message. Is this a known issue or deliberate and there's a new setting I can't find?

My "Message View" options has "After deleting a message" -> "Go to previous message", and "Previous message is older" unchecked. It seems to still work in the trash folder, but not in the Smart Folder.

Thanks
John

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Can't reproduce.

Maybe you should be selecting "move to next"?

My preference is to have "previous is older" checked (so "previous" means "message with an earlier date/time, older") and it's "to the left" when swiping.

With that, "move to previous after delete" means "move to the next message with earlier date/time, older, to the left".

For you, "move to previous after delete" would mean "move to the next message with later date/time, newer, to the right". And if you're deleting the newest message, then there is none to move to.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jmccabe

  • Full Member
  • ***
  • Posts: 100
Hi Kostya,

Thanks for your reply.

For what it's worth, I've been using AquaMail for a few years now and, certainly, for almost all of that time I've had the options set the way I mentioned but the behaviour has only changed in the last 24 hours or so.

I have 9 email accounts configured, although only 1 of them has frequent updates.

If I go into the "Inbox" of that one account, scroll down and read a message, then delete it from the message view, the next (newer) message slides in from the left as has been the behaviour for as long as I can remember.

If I go into the Smart Folder, go to any random message in the list (let's say the 3rd one down in a list of 5) and open it in the message view then delete it, it now returns to the message list.

I've now tried checking the "Previous message is older" box with both "Go to previous message" and "Go to next message" set in "After deleting a message" and, in all cases, from the Smart Folder, deleting a message takes me back to the message list. In all cases doing the same thing from the Inbox of my email account does what you would expect, one of the messages adjacent to the deleted message is displayed.

Do you have debugging enabled in this section of code? I can switch the debug on and send you a log if it's of any help.

John

jmccabe

  • Full Member
  • ***
  • Posts: 100
Kostya,

In case it helps anyway, here's a log (zipped - it would be 1/2MByte otherwise!). As mentioned in my first message here, the settings are "Go to previous message" for "After deleting a message", and "Previous message is older" is unchecked.

What I did here was:

1) Opened Smart Folder
2) Viewed an email somewhere in the middle of the list
3) Deleted it from the  message view (AquaMail returned to the message list)
4) Navigated to my deleted messages folder
5) Found the message I'd just deleted
6) Set it as unread
7) Moved it to the Inbox
8) Navigated to my Inbox
9) Found the same message (I think - at least, it was from the same source :-)
10) Viewed it
11) Deleted it from the  message view (AquaMail showed the next most recent message in the message view, as expected)
12) Pressed the back key etc and switched debug logging off

I'd appreciate it if you could take a look and see if there's anything that appears wrong in there.

John

jmccabe

  • Full Member
  • ***
  • Posts: 100
Hi Kostya,

Something else I've just noticed is that swipe left or right isn't working in my smart folder. It looks like the message view from the smart folder doesn't seem to be aware of other messages in that folder.

I'd really appreciate any help you can give with this. Let me know if there's anything else I can send you, for example an export of the database etc. I'd prefer not to have to delete all my data then restore settings if possible.

John

Sent from my D5803 using Tapatalk


jmccabe

  • Full Member
  • ***
  • Posts: 100
I've just noticed someone else mentioned the swipe issue in http://www.aqua-mail.com/forum/index.php?topic=4191.0. My guess is that both these are related.

Sent from my D5803 using Tapatalk


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Thanks for the log, I will take a look.

The "last 24 hours or so" part is very confusing, did you use prior 1.6.0.0 or maybe 1.6.0-dev versions ("beta", test version)?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
@jmccabe -- and you have conversations turned off?

What is the sort order in your smart folder (in app settings or changed via menu)?

And there were only 6 or so messages in the smart folder (in the log), correct?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jmccabe

  • Full Member
  • ***
  • Posts: 100
Thanks Kostya,

I've never used any beta/dev versions, but my phone is set to just update when I'm on Wi-Fi so it would've picked up whatever versions were available in Google Play. I noticed it got updated to 1.6.0.2 last night but I hadn't noticed this issue before Saturday, at which point my phone showed version 1.6.0.1. I guess it could've been there before that but I don't think Aqua Mail has been updated on the phone for a good couple of weeks or, at least, I may not have noticed.

I have conversations switched off, yes. There were only 6 messages in the smart folder at the time. The Default sort order in the "Smart Folder" settings is "By date/time". I have a vague memory of using the "Sort" option in the menu a few days ago, but the phone has been restarted since then.

Hope this helps

John

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Thank you.

Can you also let me know if you *ever* enabled conversations?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Deleting from message view not moving to previous in smart folder (1.6.0.1)
« Reply #10 on: December 07, 2015, 05:46:35 pm »
Looks like you opened an unread message, causing it to be marked as read.

What is your smart folder's "time period" setting (swipe in from the left to see the list of choices).

Perhaps the message was not "within" this time period?

And was included when you opened it since it was unread, but was dropped from the smart list immediately because it was marked read, and without being unread, it was too old to be included there?

A simple way to check:

- Mark the message unread
- Open the smart folder
- The message should be there
- Open it, causing it to be marked read
- Back out to the smart folder's message list

--- >>> will the message still be there? I would guess "not"?


Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

jmccabe

  • Full Member
  • ***
  • Posts: 100
Re: Deleting from message view not moving to previous in smart folder (1.6.0.1)
« Reply #11 on: December 07, 2015, 05:51:24 pm »
Kostya

I've never enabled conversations.

The Smart Folder is set to show only unread messages, there is no "time period" set.

When I set a message as unread, it shows up in the smart folder. When I read it in the smart folder, it becomes marked as unread, so disappears from the smart folder.

John

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Deleting from message view not moving to previous in smart folder (1.6.0.1)
« Reply #12 on: December 07, 2015, 05:56:40 pm »
Kostya

I've never enabled conversations.

The Smart Folder is set to show only unread messages, there is no "time period" set.

When I set a message as unread, it shows up in the smart folder. When I read it in the smart folder, it becomes marked as unread, so disappears from the smart folder.

John
Hi John,
Your last post is confusing me...

> The Smart Folder is set to show only unread messages, there is no "time period" set.
Okay, understand

> When I set a message as unread, it shows up in the smart folder Thom.
Okay, understand

> When I read it in the smart folder, it becomes marked as unread, so disappears from the smart folder.
This should be: "... it becomes marked as read..."
« Last Edit: December 07, 2015, 07:26:06 pm by mikeone »

jmccabe

  • Full Member
  • ***
  • Posts: 100
Re: Deleting from message view not moving to previous in smart folder (1.6.0.1)
« Reply #13 on: December 07, 2015, 05:58:17 pm »
That's not surprising - the last line should be:

"When I set a message as unread, it shows up in the smart folder. When I read it in the smart folder, it becomes marked as READ, so disappears from the smart folder."

Sorry

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Deleting from message view not moving to previous in smart folder (1.6.0.1)
« Reply #14 on: December 07, 2015, 06:05:22 pm »
That's not surprising - the last line should be:

"When I set a message as unread, it shows up in the smart folder. When I read it in the smart folder, it becomes marked as READ, so disappears from the smart folder."

Sorry
Okay, that makes sense  8)