apache / apache/netbeans

Some controls broken in the "Formatting" settings when using FlatLaf with uiScale=1.75

Open
#7,347 1 comment 0 reactions 0 assignees View on GitHub
kind:bug needs:triage UI
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

I am running NetBeans 21 with a HiDPI screen (4K) using Fedora 40 with KDE (wayland) and I have set `flatlaf.uiScale` to 1.75

With this setting some controls in the options dialog are not working properly. Most importantly "JSpinner" input fields but some regular (short) text fields as well

![grafik](https://github.com/apache/netbeans/assets/100460969/cb4b1f83-0ca5-425e-b979-dfa9fe4efdce)

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

Run NetBeans with the "FlatLaf light" Look & Feel on a 4K screen with KDE 6.0 set to 175% and pass `-J-Dflatlaf.uiScale=1.75` on the command line.

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

No / Don't know

### Operating System

Fedora 40, KDE Plasma 6.0

### JDK

JDK 21 (Adoptium)

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

My workaround was to switch to the Nimbus Look & Feel, edit the settings and switch back to FlatLaf

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

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in NetBeans 21 using the FlatLaf light look and feel, a 4K KDE display at 175%, and -J-Dflatlaf.uiScale=1.75. Inspect the Formatting settings in the Options dialog, focusing on JSpinner and short text-field controls; done means those controls work normally at that scale without switching to Nimbus.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.