Bug 345497 - Expiry options on folder properties doesn't move mails
Summary: Expiry options on folder properties doesn't move mails
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.14.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 00:29 UTC by Christian
Modified: 2018-01-31 16:52 UTC (History)
2 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 Christian 2015-03-25 00:29:27 UTC
I try to use the "expiry" options under the folder properties of some folders, setted to expire readed mails after 30 days and, instead of using "permanently delete expired mails", I setted "Move expired mails to" and selected an existent folder.

When I click on "Save preferences and expire now" it should move my readed mails more than 30 days long to the designated folder, but instead, **it just copy them**. 

P.D.: I'm using KMail in spanish, the labels I said may not correspond to the actual english labels. Sorry for that.

Reproducible: Always

Steps to Reproduce:
1. Open folder preferences and go to the expiry slope, or right click on a folder and select the expiry option.
2. Set "Expire readed mails after" on and set a number of days.
3. Set "Move expired days to" on, and select an existent folder (preferable empty so you can see the results).
4. Click on the "Save preferences and expire now" button, wait and press again. (You may need to close the folder-property dialog check that it didn't move anything and open again).

Actual Results:  
Kmail only copy the correct mails to the designated folder.

Expected Results:  
Kmail should *move* these mails to the designated folder, and they shouldn't appear of the original folder anymore.
Comment 1 Christian 2015-03-25 00:45:24 UTC
At first, I thought it was because KMail downloaded mails again because of my account configuration, so after posted this bug I checked for this matter.

I tested again activating the "leave the message on the server 7 days", I downloaded the mails (KMail displayed the "deleting mails on server" status) and then try the expiry options clicking on the "Save preferences and expire now": same results, it just copy the mails and don't move anything.
Comment 2 Laurent Montel 2015-03-25 08:05:13 UTC
Work fine here.
Do you have error in console ?
Comment 3 Christian 2015-03-25 14:29:51 UTC
(In reply to Laurent Montel from comment #2)
> Work fine here.
> Do you have error in console ?

I get this:

    $ kmail --nofork 
    libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    loaded the Generic plugin 
    libpng warning: iCCP: too many profiles
    libpng warning: iCCP: too many profiles
    [almost 40 times the same libpng warning]
     ~StorageServiceJobConfigPrivate 

I think is not of much help. If there's a way to start some kind of "debug output", please tell me how.
Comment 4 Denis Kurz 2017-06-23 19:56:08 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 5 Denis Kurz 2018-01-31 16:52:49 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12, preferably more recent), please open a new one unless it already exists. Thank you for all your input.