Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6307631

PIT: Copies field in the print dialog is not disabled for POSTSCRIPT flavor, Win32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 6
    • client-libs
    • 2d
    • x86
    • windows_xp

      Copies attribute is no longer supported for INPUT_STREAM.POSTSCRIPT flavor on Win32 platforms (4973064) and isAttributeValueSupported() returns false for Copies when the flavor is POSTSCRIPT. This change is made in the current (b47) PIT. But when the print dialog is shown, I would expect the 'copies' field to remain disabled in the same way as Orientation fields since it is not supported for the given doc flavor. But in the PIT build, COPIES field remains enabled on the cross-platform Service Dialog.

      Here is the PIT build:
      java version "1.6.0-2d.pit_jcg_win_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit_jcg_win_02-java2d_04_aug_2005_00_56-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b45, mixed mode)

      Disabling of copies field requirement does not arise on the previous builds such as b46 since Win32PrintService was supporting this attribute for POSTSCRIPT flavor.

      I have attached a sample test. Execute the sample test. A print dialog will be opened. If the copies field is not disabled, the bug is reproduced.

            psadhukhan Prasanta Sadhukhan
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: