[OpenJDK 2D-Dev]  RFR: JDK-8151590, , "ALL" radio button is not selected in printDialog when we call DefaultSelectionType.ALL in windows
prasanta.sadhukhan at oracle.com
Thu Mar 10 10:34:40 UTC 2016
The issue is if application calls
then "Page" radio button is selected in windows. In linux and mac, "All"
radio button is selected.
Although the spec is not very clear as to what should get preference, it
seems logically DefaultSelection should hold preference.
This is a regression from 8061267 where PD_PAGENUMS was added to the
flags resulting in "Page" radio button getting selected.
I added a fix to add PD_PAGENUMS to the flags only if the selection
attribute is not "PD_ALLPAGES" [which gets selected when
I tested 8061267 testcase behaviour is same with this fix.
More information about the 2d-dev