You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Bilu Al <al...@gmail.com> on 2020/01/28 16:22:25 UTC
[Netbeans 11.2][JDK 13] Resolution issue
Hello,
My Netbeans 11.2 looks ugly when starting with jdk-13.
Below you can see the the difference between NB 11.2 + jdk-13 (righ) and NB
11.1 jdk-8 (left):
[image: netbeans.PNG]
I have the same issue with NB 11.1 + JDK >= 11.
NB 11.2 + JDK 8 works fine
I have the same config for both NB11.1 and 11.2
The issue seems to come with JDK >= 11
Did this a known issue? Is there a workaround?
Re: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Bilu Al <al...@gmail.com>.
Hello Eirik, i tried Scale 100% with last 11.3 revision and as you said it
looks exactly the same with Java 8. No huge fonts and so.
But it is a bit annoying because down-scaling to 100% affect other apps
like chrome, office etc...which font are smaller.
I hope there is other fixes coming.
By the way the FLAT LAF is awesome.
Le ven. 21 févr. 2020 à 01:30, Eirik Bakke <eb...@ultorg.com> a écrit :
> When changing scaling settings, you may need to log out and back in of
> Windows before seeing the changes properly applied. With 100% scaling and
> logging out and back in, you should get the same appearance as in Java 8
> (which simply did not support HiDPI scaling at all).
>
>
>
> (There are improvements in this area coming in 11.3, see
> https://github.com/apache/netbeans/pull/1777 . See also
> https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements
> for a complete overview of HiDPI-related issues.)
>
>
>
> -- Eirik
>
>
>
> *From:* Bilu Al <al...@gmail.com>
> *Sent:* Tuesday, January 28, 2020 12:03 PM
> *To:* Laszlo Kishalmi <la...@gmail.com>
> *Cc:* NetBeans Mailing List <us...@netbeans.apache.org>
> *Subject:* Re: [Netbeans 11.2][JDK 13] Resolution issue
>
>
>
> i mean the UI is blurred. icons are larger and editor font size is also
> different even i am using the same font in both NB : DejaVu Sans Mono 19.
>
>
>
> As you advise i change the Scale and Layout from 150% (recommended on
> Windows 10) to 100% and it seems a bit better but still not optimal:
>
>
>
> [image: netbeans_2.PNG]
>
>
>
>
>
> This change also affect other apps which icons looks smaller. Hope 11.3
> will be better supporting this. Thanks you
>
>
>
>
>
>
>
> Le mar. 28 janv. 2020 à 17:35, Laszlo Kishalmi <la...@gmail.com>
> a écrit :
>
> What do you mean ugly?
>
> Any more details? You might use some HIDPI settings which could result
> some rescaling. JDK 8 has no HIDPI support, above that JDK has, but the
> software needs to support that as well. The
>
> HDPI support is gradually added to NetBeans, so some parts can look weird,
> however there are lot of improvements in 11.3-beta1 if you would like to
> test that.
>
> On 1/28/20 8:22 AM, Bilu Al wrote:
>
> Hello,
>
> My Netbeans 11.2 looks ugly when starting with jdk-13.
>
> Below you can see the the difference between NB 11.2 + jdk-13 (righ) and
> NB 11.1 jdk-8 (left):
>
> [image: netbeans.PNG]
>
>
>
> I have the same issue with NB 11.1 + JDK >= 11.
>
> NB 11.2 + JDK 8 works fine
>
> I have the same config for both NB11.1 and 11.2
>
> The issue seems to come with JDK >= 11
>
> Did this a known issue? Is there a workaround?
>
>
RE: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Eirik Bakke <eb...@ultorg.com>.
When changing scaling settings, you may need to log out and back in of Windows before seeing the changes properly applied. With 100% scaling and logging out and back in, you should get the same appearance as in Java 8 (which simply did not support HiDPI scaling at all).
(There are improvements in this area coming in 11.3, see https://github.com/apache/netbeans/pull/1777 . See also https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements for a complete overview of HiDPI-related issues.)
-- Eirik
From: Bilu Al <al...@gmail.com>
Sent: Tuesday, January 28, 2020 12:03 PM
To: Laszlo Kishalmi <la...@gmail.com>
Cc: NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: [Netbeans 11.2][JDK 13] Resolution issue
i mean the UI is blurred. icons are larger and editor font size is also different even i am using the same font in both NB : DejaVu Sans Mono 19.
As you advise i change the Scale and Layout from 150% (recommended on Windows 10) to 100% and it seems a bit better but still not optimal:
[netbeans_2.PNG]
This change also affect other apps which icons looks smaller. Hope 11.3 will be better supporting this. Thanks you
Le mar. 28 janv. 2020 à 17:35, Laszlo Kishalmi <la...@gmail.com>> a écrit :
What do you mean ugly?
Any more details? You might use some HIDPI settings which could result some rescaling. JDK 8 has no HIDPI support, above that JDK has, but the software needs to support that as well. The
HDPI support is gradually added to NetBeans, so some parts can look weird, however there are lot of improvements in 11.3-beta1 if you would like to test that.
On 1/28/20 8:22 AM, Bilu Al wrote:
Hello,
My Netbeans 11.2 looks ugly when starting with jdk-13.
Below you can see the the difference between NB 11.2 + jdk-13 (righ) and NB 11.1 jdk-8 (left):
[netbeans.PNG]
I have the same issue with NB 11.1 + JDK >= 11.
NB 11.2 + JDK 8 works fine
I have the same config for both NB11.1 and 11.2
The issue seems to come with JDK >= 11
Did this a known issue? Is there a workaround?
Re: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Bilu Al <al...@gmail.com>.
i mean the UI is blurred. icons are larger and editor font size is also
different even i am using the same font in both NB : DejaVu Sans Mono 19.
As you advise i change the Scale and Layout from 150% (recommended on
Windows 10) to 100% and it seems a bit better but still not optimal:
[image: netbeans_2.PNG]
This change also affect other apps which icons looks smaller. Hope 11.3
will be better supporting this. Thanks you
Le mar. 28 janv. 2020 à 17:35, Laszlo Kishalmi <la...@gmail.com>
a écrit :
> What do you mean ugly?
>
> Any more details? You might use some HIDPI settings which could result
> some rescaling. JDK 8 has no HIDPI support, above that JDK has, but the
> software needs to support that as well. The
>
> HDPI support is gradually added to NetBeans, so some parts can look weird,
> however there are lot of improvements in 11.3-beta1 if you would like to
> test that.
> On 1/28/20 8:22 AM, Bilu Al wrote:
>
> Hello,
>
> My Netbeans 11.2 looks ugly when starting with jdk-13.
>
> Below you can see the the difference between NB 11.2 + jdk-13 (righ) and
> NB 11.1 jdk-8 (left):
> [image: netbeans.PNG]
>
> I have the same issue with NB 11.1 + JDK >= 11.
>
> NB 11.2 + JDK 8 works fine
>
> I have the same config for both NB11.1 and 11.2
>
> The issue seems to come with JDK >= 11
>
> Did this a known issue? Is there a workaround?
>
>
Re: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Laszlo Kishalmi <la...@gmail.com>.
What do you mean ugly?
Any more details? You might use some HIDPI settings which could result
some rescaling. JDK 8 has no HIDPI support, above that JDK has, but the
software needs to support that as well. The
HDPI support is gradually added to NetBeans, so some parts can look
weird, however there are lot of improvements in 11.3-beta1 if you would
like to test that.
On 1/28/20 8:22 AM, Bilu Al wrote:
>
> Hello,
>
> My Netbeans 11.2 looks ugly when starting with jdk-13.
>
> Below you can see the the difference between NB 11.2 + jdk-13 (righ)
> and NB 11.1 jdk-8 (left):
>
> netbeans.PNG
>
> I have the same issue with NB 11.1 + JDK >= 11.
>
> NB 11.2 + JDK 8 works fine
>
> I have the same config for both NB11.1 and 11.2
>
> The issue seems to come with JDK >= 11
>
> Did this a known issue? Is there a workaround?
>
RE: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Eirik Bakke <eb...@ultorg.com>.
On 11.3 you can actually use any scale, though--all of the most critical HiDPI-related bugs have been taken care of. If you are using multiple monitors, a few UI elements (e.g. checkboxes) may look slightly better on whichever monitor was the "main" monitor at login.
(You'll still see blurry icons, but text should be sharp and things should be of the right relative proportions. Redrawing icons for HiDPI screens is a project for later...)
Myself, I run NetBeans on Windows at 150% HiDPI scaling.
-- Eirik
From: Bilu Al <al...@gmail.com>
Sent: Monday, March 2, 2020 11:24 AM
To: Thomas Kellerer <sh...@gmx.net>
Cc: NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: [Netbeans 11.2][JDK 13] Resolution issue
Hello Thomas, thanks you for your reply.
The default scaling on my OS is 125%
With Netbeans 11.3 starting with -J-Dsun.java2d.uiScale=125% -J-Dsun.java2d.uiScale.enabled=true i still got the huge font.
But thanks you very much with these system properties because with this i can keep my default OS 125% and only start Netbeans with 100% and it looks same as with Java 8.
[2020-03-02-17-22-05.png]
Thanks you
Le lun. 2 mars 2020 à 14:29, Thomas Kellerer <sh...@gmx.net>> a écrit :
Bilu Al schrieb am 28.01.2020 um 17:22:
> My Netbeans 11.2 looks ugly when starting with jdk-13.
>
> Below you can see the the difference between NB 11.2 + jdk-13 (righ) and NB 11.1 jdk-8 (left):
>
> netbeans.PNG
>
> I have the same issue with NB 11.1 + JDK >= 11.
>
> NB 11.2 + JDK 8 works fine
>
> I have the same config for both NB11.1 and 11.2
>
> The issue seems to come with JDK >= 11
>
> Did this a known issue? Is there a workaround?
>
Did you try starting NetBeans with the following system properties?
-Dsun.java2d.uiScale=125%
-Dsun.java2d.uiScale.enabled=true
(or 150% - whatever your screen needs)
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Bilu Al <al...@gmail.com>.
Hello Thomas, thanks you for your reply.
The default scaling on my OS is 125%
With Netbeans 11.3 starting with -J-Dsun.java2d.uiScale=125%
-J-Dsun.java2d.uiScale.enabled=true i still got the huge font.
But thanks you very much with these system properties because with this i
can keep my default OS 125% and only start Netbeans with 100% and it looks
same as with Java 8.
[image: 2020-03-02-17-22-05.png]
Thanks you
Le lun. 2 mars 2020 à 14:29, Thomas Kellerer <sh...@gmx.net> a écrit :
> Bilu Al schrieb am 28.01.2020 um 17:22:
> > My Netbeans 11.2 looks ugly when starting with jdk-13.
> >
> > Below you can see the the difference between NB 11.2 + jdk-13 (righ) and
> NB 11.1 jdk-8 (left):
> >
> > netbeans.PNG
> >
> > I have the same issue with NB 11.1 + JDK >= 11.
> >
> > NB 11.2 + JDK 8 works fine
> >
> > I have the same config for both NB11.1 and 11.2
> >
> > The issue seems to come with JDK >= 11
> >
> > Did this a known issue? Is there a workaround?
> >
>
> Did you try starting NetBeans with the following system properties?
>
> -Dsun.java2d.uiScale=125%
> -Dsun.java2d.uiScale.enabled=true
>
> (or 150% - whatever your screen needs)
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
Re: [Netbeans 11.2][JDK 13] Resolution issue
Posted by Thomas Kellerer <sh...@gmx.net>.
Bilu Al schrieb am 28.01.2020 um 17:22:
> My Netbeans 11.2 looks ugly when starting with jdk-13.
>
> Below you can see the the difference between NB 11.2 + jdk-13 (righ) and NB 11.1 jdk-8 (left):
>
> netbeans.PNG
>
> I have the same issue with NB 11.1 + JDK >= 11.
>
> NB 11.2 + JDK 8 works fine
>
> I have the same config for both NB11.1 and 11.2
>
> The issue seems to come with JDK >= 11
>
> Did this a known issue? Is there a workaround?
>
Did you try starting NetBeans with the following system properties?
-Dsun.java2d.uiScale=125%
-Dsun.java2d.uiScale.enabled=true
(or 150% - whatever your screen needs)
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists