<Swing Dev> [9] Review request for 8152968: JTree Collapse Buttons Clipped Off Under GTK

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Fri Jun 24 08:20:19 UTC 2016


   The fix looks good to me.

   Thanks,
   Alexandr.

On 6/23/2016 6:44 PM, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8152968
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8152968/webrev.00/
>
> GTK lib paints the expander icon bigger then the dimension returned by 
> the "expander-size" property.
>
> The fix increases the allocated space by adding insets of size 2 to 
> make the tree component UI looks as in native GTK apps.
>
> Also a GTK3 issue is fixed: the tree expander state was not changed 
> from collapsed to expanded.
>
> Test would require native application so the issue is noreg-hard.
>
> --Semyon
>




More information about the swing-dev mailing list