[ 
https://issues.apache.org/jira/browse/NETBEANS-765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492966#comment-16492966
 ] 

Marcin Jamszolik commented on NETBEANS-765:
-------------------------------------------

Hi Guys, Just found this issue and would like to respond to the question on JDK 
10 Directly.

I run on Fedora 28 with Gnome 28 and OpenJDK10 with 4k monitor.

And even as of today I run into catch 22 situation with Java/Netbeans.

*Scenario 1:*  Install Netbeans and start on JDK 10 no custom flags or 
anything.  The result, I get all components to be extremely tiny, icons, 
scrollers, tabs, etc..  The fonts seem to be doing much better and push the ui 
components around, I guess since GDK/Gnome adjusts them somewhat.

!Screenshot from 2018-05-28 19-40-36.png!

 

Scenario 2:  Start Netbeans in a console with the following ENV Variables 
exported.
{code:java}
export GDK_DPI_SCALE=0.5  <-- this one does not seem to help or work.
export GDK_SCALE=2
{code}
Now, Netbeans components, icons, and scrollers seem to scale correctly... 
However the FONTS are 4 times larger and no matter what I do, I cannot get them 
to sale to their proportional size.  (See attachment)

!Screenshot from 2018-05-28 19-29-19.png!

 

A basic test running Netbeans with Java9 or 10 in Gnome 26 or 28 with HIDPI 4k 
monitor and you cannot miss the above scenario.

I have yet to see a solution to this. I was deeply disappointed to see this and 
continue to witness  all along while everyone said JDK 9+ would fix scaling 
issues for Java and hence for Netbeans and yet here we are!

 

Thank you

 

 

 

> HiDPI resolution of 3840x2160 results in tiny icons and text fields that are 
> too small for the text within
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-765
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-765
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Sidney Lins
>            Priority: Major
>              Labels: HiDPI
>         Attachments: Screenshot from 2018-05-28 19-29-19.png, Screenshot from 
> 2018-05-28 19-29-19.png, Screenshot from 2018-05-28 19-40-36.png
>
>
> Please, refer to [https://netbeans.org/bugzilla/show_bug.cgi?id=252452] to 
> get more information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to