This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250382 - On ultra HD (4k) screen, UI doesn't adapt accordingly to Desktop font unit
Summary: On ultra HD (4k) screen, UI doesn't adapt accordingly to Desktop font unit
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 21:31 UTC by lcapra
Modified: 2017-11-07 16:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
what I see (159.74 KB, image/png)
2015-02-11 21:31 UTC, lcapra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lcapra 2015-02-11 21:31:38 UTC
Created attachment 151964 [details]
what I see

I've recently switched to a new laptop with 4k screen

Gnome has support for UHD and handle it decently, resizing icons and fonts to a "normal" size.

In Netbeans this happens to text editor only, but most of the frame UI stay in an unusable size. As I cannot find a proper setting for it I guess is a bug.

This happens too with popups and windows in general which open undersized and need to be resized each time to be usable.

Attached a screenshot

Regards,
Luca
Comment 1 lcapra 2015-02-28 15:20:56 UTC
I'm using the fontsize configuration with different theme. This allow for menus to be readable as for most areas.

What still is wrongly rendered is 

- Window sizes: most of the content is to big and in some case it is not possible to scale making selection of options a bet
- Icons: on project listing, I see the red exclamation mark only sticking my nose to the screen :)

Thnaks
Comment 2 tbrunhoff 2017-09-18 14:15:38 UTC
[copied from my comments in ]

I've read that fixing this has been put off pending release of jdk9.  I just installed an early access jdk9 and NB dev (Build 201709180002). It doesn't look pretty, and even gets a classNotFound exception (https://netbeans.org/bugzilla/show_bug.cgi?id=271499).

In my case, I have a new dell 7520 15" 4k display (3840x2160) which puts the dpi at about 240. Running the the current jdk8 has many of the visual items at microscopic size. I have the code font set at 30 in order to see it, and the look and feel is set to GTK+. This is barely usable. Is there a workaround such as a config?

Is this a dup of #253761?
Comment 3 blurry 2017-11-07 16:30:44 UTC
I've been using daily builds of JDK 9 and Netbeans 9 for a few months and haven't had visual display issues for a while now.  I have: Windows 10, Samsung 4k monitor, System font size set to 150%.  It looks fine, my only gripe (not a P1) is that we should have higher-quality icons so they look prettier on hi-dpi displays.  But that is such a minor concern compared to having ultra-tiny text. ;)  Anyway the issue really seems resolved in more recent builds of Java 9, including the first official release version.  If this can't be reproduced in Java 9 then closing this issue makes sense.