Thomas Luebking - 2016-07-07

This isn't necessarily a bug since the doc clearly says that actions apply to the currently active window.
Eg. assume a menu entry that uses a delay to allow hiding the menu before a screenshot is taken or similar.

You can use an Exec to xdotool/wmctrl to delay operation on a window that was active on activation (or use a more sophisticated bash script)

Maybe you could provide a use case for the alternative behavior (ie. what did you want to do that unexpectedly didn't work?)