apache / apache/netbeans

NB15 problem adding libraries to project in the Properties>Libraries dialog box

Open
#4,640 2 comments 0 reactions 0 assignees View on GitHub
kind:bug Look and Feel needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 15 release candidate

### What happened

In the Project Properties>Libraries dialog box (Ant Java project), after adding a certain number of libraires (somewhere around 5-7), the “+” signs for adding things to Modulepath and Classpath disappear. It seems that they will come back if enough libraries are deleted. When the “+” signs have disappeared, one can still add libraries by right-clicking “Libraries” in the Projects tree. These buttons should not disappear no matter how full the window gets. I am upgrading from NB 8.2 to NB 15, so I don't know precisely know when this bug was introduced, as NB 8.2 had a different dialog box layout.
![NB1](https://user-images.githubusercontent.com/56321288/190468786-e4235e54-120b-44e3-82ae-271380632eff.png)
![NB2](https://user-images.githubusercontent.com/56321288/190468805-1c14fd5d-a884-4230-8d0a-fef2e109228b.png)

### How to reproduce

1. Project Properties>Libraries dialog box for an Ant Java project
2. Click "+" sign to add a library.
3. Continue to add libraries, and the "+" sign will disappear
4.

### Did this work correctly in an earlier version?

Apache NetBeans 12.3 or earlier

### Operating System

Windows 10 Professional

### JDK

Java(TM) SE Runtime Environment (build 17+35-LTS-2724)

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

Problem occurs regularly.

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start in the Project Properties > Libraries dialog for an Ant Java project and reproduce the issue by adding several libraries until the Modulepath and Classpath “+” buttons disappear. Trace the dialog’s layout behavior and compare it with the alternative library-adding action; done means both buttons remain available as libraries are added.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.