apache / apache/netbeans

Nimbus LAF: Menu -> Team -> Show history renders wrong with non default font

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

Description

### Apache NetBeans version

Apache NetBeans 14

### What happened

I need a font size bigger then a default one, so, in netbeans.conf I add the following `--fontsize 16 --laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd`. However, with such settings git history renders bad:

![Screenshot from 2022-06-22 19-29-19](https://user-images.githubusercontent.com/10261361/175086793-0fe275ac-eb89-434c-a91e-adda0f47b028.png)

### How to reproduce

_No response_

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

No

### Operating System

Ubuntu 20.04.3 LTS

### JDK

17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-86

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

At the same, it is strange that sometimes it is rendered correctly, but most of the time wrongly.

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

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Menu -> Team -> Show History in Apache NetBeans 14 on Ubuntu 20.04.3 with JDK 17, Nimbus, and the reported font and antialiasing settings. Compare the incorrect and intermittent correct rendering shown in the issue, then identify the affected Git history UI entry point and define completion as consistent rendering with the non-default font settings.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.