[jira] [Comment Edited] (NETBEANS-1344) NetBeans looks Ugly on Java 11 on Linux

2018-10-31 Thread Aldo Brucale (JIRA)


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

Aldo Brucale edited comment on NETBEANS-1344 at 10/31/18 12:07 PM:
---

A few examples running netbeans 10.0-vc1 on Ubuntu 18.04 with Java 10, 11 and 
11 the options -J-Djdk.gtk.version=2.2 and -J-Dawt.useSystemAAFontSettings=on. 
With Java 8 it looks the same as with Java 10.

First, some code:
 * -Openjdk- Oracle JDK 10:

!java10_code.png!
 * Openjdk 11:
 !java11_code.png!
 * Openjdk 11 with -J-Djdk.gtk.version=2.2 and 
-J-Dawt.useSystemAAFontSettings=on:
 !java11opt_code.png!

 

Menu and toolbar:
 * -Openjdk- Oracle JDK 10:
 !java10_menu_and_toolbar.png!

 * Openjdk 11:
 !java11_menu_and_toolbar.png!

 * Openjdk 11 + options
 !java11opt_menu_and_toolbar.png!

 

Projects window:
 * -Openjdk- Oracle JDK 10:
 !java10_projects.png!

 * Openjdk 11:
 !java11_projects.png!

 * Openjdk 11 + options
 !java11opt_projects.png!

 

Output window:
 * -Openjdk- Oracle JDK 10:
 !java10_output_window.png!

 * Openjdk 11:
 !java11_output_window.png!

 * Openjdk 11 + options  !java11opt_output_window.png!


was (Author: aldobrucale):
A few examples running netbeans 10.0-vc1 on Ubuntu 18.04 with Java 10, 11 and 
11 the options -J-Djdk.gtk.version=2.2 and -J-Dawt.useSystemAAFontSettings=on. 
With Java 8 it looks the same as with Java 10.

First, some code:
 * Openjdk 10:

!java10_code.png!
 * Openjdk 11:
!java11_code.png!
 * Openjdk 11 with -J-Djdk.gtk.version=2.2 and 
-J-Dawt.useSystemAAFontSettings=on:
!java11opt_code.png!


 

Menu and toolbar:
 * Openjdk 10:
!java10_menu_and_toolbar.png!


 * Openjdk 11:
!java11_menu_and_toolbar.png!


 * Openjdk 11 + options
!java11opt_menu_and_toolbar.png!


 

Projects window:
 * Openjdk 10:
!java10_projects.png!


 * Openjdk 11:
!java11_projects.png!


 * Openjdk 11 + options
!java11opt_projects.png!


 

Output window:
 * Openjdk 10:
!java10_output_window.png!


 * Openjdk 11:
!java11_output_window.png!


 * Openjdk 11 + options !java11opt_output_window.png!

> NetBeans looks Ugly on Java 11 on Linux
> ---
>
> Key: NETBEANS-1344
> URL: https://issues.apache.org/jira/browse/NETBEANS-1344
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Priority: Major
>  Labels: Java11, Linux
> Attachments: Screenshot from 2018-10-04 09-11-28.png, 
> document_tab.png, image-2018-10-15-20-10-48-233.png, 
> image-2018-10-15-20-11-07-846.png, image-2018-10-15-20-16-27-048.png, 
> image-2018-10-15-20-19-36-959.png, image-2018-10-15-20-19-49-797.png, 
> image-2018-10-15-20-21-15-737.png, image-2018-10-15-20-24-00-937.png, 
> java10_code.png, java10_menu_and_toolbar.png, java10_output_window.png, 
> java10_projects.png, java11_code.png, java11_menu_and_toolbar.png, 
> java11_output_window.png, java11_projects.png, java11opt_code.png, 
> java11opt_menu_and_toolbar.png, java11opt_output_window.png, 
> java11opt_projects.png, openjdk-8_code.png, openjdk-8_tree.png, 
> openjdk-8_tree.png, oraclejdk-8_code.png, oraclejdk-8_tree.png, 
> selected_item.png, toolbar_buttons.png
>
>
> Well actually Java 11 the defaults Gnome3 on Linux, resulting poor rendering 
> on the default GTK look and feel. Using other Look and feel (Nimbus, Darcula) 
> does not suffer from this issue.
>  Forcing to use GTK 2.2 fixes the GTK look and feel.
> To force gnome we need to pass: {{-Djdk.gtk.version=2.2}} to the Java



