Bug 575362 - [Mac] Print > Save as PDF should show document name in file save dialog
Summary: [Mac] Print > Save as PDF should show document name in file save dialog
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.19   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-11 12:39 EDT by Justin Dolezy CLA
Modified: 2021-08-11 12:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?