[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-18 Thread Jira


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

Sergio García commented on NETBEANS-6172:
-

Thanks a lot Eirik, it is resolved.
The problem was that the parameter I was using was ""-Dsun.java2d.uiScale = 
1.0"; i think this is not correct , the float number give problems.


> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-10 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-6172:
---

In that case the current behavior is as intended.

You should be able to do add a runtime parameter "-Dsun.java2d.uiScale=1" to 
get small fonts (works on my machine on both Java 9 and Java 16). Just make 
sure the parameter is actually passed.

> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-08 Thread Jira


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

Sergio García commented on NETBEANS-6172:
-

Hello Eirik,
Regarding the question you are asking me, the answer is yes. 
In older versions he used large fonts; this was enough to be able to work and 
view the screens in real size ( in debugger mode ). 


> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-05 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-6172:
---

NetBeans uses the same scaling configuration as java.exe and javaw.exe (see 
https://github.com/apache/netbeans/pull/883/files ). Normally this means that 
both NetBeans and other Java apps will be scaled up and appear sharp. But if 
you have previously changed the EXE file settings in Windows Explorer via 
Properties->Compatibility, that may cause the behavior to change.

See also my previous question--are you trying to make the application appear at 
1x scale ("unscaled") despite the Windows being configured to e.g. 200%? This 
would make your application look very small on your screen compared to other 
apps. Is that what you need?

> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-05 Thread Jira


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

Sergio García commented on NETBEANS-6172:
-

It is a bit strange but it seems that all this does not quite work; if i change 
HiDPI settings doesn't work. It seems related with internal NetBeans 
configuration.
Is it possible that Netbeans is using its own scaling configuration?
Thanks a lot,
Sergio.




> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-05 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-6172:
---

> The desired behavior is that , when debugging , the swing components (Frames 
> Panels) are not rescaled according to the windows configuration (DPI).
In this case the application window would appear very small--is this your 
desired behavior? Is this what happens when you run outside of NetBeans?

I would recommend finding each of the EXE files involved here--probably 
netbeans64.exe, java.exe, and javaw.exe (in your JDK folder), right clicking 
them from Windows explorer, going to Properties->Compatibility->Change HiDPI 
settings and _uncheck_ both checkboxes, so that no special compatibility 
settings are used. I'd also double-check that your app is really running on 
Java 15. With recent Java versions, windows should be scaled and text should be 
sharp at the same time.

> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-05 Thread Jira


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

Sergio García commented on NETBEANS-6172:
-

Hello Eirik; thanks a lot for your quick response.
The version of Java is the process being debugged run with JDK-15.0.2.
The desired behavior is that , when debugging , the swing components (Frames 
Panels) are not rescaled according to the windows configuration (DPI).

> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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



[jira] [Commented] (NETBEANS-6172) NetBeans screen scaling with Windows 10

2021-11-05 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-6172:
---

Which version of Java is the process being debugged run in?

> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process
> In my case, having a GUI adapted to the real size of my monitor screen is 
> important.
What is the desired behavior for the application being run here? Do you want it 
to be unscaled (smaller than other Windows apps, but sharp), or scaled (same 
size as other Windows apps)? Is the problem the size of the app, or that it's 
the correct size but blurry?



> NetBeans screen scaling with Windows 10 
> 
>
> Key: NETBEANS-6172
> URL: https://issues.apache.org/jira/browse/NETBEANS-6172
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Hibernate
>Affects Versions: 12.4
> Environment: Windows 10, NetBeans 12.0
>Reporter: Sergio García
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
> Attachments: LoginScaled.png, LoginScaled_Real.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
>  
>  In the latest versions of Netbeans I have been able to verify that the 
> Netbeans IDE is rescaled according to the latent configuration in Windows 10 
> (dpi); this new behavior is fine and improves the development environment. 
> However it is also a problem as it also visually rescales the GUIs in the 
> debugging process; i'm using Maven to compile and execute the program.
>  In my case, having a GUI adapted to the real size of my monitor screen is 
> important. I have tried to solve this problem by parameterizing the java with 
> commands like "-Dsun.java2d.uiScale = 1.0" or by disabling the windows 
> rescaling option that exists in the "java.exe" and "javaw.exe" properties but 
> this does not work for NetBeans. It also doesn't work to change the Netbeans 
> setting with the parameter "-J-Dsun.java2d.dpiaware = true".
>   
>  *It would be interesting to have a clear and functional way to avoid 
> rescaling windows to facilitate the visual design of the GUIs.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
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