• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Bridge CEP Panel isn't not loading HTML when it is not active during startup

Participant ,
Jan 07, 2024 Jan 07, 2024

Copy link to clipboard

Copied

Hey,

I'm corrently developing a little CEP-plugin that helps my workflow with Bridge. It is a CEP Panel HTML panel.

During development and use I keep noticing that the plugin isn't acting as expected on startup.

See video example.

 

When the plugin was "visible" before closing Bridge, it will also load the plugin after startup. But when the Panel is in the background during startup, you can see the localization load, but when it is focussed after startup - the panel is just empty. If you then close the window and reopen it, it just works.

 

The extension manifest file:

<?xml version="1.0" encoding="UTF-8" standalone='yes'?>
<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtensionBundleId="com.agrarvolution.autoTimecodeCorrection"
	ExtensionBundleName="Bridge Automatic Timecode Correction"
	ExtensionBundleVersion="1.0" Version="7.0">
	<ExtensionList>
		<Extension Id="com.agrarvolution.autoTimecodeCorrection.panel" Version="0.2.2" />
	</ExtensionList>
	<ExecutionEnvironment>
		<HostList>
			<Host Name="KBRG" Version="[9.0,99.9]" />
			<Host Name="PPRO" Version="[9.0,99.9]" />
		</HostList>
		<LocaleList>
			<Locale Code="All" />
		</LocaleList>
		<RequiredRuntimeList>
			<RequiredRuntime Name="CSXS" Version="9.0" />
		</RequiredRuntimeList>
	</ExecutionEnvironment>

	<DispatchInfoList>
		<Extension Id="com.agrarvolution.autoTimecodeCorrection.panel">
			<DispatchInfo>
				<Resources>
					<MainPath>./index.html</MainPath>
					<ScriptPath>./autoTimecodeCorrection.jsx</ScriptPath>
					<CEFCommandLine>
						<Parameter>--high-dpi-support=1</Parameter>
					</CEFCommandLine>
				</Resources>
				<Lifecycle>
					<AutoVisible>true</AutoVisible>
					<StartOn>
						<Event>applicationActivate</Event>
					</StartOn>
				</Lifecycle>
				<UI>
					<Type>Panel</Type>
					<Menu>%ATC_PANEL_NAME</Menu>
					<Geometry>
						<Size>
							<Height>500</Height>
							<Width>350</Width>
						</Size>
						<MinSize>
							<Height>400</Height>
							<Width>200</Width>
						</MinSize>
					</Geometry>
				</UI>
			</DispatchInfo>
			<DispatchInfo Host="KBRG">
				<Resources>
					<MainPath>./index.html</MainPath>
					<ScriptPath>./autoTimecodeCorrection.jsx</ScriptPath>
					<CEFCommandLine>
						<Parameter>--high-dpi-support=1</Parameter>
					</CEFCommandLine>
				</Resources>
				<Lifecycle>
					<AutoVisible>true</AutoVisible>
					<StartOn>
						<Event>applicationActivate</Event>
					</StartOn>
				</Lifecycle>
				<UI>
					<Type>Embedded</Type>
					<Menu>%ATC_PANEL_NAME</Menu>
					<Geometry>
						<Size>
							<Height>500</Height>
							<Width>350</Width>
						</Size>
						<MinSize>
							<Height>400</Height>
							<Width>200</Width>
						</MinSize>
					</Geometry>
				</UI>
			</DispatchInfo>
			<DispatchInfo Host="PPRO">
				<Resources>
					<MainPath>./index.html</MainPath>
					<ScriptPath>./autoTimecodeCorrection.jsx</ScriptPath>
					<CEFCommandLine>
						<Parameter>--allow-file-access</Parameter>
						<Parameter>--high-dpi-support=1</Parameter>
					</CEFCommandLine>
				</Resources>
				<Lifecycle>
					<AutoVisible>true</AutoVisible>
					<StartOn>
						<Event>applicationActivate</Event>
					</StartOn>
				</Lifecycle>
				<UI>
					<Type>Panel</Type>
					<Menu>%ATC_PANEL_NAME</Menu>
					<Geometry>
						<Size>
							<Height>500</Height>
							<Width>350</Width>
						</Size>
						<MinSize>
							<Height>400</Height>
							<Width>200</Width>
						</MinSize>
					</Geometry>
				</UI>
			</DispatchInfo>
		</Extension>
	</DispatchInfoList>
</ExtensionManifest>

 

Similar to the documentation - this part doesn't change the behavior whether it is added or removed.

<StartOn>
    <Event>applicationActivate</Event>
</StartOn>

 

 

 

Is this an issue in the manifest or are some scripts crashing? I couldn#t decipher a difference in the CEP-KBRG logs for a startup in the background or "active".

 

Thanks for your help!

TOPICS
Problem or error , Scripting

Views

141

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation