Adobe-CEP / CEP-Resources

Tools and documentation for building Creative Cloud app extensions with CEP
https://www.adobe.io/apis/creativecloud/cep.html
1.62k stars 828 forks source link

CEP Extension does not move away from start page in newest Photoshop update 21.1.1 #282

Open rh78 opened 4 years ago

rh78 commented 4 years ago

Hello,

we noticed strange behavior in newest version of Photoshop. Please note that this behavior does not apply to e.g. Photoshop CC 2019, and as far as we see, it also does not apply to Illustrator / InDesign etc.

Note: this also is occuring at customer PCs, not only on our local installations.

Behavior is as follows: we launch the plugin in Photoshop (to exclude side effects, we just have an ultra-simple panel.html, containing only a link). Usually if you click the link, the page moves - BUT now the plugin just immediately loads again the panel.html. There is no way to move away from the page (e.g. form POSTs do nothing but just reload the page, links do nothing but just reload the page, ...)

This is the CEP HTML Engine log (level 6) - clicks marked with ==> CLICK CEPHtmlEngine9-PHXS-21.1.1-io.smint.clc.adobe.extension.log

This is the CEP HTML Engine renderer log CEPHtmlEngine9-PHXS-21.1.1-io.smint.clc.adobe.extension-renderer.log

This is the CEP9-PHXS.log file - clicks marked with ==> CLICK CEP9-PHXS.log

This is a screenshot of the traffic in DevTools: devtools_traffic

This is the panel and the code of the panel.html file: panel_code

Please advise!

OS: Windows 10 1903 (OS Build 18362.720)

Fidomaster01 commented 4 years ago

Hello,

My problem is similar, but in after effects. I have experienced, if i onclick a button that it shows to an external link, everything will be ok. My environment is: Windows 10 Enterprise - 1909 After Effects - 17.0.6

Thnx for advise!

kareemmyk commented 4 years ago

@rh78 , @Fidomaster01 ... are you expecting the url to be launched on a browser instead of the CEP extension?

I was able to launch both the localhost and external url within the Panel.

Fidomaster01 commented 4 years ago

@rh78 On my panel are few buttons. All buttons url are define localhost (<button onclick="setup('/client/setup.html'), and one button define external url (<button onclick="window.cep.util.openURLInDefaultBrowser('http://gfx/blablabla ). When i push either button, its only a white flash and stay the home page, but i push the button with external link, everything will be ok, all localhost button will be work well, and all localhost page open. I read lot of forums, but i didn't found nothing. Solution: i created my panel with iframe, and everything work well. All buttons with localhost url work great for the first time. I hope it will help you, but i still don't understand what causes the error. I use jquery, bootstrap libraries...

rh78 commented 4 years ago

We worked around the problem by using an IFrame - within the Iframe we have no issues. But it is complex of course.

Fidomaster01 commented 4 years ago

Exactly. but I also want to know what has changed. One version later, everything is still good.

znap026 commented 4 years ago

I think I'm having the same issue. It works fine on mac but crashes and reloads on windows. I really don't want to have to rewrite to use an iFrame.

https://community.adobe.com/t5/premiere-pro/cep-plugin-development-window-top-location-replace-crashes-cephtmlengine-exe/td-p/11154169?page=1