[ 
https://issues.apache.org/jira/browse/NETBEANS-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eirik Bakke updated NETBEANS-1284:
----------------------------------
    Description: 
The "Find Usages" pane has a number of toggle buttons on its left. On MacOS, 
there is no indication of whether each toggle button is depressed or not. On 
Windows, the indication is present in Java 8 but disappeared in Java 9. See the 
attached screenshot.

The relevant code is in
src/org/netbeans/modules/refactoring/spi/impl/FiltersManagerImpl.java

The regression on Windows going from Java 8 to Java 9 probably happened due to 
https://bugs.openjdk.java.net/browse/JDK-4796987 (see 
https://bugs.openjdk.java.net/browse/JDK-8186366 ).

Removing the "result.setBorderPainted(false);" line fixes the problem on 
Windows but not on MacOS.

  was:
The "Find Usages" pane has a number of toggle buttons on its left. On MacOS, 
there is no indication of whether each toggle button is depressed or not. On 
Windows, the indication is present in Java 8 but disappeared in Java 9.

The relevant code is in
src/org/netbeans/modules/refactoring/spi/impl/FiltersManagerImpl.java

The regression on Windows going from Java 8 to Java 9 probably happened due to 
https://bugs.openjdk.java.net/browse/JDK-4796987 (see 
https://bugs.openjdk.java.net/browse/JDK-8186366 ).

Removing the "result.setBorderPainted(false);" line fixes the problem on 
Windows but not on MacOS.


> Missing toggle button indication in Find Usages pane
> ----------------------------------------------------
>
>                 Key: NETBEANS-1284
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1284
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Refactoring
>    Affects Versions: 9.0
>         Environment: MacOS (Java 8 verified) or Windows (Java 9 or 10, but 
> not Java 8)
>            Reporter: Eirik Bakke
>            Priority: Major
>         Attachments: missingtoggle.png
>
>
> The "Find Usages" pane has a number of toggle buttons on its left. On MacOS, 
> there is no indication of whether each toggle button is depressed or not. On 
> Windows, the indication is present in Java 8 but disappeared in Java 9. See 
> the attached screenshot.
> The relevant code is in
> src/org/netbeans/modules/refactoring/spi/impl/FiltersManagerImpl.java
> The regression on Windows going from Java 8 to Java 9 probably happened due 
> to https://bugs.openjdk.java.net/browse/JDK-4796987 (see 
> https://bugs.openjdk.java.net/browse/JDK-8186366 ).
> Removing the "result.setBorderPainted(false);" line fixes the problem on 
> Windows but not on MacOS.



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