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

Allen Winter bugzilla_noreply at kde.org
Fri Sep 12 11:17:15 BST 2025


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

Allen Winter <winter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |akonadi/-/commit/9738f63da4
                   |                            |174c9d8b6abee328e15b3f5cd94
                   |                            |cd6
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #38 from Allen Winter <winter at kde.org> ---
Git commit 9738f63da4174c9d8b6abee328e15b3f5cd94cd6 by Allen Winter.
Committed on 12/09/2025 at 10:17.
Pushed by winterz into branch 'release/25.08'.

widgets/standardactionmanager: Filter clipboard change events

Under Wayland, QClipboard::changed signal is triggered very often, for
example each time a QMenu is opened, or when the focus of the main window
changed.
This is an issue because Actions (and associated QMenu) are updated for
various events, including the clipboard data change event. And when
updating Actions, the QMenu are updated: old sub-menu is destroyed which
close the sub-menu...

To fix that only update the actions when the clipboard truly changed.
Related: bug 508727


(cherry picked from commit 5c1aba602aa461dcf06dfe8b23f52df074b3f35c)

Co-authored-by: Benjamin Robin <benjamin.robin at bootlin.com>

M  +1    -1    autotests/libs/actionstatemanagertest.cpp
M  +41   -32   src/core/pastehelper.cpp
M  +8    -0    src/core/pastehelper_p.h
M  +5    -2    src/widgets/actionstatemanager.cpp
M  +3    -1    src/widgets/actionstatemanager_p.h
M  +20   -6    src/widgets/standardactionmanager.cpp

https://invent.kde.org/pim/akonadi/-/commit/9738f63da4174c9d8b6abee328e15b3f5cd94cd6

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


More information about the Kdepim-bugs mailing list