-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
6u2
-
x86
-
windows_vista
OPERATING SYSTEM(S):
--------------------
Windows Vista Enterprise
FULL JDK VERSION(S):
-------------------
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b04)
Java HotSpot(TM) Client VM (build 1.6.0_02-b04, mixed mode)
DESCRIPTION:
------------
PROBLEM DESCRIPTION
Unable to abort a page print in "Microsoft XPS Document Writer" option.
This problem is specific to Windows Vista.
TESTCASE DESCRIPTION
This test case is collection of several Java applications each of which route output to a printer in a specific format using the print APIs. The test case comprises of applications which try to print colored images, text with different fonts, swing components and AWT components using the print APIs for each component.
STEPS TO REPRODUCE
1.Install the above mentioned JDK6 build.Set PATH to java.
2.Run the following command to execute the SwingSet2 application.
>>java -jar %JAVA_HOME%\demo\jfc\SwingSet2\SwingSet2.jar
4.Go to "JTable demo" tab i.e 3rd from the last.
5.Click on "Print" option.
6.Choose "Microsoft XPS Document Writer" for Name which is present under "General" tab.
7.Click on "print" option.
Observed result:
It will now shows "Printing" pop up as well as "Save the file as" pop up dialogs messages.
Printing pop up will have "Abort" option.
Now click on "Abort" option.
Now, it will go to "Printing aborted..." state and never aborts the printing.
<It will abort only if we choose the "cancel" option in "Save the file as" pop up message>
Expected result:
Either it shouldn't have "abort" option or it should abort the printing with the abort option.
--------------------
Windows Vista Enterprise
FULL JDK VERSION(S):
-------------------
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b04)
Java HotSpot(TM) Client VM (build 1.6.0_02-b04, mixed mode)
DESCRIPTION:
------------
PROBLEM DESCRIPTION
Unable to abort a page print in "Microsoft XPS Document Writer" option.
This problem is specific to Windows Vista.
TESTCASE DESCRIPTION
This test case is collection of several Java applications each of which route output to a printer in a specific format using the print APIs. The test case comprises of applications which try to print colored images, text with different fonts, swing components and AWT components using the print APIs for each component.
STEPS TO REPRODUCE
1.Install the above mentioned JDK6 build.Set PATH to java.
2.Run the following command to execute the SwingSet2 application.
>>java -jar %JAVA_HOME%\demo\jfc\SwingSet2\SwingSet2.jar
4.Go to "JTable demo" tab i.e 3rd from the last.
5.Click on "Print" option.
6.Choose "Microsoft XPS Document Writer" for Name which is present under "General" tab.
7.Click on "print" option.
Observed result:
It will now shows "Printing" pop up as well as "Save the file as" pop up dialogs messages.
Printing pop up will have "Abort" option.
Now click on "Abort" option.
Now, it will go to "Printing aborted..." state and never aborts the printing.
<It will abort only if we choose the "cancel" option in "Save the file as" pop up message>
Expected result:
Either it shouldn't have "abort" option or it should abort the printing with the abort option.