[OpenJDK 2D-Dev]  RFR 8170579: The "Banner page" checkbox is disabled
prasanta.sadhukhan at oracle.com
Tue Dec 13 16:08:26 UTC 2016
Gentle reminder for review....
On 12/7/2016 9:00 PM, Prasanta Sadhukhan wrote:
> 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
> 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