Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248482 | 8u271 | Bhawesh Choudhary | P3 | Resolved | Fixed | b01 |
JDK-8253651 | jfx11.0.9 | Bhawesh Choudhary | P3 | Resolved | Fixed |
A DESCRIPTION OF THE PROBLEM :
when choosing page 1,2 everything is ok
but page 3,4 are not printed - always is printed page 2
to print pages 3,4 you must print whole document
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
load simple web page print , open print dialog, choose to print page nr 3
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
printed page nr 3 or 4
ACTUAL -
printed page nr 2
---------- BEGIN SOURCE ----------
private void handlePrintButtonAction(ActionEvent event) {
PrinterJob job = PrinterJob.createPrinterJob();
if (job != null) {
Window window = webView.getScene() != null ? webView.getScene().getWindow() : null;
if (job.showPageSetupDialog(window)) {
if (job.showPrintDialog(window)) {
webView.getEngine().print(job);
job.endJob();
}
}
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
cannot - must print everything
FREQUENCY : always
when choosing page 1,2 everything is ok
but page 3,4 are not printed - always is printed page 2
to print pages 3,4 you must print whole document
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
load simple web page print , open print dialog, choose to print page nr 3
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
printed page nr 3 or 4
ACTUAL -
printed page nr 2
---------- BEGIN SOURCE ----------
private void handlePrintButtonAction(ActionEvent event) {
PrinterJob job = PrinterJob.createPrinterJob();
if (job != null) {
Window window = webView.getScene() != null ? webView.getScene().getWindow() : null;
if (job.showPageSetupDialog(window)) {
if (job.showPrintDialog(window)) {
webView.getEngine().print(job);
job.endJob();
}
}
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
cannot - must print everything
FREQUENCY : always
- backported by
-
JDK-8248482 can not print selected pages of web page
- Resolved
-
JDK-8253651 can not print selected pages of web page
- Resolved