Opened on 05/28/2018 at 09:08:27 AM
Closed on 09/05/2019 at 05:01:31 PM
#6700 closed defect (duplicate)
Count in ABP icon is incorrect when a high number of ads are blocked
Reported by: | rscott | Assignee: | |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | User-Interface | Keywords: | |
Cc: | greiner, kzar, sebastian | Blocked By: | |
Blocking: | Platform: | Unknown / Cross platform | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description (last modified by greiner)
Environment
ABP 3.1
Enabled filter lists: easylist.txt
How to reproduce
- Download the attached file, which contains 10,000 blockable image elements.
- Open the page in your browser, with ABP enabled and the count of blocked ads in its icon turned on.
Observed behaviour
In FF 60.0.1/Ubuntu 64-bit:
- Count of blocked ads is truncated to the first four digits. (Shows '1000' after the page finishes loading.)
in Chromium 66/Ubuntu 64-bit:
- Count of blocked ads falls short of 10,000. On my system, it stops at somewhere between 6,200 and 6,900, although it varies between pageloads.
Expected behaviour
Count should display 10000.
What to change
See ui#222.
Attachments (1)
Change History (6)
Changed on 05/28/2018 at 09:09:01 AM by rscott
comment:1 follow-up: ↓ 2 Changed on 07/24/2018 at 03:33:14 PM by kzar
- Cc greiner kzar added
- Component changed from Platform to User-Interface
comment:2 in reply to: ↑ 1 Changed on 07/24/2018 at 05:07:03 PM by greiner
Replying to kzar:
I think this might come under the UI module, what do you think Thomas?
I see what you mean because lib/stats.js is only used for the UI even though it's part of Platform according to adblockplus.org/modules.
I'd be fine with either as long as it is clear who should be responsible for it so whichever you think works best for you guys.
comment:3 Changed on 07/24/2018 at 07:10:50 PM by kzar
- Cc sebastian added
I'm easy as well. Any objection if we move lib/stats.js into the User-Interface module Sebastian?
I think this might come under the UI module, what do you think Thomas?