Bug
- Resolution: Fixed
P3
- 7, 8, 9, 10, 11, 11.0.6.0.60-oracle, 12, 13, 14, 15
- b18
- x86
- os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8273286 | 11.0.14 | Martin Doerr | P3 | Resolved | Fixed | b01 |
JDK-8270205 | 11.0.13-oracle | Philip Race | P3 | Resolved | Fixed | b02 |
MacOS X 10.7.4 macmini4,1
Verifying 7158366 I've found that a print dialog now does provide filename but doesn't use it. Instead of a file, the printout goes to a default printer.
Use for instance closed/java/awt/print/Dialog/PrintDlgApp.java -- it is still broken as a jtreg test (main class should be public) but you may compile it directly and call java on a class. In a popped PrintDialog you would see a default printer name and a prominent checkbox "Print To File", checked.
Push "Print" button. You will be presented with a file dialog with a proper filename prompt. Type in a name or agree on out.prn. Push "Save" button.
Now you will have printout sent to the default printer. No file created.
Note that this bug is reproducible with Apple JDK6 as well.
Verifying 7158366 I've found that a print dialog now does provide filename but doesn't use it. Instead of a file, the printout goes to a default printer.
Use for instance closed/java/awt/print/Dialog/PrintDlgApp.java -- it is still broken as a jtreg test (main class should be public) but you may compile it directly and call java on a class. In a popped PrintDialog you would see a default printer name and a prominent checkbox "Print To File", checked.
Push "Print" button. You will be presented with a file dialog with a proper filename prompt. Type in a name or agree on out.prn. Push "Save" button.
Now you will have printout sent to the default printer. No file created.
Note that this bug is reproducible with Apple JDK6 as well.
- backported by
JDK-8270205[macosx] Print-to-file doesn't work: printing to the default printer instead
- Resolved
JDK-8273286[macosx] Print-to-file doesn't work: printing to the default printer instead
- Resolved
- duplicates
JDK-8041945[macosx] Print to file prints on printer
- Closed
JDK-8197946[macos] print to file doesn't work
- Closed
- links to
Commitopenjdk/jdk11u-dev/9a5ba0b9
Commitopenjdk/jdk/ea7c47c1
Reviewopenjdk/jdk11u-dev/197
Reviewopenjdk/jdk/339
(3 links to)