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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/2132b6c
                   |                            |eb22f9e5890dd76e114215987db
                   |                            |7deb5f

--- Comment #27 from Méven <[email protected]> ---
Git commit 2132b6ceb22f9e5890dd76e114215987db7deb5f by Méven Car, on behalf of
Akseli Lahtinen.
Committed on 08/07/2025 at 08:48.
Pushed by meven into branch 'master'.

DropJob: Emit popupMenuAboutToShow after setting things up

When adding actions to the popup, we were emitting popupMenuAboutToShow
too early, before we had the actions added. This could cause race
conditions, especially if there are plugin actions for the item.

We need to make sure our popup and its itemProps are done and ready
before emitting the signal. If we emit too early, we sometimes
ended up finishing making up the menu after DropJob::showMenu was
called, which would have nothing in it's m_menus set and thus do
nothing.

M  +1    -2    src/widgets/dropjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/2132b6ceb22f9e5890dd76e114215987db7deb5f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to