Files view node order changes after startup
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 21
### What happened
Opening a Maven multi module project displays the nodes in alphabetic order in the Projects and Files views. After restarting the IDE however, after the IDE is done "Opening Projects", the order changes in the Files view for some reason. Closing and reopening the project fixes the issue, but doing this every time is annoying because e.g. the main project information is lost.
I only use Maven projects, so I'm not sure if this is a Maven project issue or present with other types of projects.
Here is a video demonstrating the issue:
https://youtu.be/6gBZsCfHkBI
### Language / Project Type / NetBeans Component
Projects/Files view in NetBeans IDE
### How to reproduce
Create new or open existing Maven project with multiple modules and restart NetBeans IDE.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11
### JDK
21.0.2; OpenJDK 64-Bit Server VM 21.0.2+13-LTS
### Apache NetBeans packaging
Third-party package
### Anything else
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Start by reproducing the ordering change with a multi-module Maven project on Windows 11, following the issue's restart sequence. Trace the Projects/Files view startup and project-opening flow; done means node order remains stable after restarting NetBeans without closing and reopening the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100