[OpenJDK 2D-Dev] [9] RFR 8170579: The "Banner page" checkbox is disabled

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Wed Dec 7 15:30:12 UTC 2016

Hi All,

Please review a fix for jdk9 where it is seen that "Banner" checkbox in 
printer dialog is disabled in ubuntu16.10.

Bug: https://bugs.openjdk.java.net/browse/JDK-8170579
webrev: http://cr.openjdk.java.net/~psadhukhan/8170579/webrev.00/

Issue was, in ubuntu16.10 the attribute map does not have 
"job-sheet-supported" attribute returned by CUPS
so this category is not added to supported categories
so isAttributeCategorySupported() called by ServiceDialog returns false 
resulting in Banner checkbox getting disabled.

Fix is to check if JobSheet category is supported in underlying 
platform, only then proceed with the test.


More information about the 2d-dev mailing list