Issue 117180

Summary: Changed behaviour of XDispatchProvider ".uno:Print" ?
Product: App Dev Reporter: parc_de <marten>
Component: apiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
URL: http://www.oooforum.org/forum/viewtopic.phtml?t=115035&start=0&postdays=0&postorder=asc&highlight=&sid=e0bbf160fd9b5ef7eaa5ef0182b63442
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description parc_de 2011-03-03 09:00:52 UTC
I think, that the behaviour has changed from 3.2 to 3.3 - before 3.3 the dispatcher call below blocked (I opened a document and by doing a call below I get a printer selection dialog - and could select the printer and print the document) - now the dispatcher call returns at once - even though I have not done anything in the printer selection dialog.









XFrame aFrame = this.aOOoInstance.mxDocument.getCurrentController().getFrame();
        XDispatchHelper aDispatchHelper = (XDispatchHelper) this.aOOoInstance.mxMSFactory.createInstance("com.sun.star.frame.DispatchHelper");
        aDispatchHelper.executeDispatch((XDispatchProvider) aFrame, ".uno:Print", "", 0, new PropertyValue[0]);
        return;
Comment 1 jsc 2011-03-03 09:06:03 UTC
jsc -> cd: i am not sure but maybe it's one for you. 

But anyway i don't think that we have guaranteed compatibility for dispatch commands. Means using dispatch commands is on your own risk.
Comment 2 Oliver-Rainer Wittmann 2012-06-13 12:19:12 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.