Bug 340727 - messages deleted from IMAP account (GMail) can end up in the local wastebin
Summary: messages deleted from IMAP account (GMail) can end up in the local wastebin
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other All
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 12:30 UTC by RJVB
Modified: 2017-01-07 21:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2014-11-07 12:30:07 UTC
Under certain conditions (IMAP account offline or not responding or ...?) it can happen that messages deleted from GMail accounts end up in my local wastebin rather than being moved to the configured wastebin folder on the server.
When this happens, they remain "greyed out" in the folder they originate from even when they have been removed from the local wastebin, for an indefinite amount of time (= I have to connect through the web interface to delete them there).

Sadly I cannot say how to reproduce the issue.

Reproducible: Sometimes

Steps to Reproduce:
1. Use a gmail account in a real-world usage scenario, which includes deleting (selections of) messages while syncs are going on, etc.
2. Notice unread/unseen messages signalled in the otherwise unused KMail Folders "account", that this concerns the wastebin, and also notice that those same messages are greyed-out in their original folder
3. empty the local wastebin in an attempt to remove those greyed-out messages

Actual Results:  
Local wastebin is emptied but messages apparently remain on the server, untouchable.

Expected Results:  
In fact, I'd expect that "Move to wastebin" and its keyboard shortcut move messages to the configured wastebin, or not at all (i.e. defer/queue the action) when that is not possible immediately, for whatever reason.

It would be OK to post a dialog "Cannot move message[s] to the configured wastebin, $FOLDER, because $ERROR. Do you want to move it/them to a fallback wastebin?". At least the user knows what's going on like that.

I'm marking this a major issue because of the unpredictable non-respect of a user setting.
Comment 1 Denis Kurz 2016-09-24 18:19:27 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:56:30 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.