Some apps (e.g. Nautilus) have more complex commands in their desktop file's Exec line (e.g. 'nautilus --new-window'). This breaks the cmd to desktop path mapping because =~ checks
for equality, but 'nautilus' isn't equal to 'nautilus --new-window'. Use ~~ instead which checks whether one string is contained in another
(https://techbase.kde.org/Development/Tutorials/Services/Traders#String_Matching_Operators).
The fault can be reproduced with:
ktraderclient5 --servicetype Application --constraint "exist Exec and ('nautilus' =~ Exec)
returns no matches
ktraderclient5 --servicetype Application --constraint "exist Exec and ('nautilus' ~~ Exec)
matches org.gnome.Nautilus
Same applies to Gedit and probably countless other apps.
As a result jumplist actions for Nautilus and Gedit are working in the taskmanager now