<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_FIXPENDING "
title="FIXPENDING - 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>CONFIRMED
</td>
<td>FIXPENDING
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_FIXPENDING "
title="FIXPENDING - Return value of IJ.showMessageWithCancel() is ignored in macros"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=952#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_FIXPENDING "
title="FIXPENDING - 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>Thank you for the information, Wayne!
The issue was that when a macro runs from the ImageJ2 Script Editor, the thread
name does not end with "Macro$".
I committed a fix:
<a href="https://github.com/imagej/imagej-legacy/commit/b79d3010297e4185ad7510df2c0fc09dcc5ce85b">https://github.com/imagej/imagej-legacy/commit/b79d3010297e4185ad7510df2c0fc09dcc5ce85b</a>
And also another related workaround:
<a href="https://github.com/imagej/imagej-legacy/commit/883e01c456fc6d7c1ca03557972e27f72ca77182">https://github.com/imagej/imagej-legacy/commit/883e01c456fc6d7c1ca03557972e27f72ca77182</a>
So this issue will be resolved once a new imagej-legacy JAR is released and
uploaded to the ImageJ update site.</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>