Closed Bug 271717 Opened 20 years ago Closed 20 years ago

A blank email is displayed when any search result is double-clicked in the Search Messages dialog

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: Bienvenu)

References

Details

(Keywords: fixed-aviary1.0)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ro-RO; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ro-RO; rv:1.7.5) Gecko/20041107 Firefox/1.0

Double-click on any result in the Search Messages dialog results in the pop-up
of a blank-window, containing only toolbar icons.

Reproducible: Always
Steps to Reproduce:
1.  Open Thunderbird
2.  Goto Edit -> Find -> Search Messages...  or press Ctrl-Shift-F
3.  Peform any search that will return a result
4.  Double-click (in the lower pane) on any message.

Actual Results:  
Message Window pops-up with the correct toolbar, but lacking a message header
and message body.

Expected Results:  
Message Window should pop-up with the correct message header and message body.

Currently using build 20041124, but the problem was also present in the build of
20041121.
I couldn't reproduce it using Version 0.9+ (20041123)

Maybe the mail must have a special header. Do you have the problem with all
mails or only some ?
Summary: A blank email is displayed when any search result is double-clicked in the Search Messages dialog → A blank email is displayed when any search result is double-clicked in the Search Messages dialog
are these imap or local messages? do any errors show up in the js console?
Attached image Exception error
The messages are local messages.  I use Thunderbird both at work and at home and
I have the same problem on both.  I'm using global inbox for both.  Using
virtual folders at work but not at home.

I do get an error in the javascript console.  I couldn't copy/paste it (copy was
ghosted and ctrl-c didn't), but I have attached a screenshot.
It seems that I have a problem with all mails.  I've not been able to view any
mails.
but you can read the same messages when you open the inbox? I can't recreate the
problem here...
Yes, I can read those mails in my inbox, virtual folders, normal folders without
any problems at all. I can double-click them and open the mail items in their
own windows.
I should also mention that on my work machine I installed 20041124 into a clean
folder.  At home, I installed into a folder that had files from a previous nightly.
Some additional info.

I have global inbox turned on, in my inbox I have 4 folders.  I search one of
them, called Jobsite, I am able to view messages received prior to the 12/11/04.
 I'm not able to view any messages when searching the 3 other folders.
I can recreate the problem with my news-account and the tb 0.9 and 0.9+.

Just open the search-dialog and the search for messages in a newsgroup. Now when
I want to open them, sometimes I have a blank message-window. For other news is
no problem, but some of them won't come up. JS-Console has the same
error-message as in the screenshot.

I have no global inbox und for my mail-accounts I couldn't reproduce it.
I think I discovered how to trigger this bug.

- First sort your message list threaded
- Search for a complete thread (search for the subject)
- In the message search result window open the first message in the thread. This
will work.
- Now open a message deeper in this thread, they all fail with the same error.
thx, those steps work - I'll see if I can find a quick fix for 1.0
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: blocking-aviary1.0+
Attached patch proposed fixSplinter Review
need to expand threads in this case, when searching view.
Assignee: mscott → bienvenu
Comment on attachment 167558 [details] [diff] [review]
proposed fix

I think we're going to want this for 1.0 - it's pretty safe.
Attachment #167558 - Flags: superreview?(mscott)
Attachment #167558 - Flags: superreview?(mscott) → superreview+
thx a lot for finding the reproducible steps - that was very helpful!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
*** Bug 272775 has been marked as a duplicate of this bug. ***
*** Bug 272791 has been marked as a duplicate of this bug. ***
Verified with Windows TB build 2004-12-02-11-0.9
Status: RESOLVED → VERIFIED
I have exactly this problem in 1.0. I have seen it with Thunderbird 1.0 under
Linux and under Windows. Server is uwimap 2002e. I *think* this was OK in
Thunderbird 0.9.
Please reopen!
(In reply to comment #20)
> I have exactly this problem in 1.0. I have seen it with Thunderbird 1.0 under
> Linux and under Windows. Server is uwimap 2002e. I *think* this was OK in
> Thunderbird 0.9.
> Please reopen!

Works for me in Tunderbird 1.0 (build 20041206). Reporter, were you following
the test-case in comment 12 ?
No, the test case does not apply. Either it works or it does not. Most of the
time, it does not work. Only sometimes it works. When I then restart
Thunderbird, it does not work anymore. I do not know yet, how to trigger it, so
that it works.
I think, I found it: It does not work, if "View/Threads/Unread" for that folder
is set and the searched messages are already read. In this case, it displays the
messages in the search result, but there are blank when double-clicking on them.
If the found messages are unread, then it works. It works for all messages, if I
set "View/Threads/All" on that folder.

I also just found out, that searching in the body does not work for a searched
folder (IMAP online searched is checked). But that may be an already known bug.
What I described in comment #23 also happens in Thunderbird 1.0.2 RC.
Here is the output from the Javascript Console for comment #23:

Error: uncaught exception: [Exception... "Component returned failure code:
0x8000ffff (NS_ERROR_UNEXPECTED) [nsIMsgDBView.loadMessageByViewIndex]" 
nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame ::
chrome://messenger/content/messageWindow.js :: LoadMessageByViewIndex :: line
1120"  data: no]
This bug indicates that it was fixed a long time ago, but I am experiencing it with tbird 2.0.0.9.  Regression?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: