Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

[Firefox] Tearing a tab to form new window, causes popUI to loose blocked item list.. #526

Closed
harshanvn opened this issue Jan 17, 2015 · 5 comments

Comments

@harshanvn
Copy link

Tearing a tab, to form a new window in firefox, will cause uBlock popupUI to loose its blocked list..

ublock tearing tab

@Deathamns
Copy link
Contributor

My guess is that the id of the tab changes when it's dropped to another window, which could be the cause.
You have to refresh the page for now.

@harshanvn
Copy link
Author

Ok. Thanks. And i believe this is just a cosmetic thing and not something people will usually do.
However, i believe this needs to be fixed at some point in future :)

@pwr22
Copy link

pwr22 commented Jan 21, 2015

Ok. Thanks. And i believe this is just a cosmetic thing and not something people will usually do.
However, i believe this needs to be fixed at some point in future :)

I wouldn't care about the bug but this is something I do frequently

@Deathamns
Copy link
Contributor

Notes on the issue:
When moving tab to another window, no TabMove event is fired. Instead, a TabOpen event fires on the target window, and a TabClose on the source window. So, a totally new tab is created, but there is no reliable way to associate the old and a new one.
Detecting drag and drop events are not viable either, because that is not the only way to move a tab to another window, also there are extension that are able to move more than one tab at once, but the one I tried prevents detecting these events.

@gorhill
Copy link
Contributor

gorhill commented Mar 9, 2015

So it does look like a Firefox limitation. Workaround is to refresh the tab being observed.

@gorhill gorhill closed this as completed Mar 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants