<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span> changed
<a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - Return value of IJ.showMessageWithCancel() is ignored in macros"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=952">bug 952</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>CONFIRMED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ctrueden@wisc.edu
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - Return value of IJ.showMessageWithCancel() is ignored in macros"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=952#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_CONFIRMED "
title="CONFIRMED - Return value of IJ.showMessageWithCancel() is ignored in macros"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=952">bug 952</a>
from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
<pre>I debugged into it, but I have to admit I have no idea how this works.
Eventually, the ImageJ 1.x code resolves down to:
<a href="https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/macro/Functions.java#L120">https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/macro/Functions.java#L120</a>
Which does:
<a href="https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/macro/Functions.java#L1636">https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/macro/Functions.java#L1636</a>
Which is this:
<a href="https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/IJ.java#L639-L644">https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/IJ.java#L639-L644</a>
Maybe there is something clever in GenericDialog that cancels macros, but
doesn't work with the ImageJ2-script-language version of the macro support...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>