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.
Summary: | HiDPI resolution of 3840x2160 results in tiny icons and text fields that are too small for the text within | ||
---|---|---|---|
Product: | platform | Reporter: | jianyongng |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | CLOSED INVALID | ||
Severity: | normal | CC: | chrizzly, tbrunhoff |
Priority: | P2 | ||
Version: | Dev | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Screenshot of Netbeans 8.1 on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in ElementaryOS Freya (Linux) Screenshot of Netbeans 8.1 (with the new Darcula theme) on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in ElementaryOS Freya (Linux) Screenshot of Netbeans 8.1 (with the new Darcula theme) on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in Windows 10 Full screen shot of 4k display running jdk9 and NB |
Description
jianyongng
2015-05-18 10:29:40 UTC
Created attachment 153718 [details]
IDE log
This is also an issue with the upcoming 8.1 release on UHD/4K displays on Windows 10. The UI must listen to the global dpi settings, otherwise it becomes unusable on smaller UHD displays. Not bound to Windows. Experiencing the same on Linux. Display: 3840x2160 OS: ubuntu 15.10 (64-bit) Netbeans info: Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17 System: Linux version 4.2.0-23-generic running on amd64; UTF-8; en_US (nb) I also would like to stress the need to fix this, since many new laptops (such as the Dell XPS 15 / Precision 5510) ship with 4K HiDPI screens. I just bought the latter one, and Netbeans looks amateurish compared to native GTK applications. Attaching a screenshot. Created attachment 158154 [details]
Screenshot of Netbeans 8.1 on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in ElementaryOS Freya (Linux)
Created attachment 158158 [details]
Screenshot of Netbeans 8.1 (with the new Darcula theme) on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in ElementaryOS Freya (Linux)
You need the eyes of a hawk to use NB on this screen...
Created attachment 158256 [details]
Screenshot of Netbeans 8.1 (with the new Darcula theme) on a HiDPI/4k (3840x2160) screen using Oracle JDK8u66 in Windows 10
And here's how it looks in Windows on the same laptop (Dell Precision 5510). Notice the difference in font rendering between Java/Netbeans and the native font rendering of the desktop icons. It puts a strain on the eyes :(
I too was having the same issues on a large display, but found that by adding the font option in netbeans.conf, does the UI fonts were much more legable (restart Netbeans to activate). Currently I'm using the settings below on a 2560x1400 screen, but you'll need to salt to suit your particular tastes. ;) netbeans_default_options="--fontsize 24" Be aware though that there are other bugs in the UI that stop all of the controls scaling to match the new, large font. For me, the general size improvement far outweighs the hassle of messing around, enlarging the occasional dialog to see the contents. Caveat benevolentia! Looks like support is built into JDK9 http://openjdk.java.net/jeps/263 We need a patch now I think, not waiting to NB9 the trick with the dpiaware=false was first step. Because it looks good but after 3 seconds NetBeans resizes back to getting smaller. I googled and I found this: http://stackoverflow.com/questions/23651486/netbeans-ide-scaling-on-windows-8 the thing with the registry and manifests (for windows 10) worked for me. I can work again. Hope that this will be fixed in NetBeans 9. This is really needed. Seems not fixed in the newest nightly build :/ I think they're just waiting for Java 9 release (this July) which is supposed to fix HiDPI problem for all Java applications including Netbean: http://openjdk.java.net/jeps/263 Will it be fixed in Netbeans 9? World be awesome This is clearly not making progress, and we are not past jdk8 EA. I have a dell precision 7520 with a 3840x2160 display, running Fedora 26. The display card is Quadro M1200 Mobile. The NB, Java and specific OS versions are listed below. I've tried with -J-Dsun.java2d.dpiaware=false and =true I've tried with -J--add-modules=java.se.ee (which does address bug #271499) But still all the icons and text fields are far too small. One screenshot attached. Product Version: NetBeans IDE Dev (Build 201712030002) Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11 Runtime: Java(TM) SE Runtime Environment 9.0.1+11 System: Linux version 4.13.13-200.fc26.x86_64 running on amd64; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev Created attachment 165538 [details]
Full screen shot of 4k display running jdk9 and NB
Correction: "...and we are now well past jdk9 EA. As I already said, this workaround helped me: http://stackoverflow.com/questions/23651486/netbeans-ide-scaling-on-windows-8. Of course it is only a workaround, but it could help you too. Can you please create a new ticket at the new Bugtracker JIRA? https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=216 So you can reference this ticket to the other one as an external issue and we can close it here. Would be great. thx :) I was not sure whether a bug had been reported on apache JIRA so I did: https://issues.apache.org/jira/browse/NETBEANS-765 BTW, I have the same problem in NB 8.2. Would really appreciate any work on it. Thank you! I have the same problem with NetBeans 9.0.....on XPS 15...It drives me crazy. Any fix? (In reply to sidtj from comment #20) > I was not sure whether a bug had been reported on apache JIRA so I did: > > https://issues.apache.org/jira/browse/NETBEANS-765 > > BTW, I have the same problem in NB 8.2. Would really appreciate any work on > it. Thank you! Unfortunately there will be no more bug fixes or updates for NetBeans 8.2. The HiDPI problem will work with the Stackoverflow solution quite well. I use it everyday, w/o any problem. You can switch to NetBeans 9.0 or NetBeans 10.0 VC 1 (Voting Candidate 1, internal name for Apache first Release of NB 10.0). (In reply to tralala from comment #21) > I have the same problem with NetBeans 9.0.....on XPS 15...It drives me > crazy. Any fix? Hey tralala, for NetBeans 9.0 you can fix it, for windows, when you right click the netbeans.exe or netbeans64.exe, go to properties -> compatibilty -> change high dpi settings -> and check the checkbox: override high dpi scale and choose Application. (I use german Windows so I don't know the exact wording). So it is the last checkbox. Good to know, that is not needed with NetBeans 10.0 VC1 anymore :) So download this new version. I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-765 and here https://issues.apache.org/jira/browse/NETBEANS-1227. Please discuss it there for further information. Those people who are using NetBeans- PHP platform should be very happy after getting the information on how to use the Apache issue tracking system for new NetBeans issues. Lauren, https://www.cvfolks.co.uk/cover-letter/ |