Bug 384144

Summary: KMail - moving an e-Mail which has been read to a new folder, places the e-Mail file in the sub-directory "new"
Product: [Applications] kmail2 Reporter: Don Curtis <bugrprt21882>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.5.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Don Curtis 2017-08-29 15:22:27 UTC
When an e-Mail which has been read, is moved manually to another KMail2 Folder, the associated e-Mail file is placed the "moved-to-Folder" sub-directory "new" and not as expected in the sub-directory "cur".

The following CLI "find" commands search for the e-Mail files:

 > find .local/share/local-mail/ -type d -name 'new' -exec ls '{}' \;
or
 > find .local/share/.local-mail.directory/ -type d -name 'new' -exec ls '{}' \;

To find which KMail2 Folder contains the "new" sub-directory containing the moved e-Mail(s) use:

 > find .local/share/local-mail/ -type d -name 'new' -print -exec ls '{}' \; | less
or
 > find .local/share/.local-mail.directory/ -type d -name 'new' -print -exec ls '{}' \; | less

-----------------------------------------------------------------------

Affected e-Mails have to be selected from within KMail2 and the "moved to the 'cur' sub-directory" with <Ctrl-U> and then <Ctrl-R> -- "mark as unread" and then "mark as read".
Comment 1 Don Curtis 2019-07-18 07:54:59 UTC
With kmail2 5.10.3 this is still an issue.

Qt: 5.9.7
KDE Frameworks: 5.55.0
plasmashell 5.12.8
Comment 2 Don Curtis 2023-08-28 13:35:33 UTC
With KMail 5.22.3 (22.12.3) this is still an issue.

Operating System: openSUSE Leap 15.5
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.14.21-150500.55.19-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3400G with Radeon Vega Graphics
Memory: 29.3 GiB of RAM
Graphics Processor: AMD Radeon Vega 11 Graphics
Manufacturer: ASUS