--
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



[jira] [Comment Edited] (NETBEANS-1344) NetBeans looks Ugly on Java 11 on Linux

2018-10-15 Thread JIRA


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

Alied Pérez Martínez edited comment on NETBEANS-1344 at 10/15/18 11:25 PM:
---

Tested with:

Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-345-on-20181002)
Java: 11; OpenJDK 64-Bit Server VM 11+28-Debian-3
Runtime: OpenJDK Runtime Environment 11+28-Debian-3
System: Linux version 4.18.14 running on amd64; UTF-8; en_US (nb)
User directory: /home/alied/.netbeans/10.0
Cache directory: /home/alied/.cache/netbeans/10.0

On Debian testing with XFCE, Xfce-flat style and FlatBird theme.

I'll try to summary my findings here:

Toolbar buttons are too big; even when "Small toolbar icons" is selected:
 !toolbar_buttons.png!

Active document tab title background is almost the same colour of the title 
text; making it unreadable:

!document_tab.png!

Selected item in lists/trees lacks the background in the text part:

!selected_item.png!

Which is even worse in other cases with text-only (believe it or not, here the 
"Java Application" is selected):

!image-2018-10-15-20-11-07-846.png!

Output Window:

The background does not honour the settings (apparently it's using the system's 
default background colour).

Selecting a black text makes it unreadable.

!image-2018-10-15-20-16-27-048.png!

Scroll bars are unusable:

!image-2018-10-15-20-19-49-797.png!

Selected text in text boxes is not visibly highlighted (looks like the 
highlight colour is the same as the background colour)

!image-2018-10-15-20-21-15-737.png!

And this is the about box:

!image-2018-10-15-20-24-00-937.png!


was (Author: aliedperezmartinez):
I'll try to summary my findings here:

Toolbar buttons are too big; even when "Small toolbar icons" is selected:
 !toolbar_buttons.png!

Active document tab title background is almost the same colour of the title 
text; making it unreadable:

!document_tab.png!

Selected item in lists/trees lacks the background in the text part:

!selected_item.png!

Which is even worse in other cases with text-only (believe it or not, here the 
"Java Application" is selected):

!image-2018-10-15-20-11-07-846.png!

Output Window:

The background does not honour the settings (apparently it's using the system's 
default background colour).

Selecting a black text makes it unreadable.

!image-2018-10-15-20-16-27-048.png!

Scroll bars are unusable:

!image-2018-10-15-20-19-49-797.png!

> NetBeans looks Ugly on Java 11 on Linux
> ---
>
> Key: NETBEANS-1344
> URL: https://issues.apache.org/jira/browse/NETBEANS-1344
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Laszlo Kishalmi
>Priority: Major
>  Labels: Java11, Linux
> Attachments: Screenshot from 2018-10-04 09-11-28.png, 
> document_tab.png, image-2018-10-15-20-10-48-233.png, 
> image-2018-10-15-20-11-07-846.png, image-2018-10-15-20-16-27-048.png, 
> image-2018-10-15-20-19-36-959.png, image-2018-10-15-20-19-49-797.png, 
> image-2018-10-15-20-21-15-737.png, image-2018-10-15-20-24-00-937.png, 
> selected_item.png, toolbar_buttons.png
>
>
> Well actually Java 11 the defaults Gnome3 on Linux, resulting poor rendering 
> on the default GTK look and feel. Using other Look and feel (Nimbus, Darcula) 
> does not suffer from this issue.
>  Forcing to use GTK 2.2 fixes the GTK look and feel.
> To force gnome we need to pass: {{-Djdk.gtk.version=2.2}} to the Java



--
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