Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

About pages favicon changes when popup tabs is closed before loading #6513

Closed
srirambv opened this issue Jan 3, 2017 · 9 comments
Closed

Comments

@srirambv
Copy link
Collaborator

srirambv commented Jan 3, 2017

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
About pages favicon changes when popup tabs is closed before loading

Expected behavior:
Should not change the favicon of about pages irrespective of when the popup tabs are closed

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64

  • Brave Version (revision SHA):
    Have not seen this issue on 0.12.15, seen only on
    Brave 0.13.0
    rev 0c7a64d

  • Steps to reproduce:

    1. Keep any of the about pages open and in a new tab open a webpage which triggers popup tabs
    2. Click on page to trigger popup tab
    3. Close the tab immediately before the popup tab content loads
    4. Repeat step 2-3 three to four time s
    5. About page favicon changes from Brave logo to one of the sites which was supposed to open in the popup tabs
    6. Screenshot 1 shows the effect of closing pocket login page being closed before loading after enabling the extension
  • Screenshot if needed:
    image
    image
    image

  • Any related issues:
    Please change milestone if required

@srirambv srirambv added this to the 0.13.1 milestone Jan 3, 2017
@bbondy bbondy modified the milestones: 0.13.0, 0.13.1 Jan 4, 2017
@bbondy bbondy self-assigned this Jan 7, 2017
@bbondy
Copy link
Member

bbondy commented Jan 7, 2017

I'll take this one, the problem is we get the event in the webview before a frame is actually created, so it puts the icon on the first frame. The fix would be to manage the data in TabHelper and handle fro the browser process.

@bbondy
Copy link
Member

bbondy commented Jan 7, 2017

Actually that's not needed yet, it is just because it is closed so the frame is removed. Strange we even get that event.

@bbondy bbondy closed this as completed in 6923c7f Jan 9, 2017
cezaraugusto pushed a commit that referenced this issue Jan 9, 2017
Fix #6513

Auditors: @darkdh

When we close a frame we remove the frame props, this is removed even before the react control and DOM elments know. An event can come in after this and dispatch.

Eventually most of these webview events will be moved into app/browser/tab.js.
bkilrain pushed a commit to bkilrain/browser-laptop that referenced this issue Jan 13, 2017
Fix brave#6513

Auditors: @darkdh

When we close a frame we remove the frame props, this is removed even before the react control and DOM elments know. An event can come in after this and dispatch.

Eventually most of these webview events will be moved into app/browser/tab.js.
@bbondy
Copy link
Member

bbondy commented Jan 16, 2017

Test plan: Follow the steps to reproduce in comment 0.

@srirambv
Copy link
Collaborator Author

This is still happening on 0.13.0 RC1
image

@srirambv
Copy link
Collaborator Author

This is not a release blocker can be moved to 0.13.1 or 0.13.2 if required

@bbondy bbondy modified the milestones: 0.13.1, 0.13.0 Jan 20, 2017
@bbondy
Copy link
Member

bbondy commented Jan 20, 2017

strange it was definitely working at some point, moved to 0.13.1

@bbondy
Copy link
Member

bbondy commented Jan 22, 2017

it's much reduced from what it used to be, I could reproduce 1 in 4 times before, now only happens once in maybe 30 times for me.

@bbondy bbondy modified the milestones: 0.13.3, 0.13.2 Feb 1, 2017
@bbondy bbondy removed this from the 0.13.5 milestone Feb 15, 2017
@bbondy bbondy modified the milestones: 0.13.6, 0.13.5 Feb 15, 2017
@srirambv
Copy link
Collaborator Author

Still seeing this issue after a while on 0.17.6 on Debian
image

@kjozwiak
Copy link
Member

I noticed this happen when going through the YT feature for hotfix5... Noticed that YT was using the BAT icon.... After I refreshed the page, the normal expected YT icon was displayed... Example:

screen shot 2017-11-15 at 3 48 35 pm

Using v0.19.93 rev: 25085d0 via Ubuntu 16.04.3 LTS x64.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants