Bug 357945 - Deleting a message on an IMAP account moves the message to local "Trash" instead of IMAP "Trash"
Summary: Deleting a message on an IMAP account moves the message to local "Trash" inst...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 5.4.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-13 18:12 UTC by David Tonhofer
Modified: 2022-11-29 05:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Tonhofer 2016-01-13 18:12:14 UTC
Heads-up to the maintainer: Selectable version numbering on this bug lists 4.14.7 and 5.1, but I have 4.14.10 (using KDE development platform 4.14.14). Should probably be completed

Created an IMAP "receving account" called "bughunt"

In the "Advanced Part", the "Trash folder" is set to the remote "Trash", i.e. "bughunt/inbox/Trash"

However, when deleting a message using "Move to Trash" in dropdown menu or "delete" key, the deleted message does not appear in the IMAP folder "Trash" but instead appears in the "Local Folders" "trash" (written with lowercase)



Reproducible: Always
Comment 1 brgreen 2016-01-14 09:59:03 UTC
I'm also having this problem on a new installation of Fedora 23.

KMail 4.14.10, KDE Devel Platform 4.14.14.

Exactly the same problem as above.
If instead I move the message to Google Mail (***) - [Gmail] - Bin, that works.
Comment 2 Hufschmidt 2017-01-17 10:51:34 UTC
I can confirm this issue, although it is happening in Kmail 5.4.0 on a relatively new install of Arch/Manjaro Linux.

As with the previous posters I added a new IMAP-Account and changed  the Trash folder to a folder on the IMAP-Server.

A few observations:
 * Behaviour seems to be inconsistent across kmail account (not imap accounts)
 -> I have to gmail accounts, with the same exact settings (especially trash is set to an imap folder), one account deletes mails into the correct trash, the other one into the local trash
 -> A similar issue is happening with our internal work imap server (based on horde mail - https://www.horde.org/). At first it did not work, aka mails were moved to local trash despite being configured to use an imap folder. After having recreated a kmail account (multiple times if I remember correctly) it is magically working now. I'm pretty sure I used the same settings on all kmail accounts I created for this imap account.
 * Critical observation: On the accounts that do work, the designated trash folders have an "Empty Trash" option in their right-click menu. While for the account(s) that don't work [only one for me right now] the right-click menu of the designed trash folder does not have this option, instead it has the normal "Move all messages to trash" option that all other non-trash folders have (!).
(Side-Note: All trash folder, regardless if working or not have the correct trash-can folder icon, its just the menu-option that missing)

My guess is, moving to trash does not work, because KMail failed to (completely) register those folders as designated-trash, indicated by the missing/wrong menu-option but still correct folder icon.
Comment 3 Hufschmidt 2017-01-18 07:55:50 UTC
After a restart (and upgrade to KMail 5.4.1) all my trash folders seem to be working, so I think (at least for KMail 5.4.1) my issue seems to be a duplicate of:
https://bugs.kde.org/show_bug.cgi?id=371664
Comment 4 Justin Zobel 2022-10-30 00:37:35 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-14 05:14:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-11-29 05:18:07 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!