Open Bug 1914180 Opened 9 months ago Updated 2 months ago

Messages in local folders are displayed in global search but cannot be opened

Categories

(Thunderbird :: Search, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: bege10, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

Search for messages (no matter what you search) in global search
click on found message

Actual results:

the displayed list is empty if the message is in a local folder

Expected results:

display message

Summary: Messages in local folders are displayed in global search bt cannot be opened → Messages in local folders are displayed in global search but cannot be opened

I repaired all folders and found the respective messages in their folders in my file explorer.
(Windows 11 Professional 64 bit)

Blocks: tb128found

(In reply to bege10 from comment #1)

I repaired all folders and found the respective messages in their folders in my file explorer.
(Windows 11 Professional 64 bit)

Thanks for the updated information

Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Resolution: --- → WORKSFORME

(In reply to Wayne Mery (:wsmwk) from comment #2)

(In reply to bege10 from comment #1)

I repaired all folders and found the respective messages in their folders in my file explorer.
(Windows 11 Professional 64 bit)

Thanks for the updated information

Hi,
did you set the issue to "WORKSFORME" because of this additional comment from me? If so, it is a misunderstanding. I should have added to the comment "but the issue persists".
But meanwhile I found one reason: One local folder was not checked for global search. My fault. After checking that option previously not displayed messages where displayed.

Nevertheless the issue persists.
Today I moved messages to 2 local folders. One has "sent" flag, the other "trash" flag.
For all messages moved to the local trash folder the issue is back.
They are displayed in the global search but not in the list view of the global search, not when clicked on in the global search and not in the trash folder although the trash folder has the correct number of messages stored there. And the messages are in the respective Windows folder.
Repairing the folder and restarting Thunderbird don't help.
Currently there are 681 files in the Windows folder and Thunderbird says that there are 681 messages in that folder. But there are only 226 messages to be seen in that Thunderbird folder.

Today I moved messages to 2 local folders. One has "sent" flag, the other "trash" flag.
For all messages moved to the local trash folder the issue is back.

The local sent folder is the standard sent folder for that account. Only messages from my phone are stored in the IMAP sent folder and I move them to the locals sent folder in Thunderbird.
A local trash folder as standard trash folder is not possible in Thunderbird.

I mention this in case this difference is a reason why the messages in the local sent folder are displayed correct but not in the local trash folder.

There is currently one search issue, bug 1907603, fixed in beta but not yet in version 128. I'm not sure it is related.

They are displayed in the global search but not in the list view of the global search, not when clicked on in the global search and not in the trash folder although the trash folder has the correct number of messages stored there. And the messages are in the respective Windows folder.

Normally messages in trash folder and spam folder are not shown on the search results screen, called facet search results. You would see results for messages not in trash or spam.

Currently there are 681 files in the Windows folder and Thunderbird says that there are 681 messages in that folder. But there are only 226 messages to be seen in that Thunderbird folder.

Perhaps this is the crux of the issue. this is the local folder?

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---

(In reply to Wayne Mery (:wsmwk) from comment #5)

They are displayed in the global search but not in the list view of the global search, not when clicked on in the global search and not in the trash folder although the trash folder has the correct number of messages stored there. And the messages are in the respective Windows folder.

Normally messages in trash folder and spam folder are not shown on the search results screen, called facet search results. You would see results for messages not in trash or spam.

I activated the option to allow global search for that folder and global search results show all messages in that folder, but as said in list view and when clicking in the result only part of the messages can be displayed.

Currently there are 681 files in the Windows folder and Thunderbird says that there are 681 messages in that folder. But there are only 226 messages to be seen in that Thunderbird folder.

Perhaps this is the crux of the issue. this is the local folder?

Yes, this is the local folder with trash label. I could not find out what kind of messages are missing. There are messages missing that have been deleted months ago and some have been deleted these days. (I use the trash folder for storing completed messages for a while before they shall be deleted completely automatically.)

Messages with trash flag will not be synced, I think. For sure those in a trash folder.

Status: REOPENED → UNCONFIRMED
Ever confirmed: false
Severity: -- → S4
See Also: → 916070

Wayne, should this be an extra bug?

STR: message was stored in drafts while offline, so it goes into the subfolder drafts under local.
subfolder drafts is set to be indexed
apparently, the email also exists as copy in another folder2

Result: global search shows only the occurrance in folder 2.

expected result: show message in folder2 and in local/drafts.

Due to tags, the messages can be "different" even if they have the same hdrmessageId, so both instances should be shown.

TB 128.7.0

Klaus

You need to log in before you can comment on or make changes to this bug.