Global search, sorted by date: clicking on subject of found message in faceted search results opens a blank tab instead of message tab
Categories
(Thunderbird :: Search, defect)
Tracking
(Not tracked)
People
(Reporter: Leo.Maathuis, Unassigned, NeedInfo)
Details
Updated•13 years ago
|
Comment 1•13 years ago
|
||
Comment 2•10 years ago
|
||
| Reporter | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment 7•9 years ago
|
||
Updated•3 years ago
|
Comment 9•1 year ago
|
||
I'm experiencing this in 2024, on Thunderbird Daily
Comment 10•1 year ago
|
||
(In reply to Ryan Lee Sipes from comment #9)
I'm experiencing this in 2024, on Thunderbird Daily
Ryan, Are you saying this only recently started happening for you?
Comment 11•1 year ago
|
||
As far as I can tell, this just started, still present on Daily.
Comment 12•1 year ago
|
||
Clicking on other messages in the list, eventually one did open. But many others did not. Even stranger.
Comment 13•1 year ago
|
||
Next time you see this, check the error console.
I am not able to reproduce using today's build.
Comment 14•1 year ago
|
||
I was able to reproduce this and got this error in the console:
Couldn't restore state: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBView.findIndexOfMsgHdr] NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBView.findIndexOfMsgHdr]
I was able to confirm that the issue is Gloda showing messages I previously deleted in the search result.
Could be maybe related to bug 1898780.
Ryan, would you be able to confirm if the messages that you can't open are previously deleted messages?
Ben, can you investigate this and see if Gloda is maintaining some weird cache and returning results that don't exist?
Comment 15•1 year ago
|
||
(In reply to Alessandro Castellani [:aleca] from comment #14)
I was able to confirm that the issue is Gloda showing messages I previously deleted in the search result.
Could be maybe related to bug 1898780.
Snap! I didn't read that last line carefully enough and literally just wrote: "This sounds suspiciously similar to Bug 1898780" :-)
Ben, can you investigate this and see if Gloda is maintaining some weird cache and returning results that don't exist?
There was a bug in gloda that meant messages were not being removed from the index after compaction.
Bug 1898780 saw a patch land to fix it, so I think it's probably OK now. If not, NI me again and I'll investigate!
I'm not quite sure what's changed in the folder compaction which might have caused this bug to start being a problem - as far as I can tell, the bug has been there for a decade or so, so it really should never have worked correctly!
My guess would be the old code had some brittle reliance on the order/timing of NotifyCompactionComplete() notifications... that kind of thing used to be really haphazzard and scattered all over the place.
Comment 16•1 year ago
|
||
Following up on this, so I still see this bug, but it looks VERY MUCH like the stuff that won't load these days are deleted messages. I know we were aware that might be a problem, so confirming this. On Daily, up-to-date 130a1 (2024-07-09), Windows 11
Comment 17•1 year ago
|
||
NI'ing Ben Campbell and Alessandro for visibility.
Comment 18•1 year ago
|
||
Nice, thanks for confirming it.
Ben and I already talked about this yesterday and we were exploring options.
This will 100% be solved by the global database since it will remove the need of a cache altogether, but nonetheless Ben will explore if there's an easy win to quickly fix this and properly clear cached messages and prevent them to show up in search results.
Comment 19•1 year ago
|
||
Have we got any (recent) steps to reliably reproduce this?
I've been trying to get it to happen with a fresh profile being fed from a local IMAP server with lots of fake messages.
But I haven't seen any oddness with deleting messages from my Inbox- as soon as they are deleted, they disappear from subsequent search results.
Doing a compaction immediately after deletion doesn't seem to help trigger the bug either.
The only oddness I see is that not all the messages I expect appear in the search results, but I think that's just gloda being really slow to index stuff in the background (or doing it in too small batches). I was doing 10000 or so messages, on a debug build.
Description
•