Bug 575362

Summary: [Mac] Print > Save as PDF should show document name in file save dialog
Product: [Eclipse Project] Platform Reporter: Justin Dolezy <justin>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.19   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Justin Dolezy CLA 2021-08-11 12:39:42 EDT
When using the Mac Print > Save as PDF option, the contents of the PrintData.fileName field should be passed through to be used as the filename displayed in the save dialog, however it's ignored.

If a regular modal PrintDialog is opened, the filename is set to "Untitled.pdf" however if you use the SWT.SHEET style it will then have the application name with .pdf suffix.
Comment 1 Justin Dolezy CLA 2021-08-11 12:40:41 EDT
A further problem is that the file name field in save dialog doesn't allow text to be pasted in; perhaps this should be raised separately?