Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Popup shows active tab for latest opened window, instead of the active one. #970

Open
notjuliee opened this issue Mar 14, 2018 · 8 comments

Comments

@notjuliee
Copy link

Versions:

Linux: 4.15.7-1-ARCH
Firefox: 59.0
uMatrix: 1.3.2

Steps to reproduce:

  • Open site 1
  • Open site 2 in a new window
  • Go back to site 1 and click the uMatrix icon

Screenshot:

issue

@gorhill
Copy link
Owner

gorhill commented Mar 14, 2018

Unable to reproduce with FF58.

@notjuliee
Copy link
Author

Sorry, it appears to be an issue with Firefox, chrome.tabs.query({ active: true, currentWindow: true }); doesn't seem to respect focus.

Although for some reason, uBlock Origin doesn't seem to be affected, even though it seems to use the same API?

@gorhill
Copy link
Owner

gorhill commented Mar 15, 2018

I will try again with FF59 once it becomes available on my OS.

@gorhill gorhill reopened this Mar 15, 2018
@AsmoAeon
Copy link

AsmoAeon commented Mar 20, 2018

Happens to me too but the new sites must be opened from the favorites bar to the current tab.
Open to new tabs or shift-clicks or typing the url etc does not reproduce the effect.

(Google Chrome Version 65.0.3325.162 (Official Build) (64-bit) on windows 10)

@uBlock-user
Copy link
Contributor

Cannot reproduce on Chrome 67/69 and neither on Firefox Nightly.

@AsmoAeon
Copy link

AsmoAeon commented Jun 20, 2018

Still happens for me and now the versions are different.

umatrix

umatrix 1.3.10
Chrome Version 67.0.3396.87 (Official Build) (64-bit)
Windows 10 Home (Version 1803)

For example if i visit kernel.org after facebook.com i will see the facebook too as seen in the pic

@uBlock-user
Copy link
Contributor

uBlock-user commented Jun 20, 2018

Still happens for me and now the versions are different.

That's not the same issue as described by the submitter.

@uBlock-user
Copy link
Contributor

For example if i visit kernel.org after facebook.com i will see the facebook too as seen in the pic

On second thought, this only happens if you visit facebook.com first because the client intermittenty exchanges data by firing XHRs to facebook.com and uMatrix doesn't clean the slate if you browse to a different website right when a simultanoues data exchange is occuring, hence uMatrix purposely keeps it there.

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

4 participants