Closed hinerm closed 3 years ago
Operating System: Ubuntu 20.04.1 LTS 64-bit
Menu options do not render after initial start:
They appear after clicking anywhere on the menu bar:
This seems to be present everywhere. Here I tried to pick different LUTs:
On macOS, noticed two problems right away:
Contents/MacOS/Imagej-macosx
needs to be named Contents/MacOS/ImageJ-macosx
.Similarly, though it doesn't affect macOS, the other platforms' native launchers are similarly misnamed.
After fixing these issues, I'm able to start Fiji via the usual right-click, Open, click Open to pass through the "Unidentified developer" warning dialog, and then Fiji works. :+1:
With the JBRSDK8 bundle, FLIMJ's JavaFX UI starts up successfully on macOS, but then hangs when I click the "Fit dataset" button. This may not be a JBRSDK8-specific issue; I'll investigate further when I have time.
On macOS, noticed two problems right away:
* `Contents/MacOS/Imagej-macosx` needs to be named `Contents/MacOS/ImageJ-macosx`. * That file needs to have the executable bit set, but does not.
Similarly, though it doesn't affect macOS, the other platforms' native launchers are similarly misnamed.
@ctrueden yeah this didn't affect windows and the updater tracked the files appropriately. I'm sure this is because I manually downloaded the imagej-launcher
resources from Maven and renamed them. The fiji-builds
bundles will be correct I'm sure.
After fixing these issues, I'm able to start Fiji via the usual right-click, Open, click Open to pass through the "Unidentified developer" warning dialog, and then Fiji works. 👍
This is interesting because @tpietzsch mentioned the Unidentified developer warning was gone for him
With JBRSDK11 on macOS, three problems so far:
Contents/MacOS/ImageJ-macosx
is not set.Search bar window packs incorrectly:
Even after sizing it up, the layout is incorrect (missing left-hand list pane):
The "Embed search results in main window" option can be enabled as a workaround:
@tpietzsch mentioned the Unidentified developer warning was gone for him
I would be shocked if that warning ever disappears without us paying $99 to Apple and signing the app.
@tpietzsch Might you have disabled Gatekeeper (sudo spctl --master-disable
) and enabled apps to run from anywhere, as described e.g. here?
No, I didn't. I have these security settings:
Also there is a new splash screen, that I didn't notice before:
I thought the two might be related and there is a new launcher or something...
3\. FLIMJ does not work—see stack trace below. Does JBRSDK11 ship with OpenJFX11? If not, we may need to start shipping OpenJFX11 JARs on the FLIMJ update site (which would bump FLIMJ's minimum required Java version to 11).
@ctrueden I think it does ship with JavaFX but com/sun/javafx/scene/control/skin/BehaviorSkinBase
may have been removed after J8. You can get it through a backport library.
Can you try adding openjfx-78-backport-compat to your installation? That may be sufficient to add as a dependency to FLIMJ.
We determined that JBRSDK11 ships with JavaFX10, which does not play nicely with ControlsFX 8. We tried ControlsFX 9, as well as ControlsFX 11, but neither works correctly with FLIMJ. There are issues with the FLIMJ UI freezing on fit with both JBRSDK8 and JBRSDK11.
We tested AdoptOpenJDK11 with JavaFX11 libraries in jars/
and that works (on macOS). So it's looking likely we won't be able to use the JBRSDK after all—almost certainly not JBRSDK11, which ships a probably-unworkable embedded JavaFX version. But JBRSDK8 is also looking less likely due to the FLIMJ deadlock issue.
The downside of shipping AdoptOpenJDK11 with JavaFX11 libraries is that anyone who wants to keep using Java 8 won't be able to use JavaFX-based functionality anymore. Current line of thinking is to create new ImageJ-11 and Fiji-11 update sites that ship Java-11-friendly artifacts, which would include the JavaFX11 libraries. We could then finally retire the Java-8 update site, and once again provide a vanilla ImageJ2 download again! 🎉 But we need further thought, input, and testing before we're sure this approach will really work.
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/feedback-needed-bundled-java-future-directions/44030/1
@elevans Would you mind testing one more time with our new Zulu bundle for linux? It's a different JDK 8 and we're hoping it doesn't have the same menu bar issues any more.
Thank you!
@hinerm you got it! And I'm happy to test as many times as needed! Will report back.
@hinerm Tried it out and its working fine on my system. Menu bar issues are no longer present with this bundle.
The latest launcher has been released, and all downloads have been updated to Azul Java 8 JDK+FX
I tried to download the JBR SDK 8 today, and I can't find the downloads anymore. JetBrains moved things around, and only offers downloads of 11 and 17 now. We'll be moving to 11 or 17 anyway ASAP, but just wanted to note that here.
Please leave screenshots with a note on the operating system used