salarcode / SmartProxy

Firefox/Chrome browser extension. SmartProxy will automatically enable/disable proxy for the sites you visit, based on customizable patterns.
https://addons.mozilla.org/en-US/firefox/addon/smartproxy/
GNU General Public License v3.0
1.93k stars 117 forks source link

Sometimes switch tab not change the icon infomation #355

Closed Littleweisheit closed 7 months ago

Littleweisheit commented 7 months ago

Description

动画

Steps to Reproduce

[1] open two tabs, one in gfwlist one is not. [2] switch tab

Which browsers did you test this on?

Firefox

Affected browser versions

firefox 123.0.1

Affected SmartProxy versions

1.4.2

Screenshots of the problems or steps to reproduce

No response

Any additional context

No response

Littleweisheit commented 7 months ago

Looks like there's a delay

Littleweisheit commented 7 months ago

BTW:I cant load "About" 图片

salarcode commented 7 months ago

Looks like there's a delay

I don't see a delay how many rules you have?

Littleweisheit commented 7 months ago

Looks like there's a delay

I don't see a delay how many rules you have?

gfwlist has 7292 rules

Littleweisheit commented 7 months ago

The tab is already open. The speed of the rules should not affect tab switching.

salarcode commented 7 months ago

I can't reproduce, I can't fix it if I can't reproduce

Littleweisheit commented 7 months ago

I think the icons are not independent for each tab causing this phenomenon. You can see icon flick. 动画1

I firmly believe that the problem is here

salarcode commented 7 months ago

Thanks with the help of that clip I was able to find the issue and it is fixed now