Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
519 stars 20 forks source link

Search folder for RSS feeds not updating consistently #372

Closed cybrkyd closed 1 week ago

cybrkyd commented 1 week ago

When using a search folder to draw from multiple RSS feeds, the search folder is not updating consistently.

Issue: -- 4 RSS feeds from different sources -- One search folder used to combine the four RSS feeds -- When the feeds are refreshed and new messages pulled, the search folder does not show all the messages sometimes. This is easily seen by the message count difference. -- Navigating out of the search folder and returning sometimes refreshes the results, sometimes not.

This appears to be a cache issue but I'm not sure. Also, this behaviour is not present in Thunderbird, only in Betterbird.

Betterbird commented 1 week ago

Yes, this behavior is not present in TB since TB only uses the cache to pre-fill the view and then runs the search anyway. Take a look at Issue

368. If you're on the "latest build" version for either 115 or 128, you

can set pref mailnews.virtual_folders.verbose to see more details. In Issue #368 there is also a special build for 115 with even more logging.

Your cooperation would be appreciated to track down the missing messages.

Betterbird commented 1 week ago

Can you attach a screenshot that shows the wong counts.

Also, navigation from and to the search folder shouldn't refresh the count since the folder is restored from the cache. It only refreshes when you press the "update" button on the search properties panel. Check the logging, it's pretty obvious.

Betterbird commented 1 week ago

OK, I summarised my three Heise feeds like so: image

The sum is right and when I first open the folder and then open it again, I get this logging: image

Some hits already went missing, but then the underlying folders have changed, too: image

And when I update the search and access again: image

So, yes, there was a drop in counts, but looks line some articles were expunged.

cybrkyd commented 1 week ago

Running BB to attempt to reproduce. On latest RSS download, the following error was noted repeatedly at each get request:

gloda.datastore: got error in _asyncTrackerListener.handleError(): 19: constraint failed 5 GlodaDatastore.jsm:1891:27     handleError resource:///modules/gloda/GlodaDatastore.jsm:1891

It may be nothing to do with this.

Quiet on my feeds over the weekend so not yet able to reproduce and take screens. I'm watching and will post as soon as I see it.

Betterbird commented 1 week ago

Please read https://github.com/Betterbird/thunderbird-patches/issues/368#issuecomment-2495576622 We've see a drop. We're using a version now with heaps of logging, so it should become apparent where the messages get lost.

Betterbird commented 1 week ago

It's a duplicate of Issue #368, we'll fix it there. New binaries will be available soon in due course.

Betterbird commented 5 days ago

We've made some progress, please read https://github.com/Betterbird/thunderbird-patches/issues/368#issuecomment-2497742947. TL;DR: Repair the feed folders which contribute to the virtual folder. Do you know that you can add multiple subscriptions to a folder, so you don't need the virtual folder: https://support.mozilla.org/en-US/kb/how-subscribe-news-feeds-and-blogs

Are you on 115 or 128 so we can supply a new binary. Which platform?

cybrkyd commented 5 days ago

Hi, on Linux running 115.17.0-bb35 (64-bit). Yes, it is possible to bypass the search folder for the RSS but glad a fix is being looked at; as #368 shows, the search folders are not quite right even on the IMAP. Thank you for looking into this so quickly, I will follow via 368. Tried to repair the base folders and so far, so good.

Betterbird commented 5 days ago

We'll do an updated build of 115 for Linux soon. It will be reported to Issue #368.