Adobe-CEP/CEP-Resources

Can't do D&D from CEP panel to Adobe Premiere after update to Premiere Pro 2022

jafs opened this issue · 10 comments

jafs commented

Hello,

I have a CEP panel that opens an iframe. Before update to Premiere Pro 2022, in that iframe I could perform a D&D operation from the iframe to Premire, setting in the drag event the data with key com.adobe.cep.dnd.file.0.

However after update, when I try to make a drop on Premiere, a forbidden cursor is shown, and drop operation not works.

I have this flags in the manifest.xml file:

<CEFCommandLine>
  <Parameter>--allow-file-access</Parameter>
  <Parameter>--allow-file-access-from-files</Parameter>
  <Parameter>--allow-running-insecure-content</Parameter>
  <Parameter>--ignore-certificate-errors</Parameter>
  <Parameter>--disable-application-cache</Parameter>
  <Parameter>--disable-site-isolation-trials</Parameter>
  <Parameter>--enable-nodejs</Parameter>
</CEFCommandLine>

Does anything else need to be done to get the D&D operation working again?

jafs commented

Very thanks for the answer.

After reviewing the link that you have given me, I have been looking at the headers of the files of the iframe that I open, and in principle, that headers are not restrictive:

image

The way in which the iframe is loaded consists of first consulting a configuration file with the host to open, and after that creating the iframe on the document:

image

I also added the line: <Parameter>--mixed-context</Parameter> in the manifest.xml.

As extra information, the D&D operation is made with images that are in same host than iframe.