Jump to content

Notification badge keeps coming back even with no unread notifications

Arika
Go to solution Solved by colonel_mortis,
16 minutes ago, Arika S said:

Huh. Yes I did for a very brief amount of time before changing it back to auto. 

The problem is most likely that it's cached the notification count from then, and isn't invalidating it because it thinks it's still up to date because of the timestamp. There are 3 options to solve it: wait until the time that it was changed to, at which point it will start working again; clear the local storage (sometimes called something like stored site data) in your browser (in the same place as clearing cookies, but it's sometimes a separate option); or open the dev tools and run

ips.utils.db.removeByType("notifications")

 

Browser, version and OS: 

Firefox 85.0.2. Windows 10 2004

 

Steps to reproduce/what were you doing before it happened?

N/A

 

What happened?

For the last 2 days i keep getting the notification badge popping up despite clearing it multiple times and confirming i have no new notifications. it's always 2 unless i only have 1 unread notification, any more and it will always show 2. After clearing it, it will stay gone for a few minutes before appearing again. closing the browser and reopening it removes the icon, but it always comes back (same with opening new tabs)

 

What did you expect to happen?

not to show notifications if i don't have any

 

Link to a page where it happened, if applicable: 

all forum pages that are not making a topic

 

Screenshots of the issue, if applicable: 

In the screenshot below i have 2 supposed notifications, clicking the button shows the drop down, but none of them are bold indicating that i have already viewed these.

 

image.png.f9040e6e5bb987666ab40ab380b68d8a.png

 

and came back

 

image.png.245b38bdde6447d545c70e4e08775f64.png

 

image.png.bdd98e34f4665d32727de6e8d56ed50f.png

 

Any other relevant details:

Cleared all cache and website data multiple times but still occurs. Doesn't appear to be my account because it only happens on my desktop. But even disabling all notifications in the notification settings doesn't seem to do anything for it.

 

If it's a cloudflare error, what was the ray ID from the bottom of the error page?

N/A

🌲🌲🌲

 

 

 

◒ ◒ 

Link to comment
Share on other sites

Link to post
Share on other sites

The core reason is that you are getting misclick notifications and their sources get removed before you check the bell.

 

Moderators get this constantly with all the spam bots.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, LogicalDrm said:

The core reason is that you are getting misclick notifications and their sources get removed before you check the bell.

 

Moderators get this constantly with all the spam bots.

that's what i would have thought originally, but this is still on going as i type this and has been going on for over 24.

🌲🌲🌲

 

 

 

◒ ◒ 

Link to comment
Share on other sites

Link to post
Share on other sites

Is it a cookie issue or a server side issue?

A PC Enthusiast since 2011
AMD Ryzen 7 5700X@4.65GHz | GIGABYTE GTX 1660 GAMING OC @ Core 2085MHz Memory 5000MHz
Cinebench R23: 15669cb | Unigine Superposition 1080p Extreme: 3566
Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Vishera said:

Is it a cookie issue or a server side issue?

i have no idea. i cleared all cookies, caches and site data completely from firefox a few times to make sure i did it right and got everything.

🌲🌲🌲

 

 

 

◒ ◒ 

Link to comment
Share on other sites

Link to post
Share on other sites

If you're like in a thread and someone replies and on bottom left you click view reply, after few seconds the bell might also show you the notification of the same person.

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

Just happened same thing to me, I was looking at someones post, they replied twice, on bottom left I clicked view comment, (or whatever the button says), and the 2 notifications up top on bell didn't disappear (and than I click on bell and click away and the number goes away)

Edited by podkall

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

Have you changed the time on your computer recently by any chance?

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

40 minutes ago, colonel_mortis said:

Have you changed the time on your computer recently by any chance?

Huh. Yes I did for a very brief amount of time before changing it back to auto. 

🌲🌲🌲

 

 

 

◒ ◒ 

Link to comment
Share on other sites

Link to post
Share on other sites

16 minutes ago, Arika S said:

Huh. Yes I did for a very brief amount of time before changing it back to auto. 

The problem is most likely that it's cached the notification count from then, and isn't invalidating it because it thinks it's still up to date because of the timestamp. There are 3 options to solve it: wait until the time that it was changed to, at which point it will start working again; clear the local storage (sometimes called something like stored site data) in your browser (in the same place as clearing cookies, but it's sometimes a separate option); or open the dev tools and run

ips.utils.db.removeByType("notifications")

 

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

18 minutes ago, colonel_mortis said:

ips.utils.db.removeByType("notifications")

that looks like it did it. i hit enter and it even said

 

ips.utils.db.removeByType("notifications")
>2

the number 2 is haunting me

🌲🌲🌲

 

 

 

◒ ◒ 

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, colonel_mortis said:

because of the timestamp

Can't you timestamp it with server time instead of the time of the device?

Using server time should solve the issue.

A PC Enthusiast since 2011
AMD Ryzen 7 5700X@4.65GHz | GIGABYTE GTX 1660 GAMING OC @ Core 2085MHz Memory 5000MHz
Cinebench R23: 15669cb | Unigine Superposition 1080p Extreme: 3566
Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Vishera said:

Can't you timestamp it with server time instead of the time of the device?

Using server time should solve the issue.

This is specifically caching the return value in the browser, so we don't have access to the server time at that point. There are other ways to solve it, but it's hardly a common issue.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×