CEP 8 issues list
Hi,
it would be convenient to collect in a single thread all the issues developers run into with CEP 8 – please read the latest documentation CEP-Resources/CEP 8.0 HTML Extension Cookbook.md at master · Adobe-CEP/CEP-Resources · GitHub and contribute here with your findings. Please prefix with the CC app code you're testing against, eg. [PS], [ID], [IL], etc.
- [PS] Google Chrome 62.0.3202.62 (macOS Sierra 10.12.6) can't connect the debug session. The page correctly loads, showing the usual textual link with the panel title, but clicking the link leads to a blank page. The Console shows:
inspector.js:601 Uncaught Error: No setting registered: showAdvancedHeapSnapshotProperties
at Common.Settings.moduleSetting (inspector.js:601)
at Object.Common.moduleSetting (inspector.js:698)
at Common.VersionController._updateVersionFrom3To4 (inspector.js:646)
at Common.VersionController.updateVersion (inspector.js:640)
at Main.Main._createSettings (inspector.js:8500)
at Main.Main._gotPreferences (inspector.js:8496)
at Host.InspectorFrontendHostStub.getPreferences (inspector.js:892)
at Main.Main._loaded (inspector.js:8494)
at windowLoaded (inspector.js:287)
Workaround: use Google Chromium instead (see Download Chromium - The Chromium Projects )
- [PS] Using Version="8.0" in the manifest.xml (both in the <ExtensionManifest> and <RequiredRuntime>) makes the panel disappear from the Extensions list in PS CC 2018. Shouldn’t that be in sync with the CEP latest version??
- [PS] Setting the panel's window.location = "chrome://version"doesn't load in the Panel the Chrome Version page anymore – it used to work fine with CC 2017.
- [PS ] Panel Geometry bug: setting in the manifest.xml <Size>, <MinSize> and <MaxSize> with equal values doesn't produce a fixed size (unresizable) panel anymore, as it used to do with any other pre-2018 version. In order to make a fixed sized panel in 2018, set only the <Size> tag. That is to say: panel is fixed size in 2018 but not in CC, 2014, 2015, 2015.5, 2017 or the other way around. Moreover, a panel that is collapsed/reopened, has completely wrong width/height, and may hide relevant content.
- [PS] Bug with Panel Refresh (either via Command+R on Chromium Dev Tools, or "window.location.reload(true)" in the panel). You may run into problems with Node after the first refresh unless you have both --enable-nodejs and --mixed-context flags in your manifest.xml
- [ALL] Some videos that used to play well (e.g. from YouTube) in CEP7, won't play at all in CEP8. This is due to a WebM VP9 codec that Chromium doesn't support anymore (the codec License doesn't get along well with the Chromium License, so they dropped the support)
- No CEF Client, nor an updated version of the ZXPSignCmd command-line utility, yet.
I'll keep adding items to this list – I'm currently updating my Photoshop HTML Panels Development course to CC 2018 and I'm still finding stuff. Please look at the official documentation for Node.js changes in CEP 8 – if your panel uses node, you'd better off reading that.
Davide
Message was edited by: Davide Barranca, October 21st
