Feature request #989
Action with Capture output disabled appears to do nothing
|Pull Request or Patch supplied:
|Copied to github as #:
Action with Capture output disabled appears to do nothing when activated (Linux and Windows; don't know about Mac).
1. set up an Action to start Firefox, for example (doesn't matter what program is used); don't enable Capture output
2. Identify an object on the canvas, then click the action item in the Identify Results dialog - no window for the program appears.
If Capture output is enabled, then the dialog to show the results of the program appears and the program window appears as expected.
This used to work on 0.8.1
#1 Updated by Steven Mizuno almost 16 years ago
I am submitting a patch to fix this problem. This is the cause: the process is started, then immediately killed by die() if the process is not captured.
1.merged the two
code blocks where the process is started for capturing
2. used QProcess::startDetached() to start the non-captured process
3. on failure to start the non-captured process a message box is raised to inform the user
I have tested this on Linux and Windows XP.