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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 3 16:01:34 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 toshok at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79822

--- shadow/79822	2006-11-03 16:01:34.000000000 -0500
+++ shadow/79822.tmp.14384	2006-11-03 16:01:34.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 79822
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: toshok at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "new PrintDialog()" takes ~2 seconds on linix
+
+the trouble is that we're using a synchronous cups api call in
+System.Drawing.Printing.PrintingServicesUnix.  we need to either replace
+that with an async call, or do it more efficiently, or both.
+
+also, we make this call every time the PrintDialog code gets the list of
+installed printers (i.e. every time "new PrintDialog()" is called)..  not
+sure if the cups library is caching the list, but we certainly aren't.


More information about the mono-bugs mailing list