Running IDE from zip distribution does not save and/or restore some settings.
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 27
### What happened
Running the NetBeans IDE from the uncompressed official zip package does not save and/or restore some settings. The OS is Linux Mint 22.1 Cinammon. The zip is extracted in /opt and a custom .desktop file provided to run it. It is run as a normal user, so it stores it's settings in the user Home.
The same was observed, but not reported, in NetBeans 26 IDE zip package. This did not happen with the earlier official .deb packages.
Some settings that have been confirmed as failing to restore are:
- Splitter position for the vertical splitter between 'Projects' and 'Editor' panels. Happens on every restart of the IDE.
- Activated state of the JavaFX plugin (Scene Builder integration). Happens after a few restarts of the IDE (sorry, have been able to exactly count them).
Other settings may be impacted and not observed yet.
I have moved to using the zip distribution since NB 26 after the earlier issue reported with the installer bundled with JDK, where it would loose the dependency to loaded library projects and change to a dependency on the built jars of said library projects.
### Language / Project Type / NetBeans Component
JavaFX maven project, Zulu JDK 21 LTS (deb).
### How to reproduce
- Vertical splitter position:
Start the Netbeans IDE.
Load some projects.
Change the splitter position to your liking.
Close the IDE.
Start the IDE.
- Activated state of the JavaFX plugin:
Start the Netbeans IDE.
Load a javaFX project with fxml files.
Activate the JavaFX plugin.
Configure path to Scene Builder.
Close the IDE.
Start the IDE.
Open an fxml file by double-clicking or right-click, 'Open'.
(repeat last 3 a few times until opening an fxml file opens in the NB editor window).
### Did this work correctly in an earlier version?
Apache NetBeans 24 or earlier
### Operating System
Linux Mint 22.1 Cinammon
### JDK
Zulu JDK 21 LTS (deb) x64
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
The same was observed, but not reported, in NetBeans 26 IDE zip package. This did not happen with the earlier oficial .deb packages.
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Start by reproducing the splitter-position failure with the NetBeans 27 binary zip on Linux Mint, then repeat the JavaFX plugin and Scene Builder configuration steps described in the issue. Compare behavior across restarts and against the earlier .deb packaging. Done means the reported settings persist and restore reliably when the IDE is launched from the zip distribution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100