New issue
Advanced search Search tips

Issue 851111 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Extension popup occasionally fails to paint on load

Reported by dal...@agilebits.com, Jun 8 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.15 Safari/537.36

Steps to reproduce the problem:
1. Launch Chrome 68+
2. Load the unpacked i-love-red extension attached to this issue
3. Click the "S" extension icon in the top right corner

What is the expected behavior?
The extension popup will appear with a red background and contain the phrase "Hello World!".

What went wrong?
The extension popup occasionally appears but doesn't paint on load (red background, "Hello World!", etc). This behavior is only present on macOS. In the attached screenshot titled "popup_content_not_rendering", it's clear that the content is there but just isn't being displayed. To get a better idea of this issue in action, take a look at the attached recording titled "popup_render_issue_demonstration".

When the popup content isn't painted, it's possible to force it to be painted by resizing the popup window or setting the popup to "display: none" then "display: block". The former is demonstrated in the attached screen recording. In it, the popup window is resized after one second which forces the popup to be painted again. This results in the content being displayed properly. Again, it's only present on macOS in Chrome 68+.

WebStore page: 

Did this work before? N/A 

Chrome version: 68.0.3440.15  Channel: dev
OS Version: OS X 10.13.4
Flash Version: 

This issue was previously filed (https://bugs.chromium.org/p/chromium/issues/detail?id=839560) and closed, however, I'm filing it again because the behavior is still present and there was no obvious way to re-open the other issue after it was closed per https://bugs.chromium.org/p/chromium/issues/detail?id=839560#c4.
 
i-love-red.zip
266 KB Download
popup_content_not_rendering.png
39.5 KB View Download
popup_render_issue_demonstration.mp4
43.5 KB View Download
I'm also adding Jamie's comment from the previous issue below as it may help clarify the behavior we're seeing:

"The bug we are seeing, as shown in the original video, is that the content of the popup is totally white until the timeout in popup.js fires to set the height to 100px, which triggers the popup to repaint. Without this, the popup would have no content whatsoever and would remain that way as long as it was on screen.

When the popup is white, though, we have verified through the developer tools that the markup is actually in place and we can manipulate the DOM just as we would expect to. But until a repaint of the popup is triggered, the content is not rendered to the user.

So far, we have tried a few different things to trigger the repaint such as changing background colors, using CSS animations and transforms, and adding/removing nodes, but the only thing that has consistently triggered the content to appear is resizing the popup."
Labels: Needs-Triage-M68
Cc: phanindra.mandapaka@chromium.org
Labels: Needs-Feedback Triaged-ET
Tested this on reported chrome version on 68.0.3440.15 using Mac 10.13.5. Attaching Screeshot for reference.

Steps 
--------
1. Launched chrome
2. Loaded the extension as given in the comment #0
3. Enabled i-love-red extensio
We have seen extension popup with a red background and contain the phrase ""Hello World!

@Reporter: As we are unable to reproduce the issue from our end. Could you please review the attached screen-cast and confirm if anything being missed here.

Thanks! 
851111.mp4
2.7 MB View Download
Thanks for looking into this! I am no longer able to reproduce the issue on my end, therefore, the behavior you recorded looks correct. This issue can be closed.
Project Member

Comment 5 by sheriffbot@chromium.org, Jun 21 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)
As issue is not reproducible from reporters end closing this issue.

Thanks!

Sign in to add a comment