New issue
Advanced search Search tips

Issue 839369 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Flash Printing using CEF3 and pepperflash plugin

Reported by jerome.b...@gmail.com, May 3 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36

Steps to reproduce the problem:
1. Open a swf in cefclient
2. try to print using a FlexPrintJob or PrintJob

job.start() return false

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx"  minWidth="955" minHeight="600">
	<fx:Script>
		<![CDATA[
			import mx.printing.*;

			// Create a PrintJob instance.
			private function doPrint():void {
				// Create an instance of the FlexPrintJob class.
				var printJob:FlexPrintJob = new FlexPrintJob();

				// Start the print job.
				if (printJob.start() != true) return;

				// Add the object to print. Do not scale it.
				printJob.addObject(myDataGrid, FlexPrintJobScaleType.NONE);

				// Send the job to the printer.
				printJob.send();
			}
		]]>
	</fx:Script>

	<mx:VBox id="myVBox">
		<mx:DataGrid id="myDataGrid" width="300">
			<mx:dataProvider>
				<fx:Object Product="Flash" Code="1000"/>
				<fx:Object Product="Flex" Code="2000"/>
				<fx:Object Product="ColdFusion" Code="3000"/>
				<fx:Object Product="JRun" Code="4000"/>
			</mx:dataProvider>
		</mx:DataGrid>
		<mx:Button id="myButton" 
				   label="Print" 
				   click="doPrint();"/>
	</mx:VBox>
</s:Application>

What is the expected behavior?
he print dialog should launch, leading to being able to print from our flash application

What went wrong?
Nothing happen. The print dialog does not launch.

Did this work before? No 

Chrome version: 66.0.3359.117  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 29.0 r0

It works in Chrome but not in CEFClient or any others binary using CEF3
 
testPrintJob.swf
926 KB Download
Labels: Needs-Triage-M66
Status: WontFix (was: Unconfirmed)
This sounds similar to https://bitbucket.org/chromiumembedded/cef/issues/2287/context-menu-print-option-does-not-print

This is not a chrome/chromium issue. Suggest you open an issue 
https://bitbucket.org/chromiumembedded/cef/issues/

Sign in to add a comment