Article View: news.software.readers
Article #266301Re: betterbird: reading crossposts once?
From: VanguardLH
Date: Tue, 17 Oct 2023 03:10
Date: Tue, 17 Oct 2023 03:10
54 lines
4026 bytes
4026 bytes
"J.B. Nicholson" <jbn@forestfield.org> wrote: > VanguardLH <V@nguard.LH> wrote: > >> Since Thunderbird switch to SQLite long ago, and record structures >> would be modified to add a field for MID, doesn't seem that much an >> onus to code for the same MID across the SQLite databases for all >> folders. However, that probably would incur a delay between when >> the Read button was pressed until the message changed formatting >> (bold to unbolded). > > Why not do that job in a background task/thread? "Mark as read" doesn't happen until the user views a message. No way to know beforehand which articles a user will view. >> By using MID, seem plausible the read-state could be reflected for >> the same message across newsgroups polled from different servers. >> Not an elegant solution, but a possible one. Yet interest seems to >> have faded with the Tbird dev folks. > > Why would that be inelegant? It seems to me that using the only > approach one could use to implement a nice feature ought to qualify as > elegant. The performance impact when "mark as read" to then issue a query on all other folder databases (newsgroups) would cause a momentary hang in the program along with flickering of the folders due to changing the New or Pending count shown in the tree pane. There isn't one local message store in Thunderbird. It keeps an SQLite database for each folder (newsgroup). The moment you read an article, or otherwise marked it as read, that read-state would have to sync across as many SQLite databases as there are folders in the tree (to however many newsgroups to which you subscribed). Another method would be to not sync the SQLite databases when a user read an article or marked it as read. Instead update the SQLite database for a folder when the user clicked on a folder. However, that means all the other SQLite database must be queried to see if the same article in the other folders were marked as read. Or, when an article is read that has the Xref header with more than one article number, update a global SQLite database to track the cross-posted articles. Rather than a text .rc file, an SQLite database gets used to record all the cross-postings since SQL searches are faster than parsing a text file. When a folder is selected (opened), each article retrieved would be checked if it were cross-posted. However, that only identifies cross-posted articles, not if they have been read, so you'd still have to do multiple folder SQLite queries to bring the read state into a message for the selected folder. Xref just identifies which article numbers are cross-posted, not their read state.
Technical Details
Message-ID:
<eakbt2ptwt44$.dlg@v.nguard.lh>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <1qerpoc749pj3.dlg@v.nguard.lh> <slrnuirha7.2kgi.jbn@forestfield.org>Show Full Headers
Complete Article Headers
Message-ID: <eakbt2ptwt44$.dlg@v.nguard.lh> Subject: Re: betterbird: reading crossposts once? Date: Mon, 16 Oct 2023 22:10:28 -0500 From: VanguardLH <V@nguard.LH> References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <1qerpoc749pj3.dlg@v.nguard.lh> <slrnuirha7.2kgi.jbn@forestfield.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Organization: Usenet Elder Lines: 54 Sender: V@nguard.LH Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net G8602T2oZGPs4DkDhCbg+A5U8beiuWcZgYVxBcqjJ0tKkCmvth Keywords: VanguardLH,VLH Cancel-Lock: sha1:S9si24pyb4Xsmj+CbS8Ni96ROSI= sha256:5WNryVcucNmIr07wBYtfxWf32lPSN+oGL9JXttmrDYI= User-Agent: 40tude_Dialog/2.0.15.41