Bug 512143

Summary: Kmail2 crash when drag and drop a folder
Product: [Applications] kmail2 Reporter: Olivier BELLEUX <o.g.m.belleux>
Component: foldersAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Kontact view - impossible to move INBOX

Description Olivier BELLEUX 2025-11-15 16:52:53 UTC
Good evening,

I created a new folder in KMail; it appeared at the top of the local folder tree (Maildir).

I dragged and dropped it to move it to another location in the tree, and KMail immediately crashed.

The same behaviour occurs every time.

Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0
Kernel Version: 6.12.0-160000.6-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 16 Gio of RAM (15.4 Gio usable)
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: Notebook
Product Name: NLx0MU
Comment 1 Olivier BELLEUX 2025-11-16 13:44:18 UTC
I tried several things to fix this problem. 

Without success, until I tried using akonadi-migrator to switch to SQLITE wich failed with a message indicating a major problem with the MYSQL database.

I deleted the akonadi configuration, manually configured Driver=QSQLITE, restarted it, and reconfigured everything (email, address book, etc.). The problem seemed solved to me then.

Today, the bug reappeared.

I tried akonadi-migrator again to switch back to MYSQL.

For the moment, it seems to be working, except for one detail: the INBOX folder is in second position under OUTBOX. Dragging and dropping onto INBOX causes KMail/Kontact to crash.
Comment 2 Olivier BELLEUX 2025-11-16 16:37:05 UTC
Created attachment 186849 [details]
Kontact view - impossible to move INBOX