Skip to main content
Loic.Aigon
Legend
January 5, 2019
Question

Extension resizing bug

  • January 5, 2019
  • 3 replies
  • 3220 views

Hi,

Working on an ID CC18 extension which is quite small. I want user to possibly resize panel horizontally but not vertically. So I just edited the manifest that way :

<Geometry>

          <Size>

              <Height>150</Height>

              <Width>500</Width>

            </Size>

            <MinSize>

              <Height>150</Height>

              <Width>500</Width>

            </MinSize>

            <MaxSize>

              <Height>150</Height>

              <Width>900</Width>

  </MaxSize>

          </Geometry>

But then the panel is pretty erratic, any user interactions will make the panel crazy. Either it shrinks, or it expands out of any logic. Even moving the panel enlarges it.

Or after some opportunities to resize, the panel itself ends being not resizable at all.

I saw there are bugs warnings in 2017 but are those still around ?

I am going to see if I can force resize the panel but I have some doubts it will solve my issues.

TIA

Loic

This topic has been closed for replies.

3 replies

Community Expert
June 14, 2019

I am also facing the same issues, Trevorׅ do you mean to say that the issue happens due the same dimension in max, min and normal size. Also i could not find any documentation --high-dpi-support=1 parameter. Loic.Aigon​ can you confirm which version of Windows and ID fixed this issue.

-Manan

-Manan
erinferinferinf
Adobe Employee
Adobe Employee
June 14, 2019

Hi Manan,

As far as I can tell the bugs about this were closed for CEP 9, as opposed to CEP 8. Please check this version compatibility chart. Maybe updating the version numbering in your manifest would help?

If you try it in ID CC 2019 do you get the same issue? Feel free to post a screen recording.

Also let us know your version of Windows.

Thanks!

Erin

Community Expert
June 18, 2019

Hi ErinF,

I did some debugging and following are my observations

1. The type of my extension is Panel, if i keep the normal, max, min size as same so as to make it non resizable. The panel size is random and generally its too big not honouring the values given in the manifest.

2. If i change the value of normal and max by a random small number like height differing by 2px the panel starts behaving fine and the panel is sized correctly

3. Another bug i see is that even though the panel is sized correct, the debugger shows that the html inside it has width larger than the panel, this gets corrected once i minimize and then maximize the panel by clicking, or dock undock. Due to this my CSS behaves incorrectly. I am using Angular 6, not sure if its the culprit, but then everything works fine on a MAC

All the above happens only on a WIN machine where the screen resolution is high and hence the screen magnification is set to 150% as recommended by Win.

I am using the manifest version 6 but it makes not difference, neither using the CSXS version 9.0 does help

-Manan

-Manan
Loic.Aigon
Legend
January 10, 2019

I think it was a bug related to combo OS/ID Version.  I updated OS and the problem went away.

Thanks for the input.

Trevor:
Legend
January 10, 2019

Hi Loic

I could be wrong but I think the problem occurs with HD screens on Windows.

I know an attempt to fix it was made you'll have to try it out on 2018 and 2019 to see if it got fixed.

If your are using those then the answer is no.

Did you try height 150, min height 149, max height 151?

Did you try <Parameter>--high-dpi-support=1</Parameter> in the <CEFCommandLine> structure?

Regards

Trevor