RiDeag / Stilig

Stilig - 4chan Userstyle
http://rideag.github.io/Stilig/
28 stars 17 forks source link

Favicon doesn't update after new posts are read (ccd0 4chan X) #5

Closed welpo closed 9 years ago

welpo commented 9 years ago

1) Open thread 2) Autoloads new replies 3) Favicon changes to unread (with the exclamation mark if I was cited) 4) Read the new posts 5) Favicon stays the same This has been happening for the longest time, with ccd0's fork and I believe it happened with seaweedchan's fork too. As soon as I disable the custom CSS the favicon will update just fine. I have reported it to ccd0 (https://github.com/ccd0/4chan-x/issues/121) but my guess is that something in the CSS needs to be changed.

welpo commented 9 years ago

I have some more information. I reset the settings of 4chan X and the favicon updated just fine with the CSS applied. As soon as I import my old settings (http://a.pomf.se/osmakk.json) the issue appears again. After that I reset the settings again and tried to manually get them to my old settings. I changed everything in the Main section to look like it used to. I didn't change the Filter section. The issue did not appear, so I'm not sure what exactly is in that settings file that triggers the bug.

welpo commented 9 years ago

Apparently the problem was that I had "Bottom header" checked but Stilig moves the header to the top. 4chan X assumes the header is at the bottom, and doesn't count posts as read until they rise above the header, which the last page worth of posts never do (https://github.com/ccd0/4chan-x/issues/121#issuecomment-55201423). Unchecking "Bottom Header" in the "Header" submenu of the drop-down menu fixed it.