Delete Mail under "Smart folders" - "Today" duplicates the mail and shows another entry
Context
Deleting mails under "Today" duplicates and shows another entry for the same deleted mail.
Expected Behavior
-
Deleting an inbox-mail under "Today" might remove entry and add entry for "Trash" as it is right now showing Trash entries too - may be under a sub head - as mentioned in Issue #120.
-
Deleting a Trash-mail under "Today" might remove it fully from the "Trash" / mail server too.
Actual Behavior
After deletion, another mail entry appears under "Today" showing exactly the same icon, sender's name, subject and part of mail text as usual. The duplicate entry will take few seconds to appear. BUT when accessed by pressing the duplicate entry, it only shows "To" on a line and "View details" on second line. And the original (deleted mail) entry would show the whole mail when choosen by clicking. If we revisit the "Today" folder, the duplicate entry would vanish. BUT the deleted mail's entry remains.
Steps to Reproduce
- Visit "Today" under "Smart folders"
- Delete by swiping an entry (any) and wait for few seconds.
- Check original entry and duplicate entry of the same email. One will have details and another will not have details.
- Revisit the "Today" screen to see that the duplicate vanished but the original entry is still NOT deleted.
Your Environment
- Dekko version used: 0.1.5
- Desktop environment (e.g Unity7, Unity8, GNOME):
- Operating System and version: Ubuntu 15.04-armhf (20171218) r2
- Device: LG Nexus 4 - Last updated Aug. 29th, 2018 - Image 20170921-47543