Adobe-CEP / CEP-Resources

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

Chrome Debugger Actions - Extensions Flashing #64

Open boredstiff opened 8 years ago

boredstiff commented 8 years ago

Photoshop CC 2015.5, CEP 7.0

When attached to the Chrome debugger, extensions will start flashing on the screen after a period of time. It's not consistent, but the only way to get the extensions to stop flashing is to reactivate the chrome debugger by selecting it in the browser.

I haven't tested Premiere or anything else yet.

A common way to get them to start flashing is to minimize Chrome.

Windows 7 Pro, Chrome 51.0.2704.103 m

boredstiff commented 8 years ago

And now it appears that it's any instance of Chromium. I killed Chrome and they start flashing. I enabled Slack while they were still flashing and they stopped flashing. I minimized Slack and they started flashing again.

boredstiff commented 8 years ago

The extensions are on the right, Chrome is on the left. They flash even faster than that, the gif recorder only records at 7fps.

flashing2

zhangusc commented 8 years ago

@alexwidener I have encountered a similar problem of flashing extension UI. It only occurs on Windows platform (no problem on Mac) and seems related to the drawing engine of Adobe and Windows. No solution yet. The workaround is to dock the extension panel to main application window. Let me know if the workaround works for your case or not.

arthurwei1975 commented 8 years ago

We will have a look.

birduni commented 8 years ago

@alexwidener @zhangusc I could not reproduce the issue. A private build is shared at https://files.acrobat.com/a/preview/5297e474-ada6-4c9c-9ad9-bdc4ab504791.

Could you please follow the steps to record a video and collect the logs?

  1. Download the private build, unzip it and replace it in the following location. Photoshop 2015.5: 1.1 Replace 64bit PlugPlugOwl.dll at C:\Program Files\ADOBE\Adobe Photoshop CC 2015.5 1.2 Replace 32bit CEPHtmlEngine at C:\Program Files\ADOBE\Adobe Photoshop CC 2015.5\Required\CEP Illustrator 2015.3: 1.1 Replace 64bit PlugPlugOwl.dll at C:\Program Files\ADOBE\Adobe Illustrator CC 2015.3\Support Files\Contents\Windows 1.2 Replace 64bit CEPHtmlEngine at C:\Program Files\ADOBE\Adobe Illustrator CC 2015.3\Support Files\Contents\Windows
  2. Set LogLevel to 6 in the registry. Win: regedit > HKEY_CURRENT_USER/Software/Adobe/CSXS.7
  3. Open Photoshop 2015.5 or Illustrator 2015.3 to reproduce the issue. It is helpful to record a video for reproduction.
  4. When the issue occurs, collect the following logs. Win: The files in C:\Users\USERNAME\AppData\Local\Temp, especially the files whose name start with CEP7 and CEPHtmlEngine7.
boredstiff commented 8 years ago

I'm sorry, but it would be remiss of me to be replacing DLLs on a work machine without knowing whom is requesting I do so. Your account doesn't belong to an organization, nor has any identifying information in it.

yugguo commented 8 years ago

Hello, this is my new account for birduni. Could you please help to record a video and collect the logs for investigation?

truonghongtrieu commented 7 years ago

Hi all,

Recently I saw this "issue" as well when working on creating a CEP extension for Animate CC 2017.2. It's happening on Windows, and Animate just keeps taking the focus of Windows Explorer when the issue occurs. Perhaps this line INFO The focused window is not the host window handle is related to the problem? Another workaround beside docking it to the main application window, is to remove the ".debug" file in the extension, so far the issue is not happening.

I've attached the log for reference. CEPHtmlEngine7-FLPR-16.2.0-com.sample.extension.txt

Thanks

zhangusc commented 3 years ago

@ErinFinnegan could you please help check the status of the issue? We reported this bug to Adobe Support Team back in 2016 and the issue number is AI-4133503.

ErinFinnegan commented 3 years ago

🤔 AI-4133503 was closed a duplicate, but I can't tell which ticket it was duplicating.

ErinFinnegan commented 3 years ago

Hi @zhangusc,

So ultimately the ticket was closed by engineering because they weren't able to reliably reproduce the issue. Is it still a problem in CEP 10 and Illustrator 25? (or other apps?)