uBlock icon indicating copy to clipboard operation
uBlock copied to clipboard

[Firefox] Button label with number of blocked requests switches to superscript with red background

Open ghost opened this issue 11 years ago • 12 comments

after entering interface customization mode. Rright click on the button -> Customize and then Exit Customize

up 2

Fx 36b2, uBlock 0.8.5.7

ghost avatar Jan 22 '15 15:01 ghost

I can confirm this behavior with FF38.

Betsy25 avatar Jan 22 '15 15:01 Betsy25

Possible fix in 9fe8f414. Also, now the the browser's default positioning is used (the red icon you see on the screenshot above).

Deathamns avatar Feb 28 '15 12:02 Deathamns

Looks good. Thank you.

ghost avatar Feb 28 '15 12:02 ghost

Occasionally, I still see the red badge in v 0.8.9.1.

ekerazha avatar Mar 07 '15 10:03 ekerazha

@ekerazha It changes to red permanently, or just for a moment after you did some customization? If it's permanent, and you're using the default theme, then I don't know. When it just flashes to red for a moment after customization, then that is normal.

Deathamns avatar Mar 07 '15 10:03 Deathamns

@Deathamns Permanently and without touching the customization UI. I'm not sure but it could happen when you recover a browsing session after a browser crash.

P.S. I tried to deliberately crash Firefox but I couldn't reproduce the issue... I'll look at it when it will happen again.

ekerazha avatar Mar 07 '15 11:03 ekerazha

I've seen this too. It's permanent. But I've been trying to figure what triggers this, no success so far.

gorhill avatar Mar 07 '15 12:03 gorhill

Last time my video driver crashed it became red permanently. Not sure if it can help it any way, but it might give some leads?

TteokbokkiNari avatar Mar 07 '15 15:03 TteokbokkiNari

@gorhill I just found a way to trigger it:

  1. Resize the browser window until the icon gets hidden.
  2. Restore the window size.

ekerazha avatar Mar 07 '15 22:03 ekerazha

@ekerazha Nice one!

Now will be to figure how to fix this. Or it could be argued it is a Firefox bug, not sure.

gorhill avatar Mar 07 '15 23:03 gorhill

25d5166. They may be other cases too when the icon is removed/hidden from its area.

Deathamns avatar Mar 08 '15 06:03 Deathamns

Seems OK now in 0.9.0.1 for the resize/restore (I think you can see a really fast color change while restoring the windows size) Too bad, red was kinda cool :)

alejandrolemus avatar Mar 12 '15 01:03 alejandrolemus