-
Notifications
You must be signed in to change notification settings - Fork 18
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
Resizing 3D Viewer window can throw an exception #15
Comments
@gouessej FYI. I will try to track down more details and file a formal bug report and/or patch once I do so. But it probably will not be until February or March, unfortunately. |
Thanks. There is no hurry. |
I am having the same trouble. When I use Fiji 3D viewer I can rotate the image and zoom in with the mouse wheel, but as soon as I try to resize the 3D viewer window or change the background color, the program freezes. I can still click between open FIJI windows but none of them respond to anything. I need to force quit the application everytime. |
This issue is specific to MacOSX. I cannot reproduce it with Windows. |
On Linux, resizing the window crashed Java. 👎 |
Can confirm this behavior on OSX 10.11.5, Java 8, GTX950 Any progress on this? Does anyone have a workaround? |
@mani-mota Sorry, I know of no workaround. You could, however, try ClearVolume and/or the new ThreeDViewer prototype. These are certainly the directions 3D viz in ImageJ is going. |
I am now getting the following error version = 1.5 Same test data set that has worked in the past |
@richardwcole That error means you are using Java 3D 1.5 (i.e., the old Java 3D), but running Java 8. On many systems, these two technologies cannot be combined. For details, see this page: In short, you can either: A) use Java 3D 1.5 + Java 6; or B) use the new Java 3D 1.6 + Java 8. |
I can no longer reproduce this on my macOS 10.13.4 machine with Java 1.8.0_172. Could those affected (@rogersher @mani-mota et. al) please download a fresh Fiji and test again and report back on whether the issue is resolved for you? |
@ctrueden did you ever find a solution for the resizing on linux? I'm using a VNC to connect to our analytical machine (linux) and if I resize the VNC window when Fiji has an image open, it crashes Fiji :( |
@Stephy43 I'm sorry, I don't have a real solution. And I was wrong about not being able to reproduce on macOS—it does happen still, I think it's a race condition triggering when two resizes occur in rapid succession. I discovered that on macOS, the following Groovy script can be used to resize the window without it crashing:
(The You could give this a try in your Linux VNC session and see if it helps. |
One thing I just noticed: @philjord, the current maintainer of the JOGL Java 3D fork, fixed a bunch of things ~1 year after I packaged up the java3d code for ImageJ. I have not tested those changes yet, and will not have time to do so before mid-June. In the meantime, you could clone https://github.com/philjord/java3d-core and build the |
@ctrueden I remind you that I'm going to leave Github soon because of its acquisition by Microsoft. I'll update the user's guide. Rather use directly Phil's source code. |
When using the Java-8 update site, resizing the 3D Viewer window leads to:
At least, I am able to reproduce consistently on my system using the T1 Head sample:
OS X 10.11.1 El Capitan
Model Name: MacBook Pro
Model Identifier: MacBookPro11,5
Processor Name: Intel Core i7
Processor Speed: 2.5 GHz
Both Java versions 1.7.0_80 and 1.8.0_66 exhibit the issue. So it is probably a bug in Java 3D 1.6 and/or JOGL.
I tried to create an MCVE based on the "Test Java3D" plugin from VIB, but was unable to reproduce the issue with a simple scene.
See also this thread on the ImageJ mailing list.
The text was updated successfully, but these errors were encountered: