Bug 467060

Summary: Problem with Local Folders of KMail pointing to ~/.local/share/akonadi_maildir_resource_0 but using ~/.local/share/.akonadi_maildir_resource_0.directory
Product: [Applications] kmail2 Reporter: Freek de Kruijf <freekdekruijf>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: guido.pinkernell
Priority: NOR    
Version: 5.19.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Freek de Kruijf 2023-03-08 16:11:37 UTC
When using the dialog to configure KMail and specific the Local Folders, using Change to edit the configuration of Local Folders, the text field with the name of the maildir folder shows /home/freek/.local/share/akonadi_maildir_resource_0 . This maildir folder contains a number of messages in subfolders .../*/cur . However these massages are not displayed in KMail. KMail shows other messages in trash. Searching in ~/.local/share/ I found a folder 
~/.local/share/.akonadi_maildir_resource_0.directory which contains these messages in a subfolder trash/new/ .

Prevously, yesterday, I had another Local Folders where the maildir folder was 
/home/freek/.local/share/0/akonadi_maildir_resource_0; I deleted that entry in the configuration dialog of KMail.
However in ~/.config/kmail2rc there was still an entry: 
[Resource akonadi_maildir_resource_1], which should have been deleted by the above action.

Searching in ~/.config for configuration files for KMail I did not find any reference to this ~/.local/share/.akonadi_maildir_resource_0.directory .
File .config/akonadi_maildir_resource_0rc did contain the reference to
$HOME/.local/share/akonadi_maildir_resource_0


Quite confusing, consider it a bug.
Comment 1 Guido Pinkernell 2024-04-19 13:47:07 UTC
Same here, now in April 2024.
Comment 2 Guido Pinkernell 2024-04-19 13:51:48 UTC
btw, this is with akonadi 24.02.2-1.1 from opensuse's tumbleweed main repository.