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

--- Comment #12 from Méven <[email protected]> ---
Git commit ec0786daa67d08bb32c308cc2e4ddb5bcf66989d by Méven Car.
Committed on 13/09/2026 at 10:10.
Pushed by meven into branch 'master'.

dolphinmainwindow: Rebuild the file item actions on service menu changes alone

The watcher for the service menu settings was created on a config that carries
the globals with it, and such a watcher is also told about every change to
kdeglobals. A running session makes plenty of those, so the file item actions
were thrown away and built again at moments that had nothing to do with the
service menus, among them while a context menu action of a plugin was running
with a dialog of its own open. Compressing a folder to another location that
way took Dolphin down with it.

The watcher is now created without the globals, as KFileItemActions itself
opens the same file, and it answers the Show group alone, which is the one
group KFileItemActions reads there. Only a real service menu change rebuilds
the actions now.
The old object is dropped through the event loop as well, so that an action
that is running is left the plugin it started with.
Related: bug 525620

M  +8    -4    src/dolphinmainwindow.cpp
M  +1    -1    src/tests/dolphinmainwindowtest.cpp

https://invent.kde.org/system/dolphin/-/commit/ec0786daa67d08bb32c308cc2e4ddb5bcf66989d

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

Reply via email to