Bug 1255 - Printing support on Windows
Summary: Printing support on Windows
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 913 ()
Depends on:
Blocks:
 
Reported: 2011-10-05 08:45 UTC by Mikayla Hutchinson [MSFT]
Modified: 2014-02-17 14:49 UTC (History)
3 users (show)

Tags: gtk
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2011-10-05 08:45:29 UTC
This is to track ongoing work on printing support on Windows.

Printing support is currently broken on Windows.

The print command can be fixed by using STA on the MD main thread, but that breaks the Win32 debugger, which requires MTA. This needs to be fixed by marshalling the debugger calls to a MTA thread. Marshalling the print call to a STA thread isn't viable, it causes MD to hang when clicking on the main window.

Even when Windows printing support is working, the print preview fails because it uses an external viewer by default, and windows cannot open the generated emf file. We could fix this by implementing an embedded print preview like GEdit does.
Comment 1 Lluis Sanchez 2011-11-16 09:24:13 UTC
*** Bug 913 has been marked as a duplicate of this bug. ***
Comment 2 Lluis Sanchez 2014-02-17 14:49:33 UTC
I guess that's already fixed since we now use STA.