Opening the OS-supplied File Manager (other than Nautilus) fail
tudogeorge opened this issue · comments
Commands that require launching the OS File Manager fail with the following exception:
java.io.IOException: Cannot run program "nautilus": error=2, No such file or directory
.
I tried
- File > Reveal on Desktop
- File > Include > Reveal in Explorer
Expected Behavior
The OS-supplied File Manager application should open at that file's location and with that file selected.
Current Behavior
The following exception is thrown: java.io.IOException: Cannot run program "nautilus": error=2, No such file or directory
.
The error message popping up at "Reveal in Explorer" is misleading (it says "File cannot be found" instead of "Could not reveal / ".
Steps to Reproduce
- On a Linux distribution with a file manager other than Nautilus, open the Scene Builder application
- Create and save an FXML file (CHILD_FILE.FXML) - do not close Scene Builder
- Reproduce the issue on "Reveal on Desktop" by accessing File > Reveal on Desktop
- Create and save another FXML file (PARENT_FILE.FXML) - this instance can be closed
- Include CHILD_FILE.FXML into PARENT_FILE.FXML
- In the left-hand side of the editor, in the Document > Hierarchy section, select the included file
- Reproduce the issue on "Reveal in Explorer" by accessing File > Include > Edit 'CHILD_FILE.FXML' in Explorer
Environment
OS: Kubuntu 22.04; file manager: Dolphin 21.12.3
Scene Builder Product Version
JavaFX Scene Builder 21.0.0
Build Information
Version 21.0.0
Date: 2023-10-05 12:11:04
JavaFX Version: 21
Java Version: 21, OpenJDK Runtime Environment