-
Notifications
You must be signed in to change notification settings - Fork 52
ImageJ/FIJI freezes when having a slider-styled input @parameter on top of a script #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am guessing it is a macOS-specific bug with showing |
Hi Curtis, thanks for answering so quickly. I downloaded the No-JRE FIJI version, which runs then on my current Java (Java 1.8.0_112). The issue persists. Here comes the stack trace: You could be right, the issue may be a deadlock deep inside JWhatever or AquaSliderUI... Maybe it's just better avoiding the slider at the moment? Thanks anyway! Best, |
Alternately, you can simply rename the
Relevant parts are:
And:
So yeah, calling There was something similar with You could attempt a similar fix in I did some google searches looking for reported macOS openjdk bugs along these lines, but did not immediately find anything except this one from 3.5 years ago which I am not sure is the same issue. I do not have time to dig anymore this month, unfortunately. In the meantime, if you learn more, or find a fix, that would be awesome. In any case, this is not a scijava-common bug. Any fix/workaround would need to live in scijava-ui-swing or possibly scijava-ui-awt. |
@haesleinhuepf wrote:
Does adding |
This should be fixed now, with scijava/scijava-ui-swing@32ddc3c by @ctrueden. |
To be sure, I quickly tested on Mac OSX Sierra (10.12.6). As expected, using your script displays a warning in the console, but doesn't freeze Fiji, so I'm closing this issue. |
Hey guys,
I just discovered that Fiji freezes, when I run the following macro. The input dialog opens but it shows no input elements, no buttons and the dialog cannot be closed. Furthermore the CPU goes up to 100%.
E.g. this python script causes the same issue:
As it is language independent, I guess it has something to do with scijavas input widgets.
I'm using a recently downloaded Fiji on MacOS 10.12 (ImageJ 2.0.0-rc-54/1.51h; Java 1.8.0_66 [64 bit])
If you need any other information, I'd be happy to help.
Thanks a lot in advance!
Best,
Robert
The text was updated successfully, but these errors were encountered: