[kmail2] [Bug 485661] Kmail popup windows closes when trying to copy or move message to folder

Benjamin Robin bugzilla_noreply at kde.org
Sat Sep 6 17:46:40 BST 2025


https://bugs.kde.org/show_bug.cgi?id=485661

--- Comment #35 from Benjamin Robin <benjarobin+kde at gmail.com> ---
I start to investigate this issue. Thank to @NicolasFella for the initial help!

The root cause is in akonadi standardactionmanager.cpp, the function
clipboardChanged() is called somehow when right-clicking and even when going
over a menu. Which in turn generates the following call stack:
 - updateActions() 
 - ActionStateManager::updateState()
 - ActionStateManager::enableAction() 
 - enableAction()
 - delete menu.

So when we go over a sub-menu, this delete the associated submenu (delete
menu), which closes this submenu (which is normal since deleted)...
Do now, the question is why, under Wayland, the function clipboardChanged() is
called so often!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list