Issue metadata
Sign in to add a comment
|
Extension popup is initially shown too small
Reported by
alshaba...@yandex-team.ru,
Aug 11 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 YaBrowser/17.9.0.1281 Yowser/2.5 Safari/537.36 Steps to reproduce the problem: 1. Install an extension (e.g. LastPass) 2. Click on its icon What is the expected behavior? Popup is initially shown with the correct size. What went wrong? For the first couple of frames it's shown with a very small size. Did this work before? N/A Chrome version: 60.0.3112.90 Channel: n/a OS Version: 10 Flash Version:
,
Aug 11 2017
Assigning to the Cl owner for further updates. https://chromium.googlesource.com/chromium/src/+/e95e17121740b79c447cb93d0e1d07bbfc407a14
,
Aug 11 2017
The extension actually requests to be drawn at that size initially, then resizes itself to the correct size, so any fix would be in the extension itself. I think we were getting lucky earlier - the browser compositor and renderer compositor drew the frame at the initial size, but the window was resized before it actually had a chance to be shown, so that frame was thrown away. Now we try to display that frame anyway, to avoid the case where we have no contents for the window for a long time due to continuous resizing.
,
Aug 11 2017
Actually, I'm reopening this because even if I set the initial width on the image in the demo extension it still chooses the wrong initial size for the window. I think maybe something is weird with the blink compositor sizing so it's drawing before getting the correct size.
,
Aug 12 2017
Hooray for reopening it! Indeed even with <body style="width:200px; height:200px"> in the popup html the first displayed frame shows a 32x32px empty and useless rectangle.
,
Aug 14 2017
This is not a P1 because the content does resize and functionality is not affected. I'll look into what is happening, but my guess is that it will be hard to fix.
,
Aug 14 2017
This is in cc, not Blink. Un-assigning.
,
Aug 17 2017
schenney@ could you please clarify comment #7? What made you think it's a CC issue?
,
Aug 18 2017
The change that broke it, but fixed something else, was to cc/surfaces/display.cc. That's https://chromium.googlesource.com/chromium/src/+/e95e17121740b79c447cb93d0e1d07bbfc407a14 I'm not sure the fix should be there, but I don't know where else to start. Back to vmiura@.
,
Sep 25
Triage: Is this still an issue?
,
Sep 25
Yes, nothing has changed.
,
Nov 22
**Mass UI Triage** This issue is still reproduced on Windows 10 OS from M60 to latest canary-72.0.3618.0.Could some one from dev please take a look. Thanks..!! |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by woxxom@gmail.com
, Aug 11 20175.0 KB
5.0 KB Download