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

Panel Size issue in High Resolution monitors(WIN)

Community Expert ,
Jun 13, 2019 Jun 13, 2019

Hi All,

I have an extension for InDesign which has issues with panel size showing wrong on some Win machines, i want the panel to be non resizable so i have set the size, min size and max size to a common value. The result is fine while testing on MAC, as well as the WIN VM's that i have, but when tested by the client on WIN machines with a higher resolution the panel shows two different issues

  • In InDesign CC2018 the panel keeps on growing as its dragged and moved around even beyond filling up the whole screen
  • In Indesign CC2019 the panel shows up too big, again not honouring the values given in the manifest

I don't have ready access to such machines so can't test it thoroughly, but as per whatever test i could get the client to do, it seems this issue is related to the resolution. Has anyone else faced something like this? How do i handle it

-Manan

641
Translate
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
Community Expert ,
Jun 13, 2019 Jun 13, 2019

Are you using a Modeless or ModalDialog? Can you post your manifest?

Translate
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
Community Expert ,
Jun 13, 2019 Jun 13, 2019

Thanks for the reply, well Its a panel. The manifest is given below

<?xml version="1.0" encoding="UTF-8"?>

<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="4.0" ExtensionBundleId="com.example.cf.debug" ExtensionBundleName="Example" ExtensionBundleVersion="0.1.0">

<Author><![CDATA[Manan Joshi]]></Author>

<ExtensionList>

<Extension Id="com.example.cf.extension.debug" Version="0.1.0"/>

</ExtensionList>

<ExecutionEnvironment>

<HostList>

<Host Name="IDSN" Version="[11.0,14.9]"/>

</HostList>

<LocaleList>

<Locale Code="All"/>

</LocaleList>

<RequiredRuntimeList>

<RequiredRuntime Name="CSXS" Version="7.0"/>

</RequiredRuntimeList>

</ExecutionEnvironment>

<DispatchInfoList>

<Extension Id="com.example.cf.extension.debug">

<DispatchInfo>

<Resources>

<MainPath>./index.html</MainPath>

<ScriptPath>./jsx/scriptEval.jsx</ScriptPath>

<CEFCommandLine>

       

      </CEFCommandLine>

</Resources>

<Lifecycle>

<AutoVisible>true</AutoVisible>

</Lifecycle>

<UI>

<Type>Panel</Type>

<!-- Placement="'Main:&Window',600.0,'KBSCE Window menu'" -->

<Menu>Example</Menu>

<Geometry>

<Size>

<Height>645</Height>

<Width>500</Width>

</Size>

<MaxSize>

<Height>645</Height>

<Width>500</Width>

</MaxSize>

<MinSize>

<Height>645</Height>

<Width>500</Width>

</MinSize>

</Geometry>

<!-- <Icons>

        <Icon Type="Normal">./</Icon>

        <Icon Type="RollOver">./</Icon>

        <Icon Type="Disabled">./</Icon>

        <Icon Type="DarkNormal">./</Icon>

        <Icon Type="DarkRollOver">./</Icon>

        <Icon Type="DarkDisabled">./</Icon>

      </Icons> -->

</UI>

</DispatchInfo>

</Extension>

</DispatchInfoList>

</ExtensionManifest>

Translate
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
Community Expert ,
Jun 13, 2019 Jun 13, 2019

Well, that's your problem. Panels don't have fixed sizes, at least not in the apps I develop for (AE, PPRO, AME, PS, AI). Try Modeless or ModalDialog instead.

Translate
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
Community Expert ,
Jun 18, 2019 Jun 18, 2019

Thanks Justin, seems you are right. I was debugging a bit and have posted my observations on another thread

Extension resizing bug

On MAC however the panel with fixed size does work correctly for InDesign. Although i did not find it documented

-Manan

Translate
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
Community Expert ,
Jun 18, 2019 Jun 18, 2019
LATEST

Interesting, well at least in the apps I've developed in, any dockable panel can't have a fixed or set size because once it's docked, any panel (even built-in ones) can be stretched from tiny to huge. I just make sure to give the content body a minimum size so it runs off the panel at some point, so everything doesn't get too squished.

Translate
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