Automatically Select
Form-Source is not available initially.....
We originally use the PrintDialog class, then it was enhanced with PrintWithPreviewDialog, which is what is currently being used.
The printerField member holds the printer list, and onPrinterChange() is called when a new printer is selected. The trayField member holds the "Paper Source". The trayField is populated when printerSelected() is called from onPrinterChange().
- We need to test on Windows, Linux and OSX.
We originally use the PrintDialog class, then it was enhanced with PrintWithPreviewDialog, which is what is currently being used.
The printerField member holds the printer list, and onPrinterChange() is called when a new printer is selected. The trayField member holds the "Paper Source". The trayField is populated when printerSelected() is called from onPrinterChange().
- We need to test on Windows, Linux and OSX.
In v15, the printer list is not populating. Lets fix the v14 issue first and then investigate why the printer list is not populating in v15 (possibly the upgrade to jvm 1.7?)
In v15, the printer list is not populating. Lets fix the v14 issue first and then investigate why the printer list is not populating in v15 (possibly the upgrade to jvm 1.7?)
'Paper Source' should be populated correctly now.
SVN r35436/14.0.8
SVN r35437/15.0.0-dev-66
The root cause is printer-change event is not triggered; there are a few scenarios this could happen, for examples: the persisted printer is the first one in the list, or the persisted printer no longer exists, or there is no persisted printer, etc. For all of these scenarios, ADS needs to trigger the printer-change event manually in order to get 'Paper Source' populated after printers are retrieved.
'Paper Source' should be populated correctly now.
SVN r35436/14.0.8
SVN r35437/15.0.0-dev-66
The root cause is printer-change event is not triggered; there are a few scenarios this could happen, for examples: the persisted printer is the first one in the list, or the persisted printer no longer exists, or there is no persisted printer, etc. For all of these scenarios, ADS needs to trigger the printer-change event manually in order to get 'Paper Source' populated after printers are retrieved.
>> In v15, the printer list is not populating. Lets fix the v14 issue first and then investigate why the printer list is not populating in v15 (possibly the upgrade to jvm 1.7?)
I was not able to reproduce this on Windows XP. I tried this in Eclipse (code is compiled by 1.6.0_30, executed by 1.6.30 and 1.7.0_06) and IntelliJ (code is compiled by 1.6.0_29 and executed by 1.7.0_06), printer list is populated correctly. I was not able to get ADS compiled with JDK 1.7 in Eclipse, though.
>> In v15, the printer list is not populating. Lets fix the v14 issue first and then investigate why the printer list is not populating in v15 (possibly the upgrade to jvm 1.7?)
I was not able to reproduce this on Windows XP. I tried this in Eclipse (code is compiled by 1.6.0_30, executed by 1.6.30 and 1.7.0_06) and IntelliJ (code is compiled by 1.6.0_29 and executed by 1.7.0_06), printer list is populated correctly. I was not able to get ADS compiled with JDK 1.7 in Eclipse, though.
Issue #11259 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 14.0.7_1/15.0.0-dev-66 |
No time estimate |
Automatically Select
Form-Source is not available initially.....