I have a .desktop file that uses wine to run an image viewer like so
Exec=wine irfanview.exe %f
ScreenGrab does not launch the external editor because the logic which expands the Exec line takes only the first token and the resulting command is
wine %f
ScreenGrab v1.101