flathub / flathub/org.apache.netbeans

Hidpi scaling under Wayland

Open
#55 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
7
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Issue copied from apache/netbeans#6121 as this only happens with the flatpak.

### Apache NetBeans version

Apache NetBeans 18

### What happened

When launching the flatpak version of NetBeans on KDE-Plasma 5.27.5 with Wayland in 4k resolution with 2x scaling everything is really tiny.

![Screenshot_20230626_083208](https://github.com/apache/netbeans/assets/8307357/285f235e-ac29-4c15-a69d-14ab8384698f)

This might be related to #4889 but the flatpak uses Java 11.

A workaround is to add `-J-Dsun.java2d.uiScale=2` to the startup options in `/var/lib/flatpak/app/org.apache.netbeans/current/active/files/netbeans/etc/netbeans.conf`.

### How to reproduce

1. Set scaling to 200 % in KDE display settings.
2. `flatpak run org.apache.netbeans`

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

No / Don't know

### Operating System

openSUSE Tumbleweed 20230604

### JDK

flatpak's OpenJDK 64-Bit Server VM 11.0.19+7

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.