[ImageJ-bugs] [Bug 952] New: Return value of IJ.showMessageWithCancel() is ignored in macros
bugzilla at fiji.sc
bugzilla at fiji.sc
Tue Nov 4 09:51:21 CST 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=952
Bug ID: 952
Summary: Return value of IJ.showMessageWithCancel() is ignored
in macros
Product: Fiji
Version: unspecified
Hardware: Macintosh
OS: Mac OS
Status: NEW
Severity: enhancement
Priority: P5
Component: ImageJ1
Assignee: imagej-bugs at imagej.net
Reporter: tiagoalvespedrosa at gmail.com
A (IJ1) macro calling showMessageWithCancel() is expected to terminate if the
user chooses "Cancel"
(http://imagej.nih.gov/ij/developer/macro/functions.html#showMessageWithCancel).
In Fiji, however, macros continue to run after pressing "Cancel". Example:
showMessageWithCancel("In IJ1 a macro exits when the user clicks 'Cancel'");
showMessage("But not in Fiji (unless it runs from the IJ1 editor)");
Running the above in the buil-in editor (e.g., Plugins>New>Text Window) works
as expected.
Probably not a major issue, but it will likely break some macros down the road.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20141104/8a29ccba/attachment.html>
More information about the Imagej-bugs
mailing list