[Mono-bugs] [Bug 79822][Nor] Changed - "new PrintDialog()" takes ~2 seconds on linux

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 5 14:00:44 EST 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by shana.ufie at gmail.com.


--- shadow/79822	2006-12-04 20:39:25.000000000 -0500
+++ shadow/79822.tmp.21934	2006-12-05 14:00:44.000000000 -0500
@@ -117,6 +117,14 @@
 This last patch also caches the collections related to PrinterSettings
 (PaperSourceCollection and PaperSizes), and also open the ppd file
 just once, instead of opening it in every Load method.
 Right now PrintingServicesWin32 is not caching the info. Probably we
 could add it later.
+------- Additional Comments From shana.ufie at gmail.com  2006-12-05 14:00 -------
+There are several exceptions being thrown from several PageSettings
+properties: PaperSizes, PaperSource, PrinterResolution, Margins,
+Landscape, Color. If a default printer is not set, on
+LoadPrinterSettings an exception will be thrown accessing
+pagesettings.PaperSource. I'm not sure if this is a proper place to be
+throwing this or if it's too early, this needs testing.

More information about the mono-bugs mailing list