Bug 277912 - Can't use my IMAP account's trash folder.
Summary: Can't use my IMAP account's trash folder.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.95
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-16 19:29 UTC by Philip Muškovac
Modified: 2017-01-07 21:58 UTC (History)
6 users (show)

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 Philip Muškovac 2011-07-16 19:29:14 UTC
Version:           2.0.95 (using Devel) 
OS:                Linux

I tried to set the trash folder for my IMAP account to the trash folder of that account, so my mails stay synchronised and I don't mix mails between my IMAP accounts. What kmail2 does is set the Trash folder to 'Trash' no matter what accounts trash folder I select which is in fact the local trash folder and not what I want.

Reproducible: Didn't try

Steps to Reproduce:
-Set up IMAP account.
-In the account settings click on 'modify' so the Akonadi Resource window comes up.
-Go to advanced
-Set new Trash folder

Actual Results:  
The field always shows 'Trash' as destination and the local trash folder is used when deleting mails.

Expected Results:  
The Path to the IMAP accounts trash folder should show up in the settings field and deleted mails should be moved to that folder.

OS: Linux (x86_64) release 3.0.0-4-generic
Compiler: gcc
Comment 1 Laurent Montel 2011-07-16 19:57:58 UTC
Update kmail. Here it works fine.
Comment 2 Jan 2011-07-31 09:07:32 UTC
Works on Kubuntu 11.04 KDE SC 4.7 and Kmail2
Comment 3 Philip Muškovac 2011-08-03 14:32:47 UTC
Kmail from 4.7.0 now and akonadi 1.6.0, and it still doesn't work. My imap acc. still appears greyed out in the trash selection dialog and the mails end up in the local trash folder. Are there some special conditions that need to be met?

Note: I already purged my whole kmail and akonadi setup and set my account up fresh.
Comment 4 Cody 2011-08-26 15:01:43 UTC
I can confirm this bug with 

$ akonadiserver --version
Akonadi 1.6.0

$ kmail --version
Qt: 4.7.3
KDE Development Platform: 4.7.00 (4.7.0)
KMail: 4.7.0

I believe it may have something to do with using server side folder subscriptions.
Comment 5 michele mazza 2012-03-27 16:49:43 UTC
I just moved to KMail 4.8.1 on Fedora 16 and now I am seeing this problem.
Comment 6 mase 2013-10-25 12:55:40 UTC
I can confirm this with 4.11. It was ok in 4.10.
It is always set to "Trash", instead of "<imap>/Trash".
Comment 7 Markus Zimmermann 2014-01-15 13:59:37 UTC
I'm using KDE 4.12.1 with opensuse 13.1. I can confirm this problem exists at least since 4.11.x for me.
Comment 8 Denis Kurz 2016-09-24 18:11:18 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 9 Denis Kurz 2017-01-07 21:58:40 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.