Open
Bug 542161
Opened 15 years ago
Updated 2 years ago
cmd_nextUnreadMsg command fails
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: bitmancer.bassplayer, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2) Gecko/20100125 Namoroka/3.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.7) Gecko/20100125 Lightning/1.0b2pre Shredder/3.0.1
When at end of last new message in a folder, select "Next" button or space bar to go to next unread message in another folder, also in Local Folders; Confirm Advance requester is raised properly; answering Yes does not cause any display change, i.e. old message stays displayed. Running in terminal throws:
An error occurred executing the cmd_nextUnreadMsg command
[Exception... "'[JavaScript Error: "SelectFolder is not defined" {file: "chrome://messenger/content/msgViewNavigation.js" line: 242}]' when calling method: [nsIController::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 86" data: yes]
Reproducible: Always
Steps to Reproduce:
1.Read any message in a folder with no new messages, or last new message in any folder, and go to end of message.
2.Hit space bar to trigger shortcut for "go to next unread message" or press button for same action.
3.Answer "Yes" to Confirm
4.Watch in frustration as nothing happens.
Actual Results:
An error occurred executing the cmd_nextUnreadMsg command
[Exception... "'[JavaScript Error: "SelectFolder is not defined" {file: "chrome://messenger/content/msgViewNavigation.js" line: 242}]' when calling method: [nsIController::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 86" data: yes]
Expected Results:
(As in Thunderbird 2.0.0.x) Current folder changed to appropriate new folder containing Next unread message; Next unread message displayed in message pane;
When not displaying a message, spacebar can trigger folder transition properly.
I have looked at msgViewNavigation.js (both locations) and it is missing the declaration for "function SelectFolder()".
If I could figure out how to instrument the code and substitute a stub, I would do so to try to help more.
Comment 1•15 years ago
|
||
This works for me on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2pre) Gecko/20100120 Lanikai/3.1a1. Can you try in -safe-mode (http://kb.mozillazine.org/Safe_mode) ?
Reporter | ||
Comment 2•15 years ago
|
||
In safe=mode, the error message is exactly the same, character for character.
I went back to 3.0.1 released version because 3.1a1 was doing it. Did you note my diagnosis that msgViewNavigation.js (both locations) is missing the
declaration for "function SelectFolder()" ? Is there such a declaration in your
msgViewNavigation.js?
Reporter | ||
Comment 3•15 years ago
|
||
In .../msgViewNavigation.js, there is no function definition for SelectFolder() called from function CrossFolderNavigation(type).
It seems to be in MessageWindow.js executing:
case "cmd_nextUnreadMsg":
case "button_next":
performNavigation(nsMsgNavigationType.nextUnreadMessage);
which is a wrapper for a call to CrossFolderNavigation
In msgViewNavigation.js, there are no Components.utils.import() invocations to handle off-page references.
Comment 4•14 years ago
|
||
Confirmed on Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 ID:20100802165400
Error: An error occurred executing the button_next command: [Exception... "'[JavaScript Error: "SelectFolder is not defined" {file: "chrome://messenger/content/msgViewNavigation.js" line: 242}]' when calling method: [nsIController::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 96" data: yes]
Source File: chrome://global/content/globalOverlay.js
Line: 100
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 6•13 years ago
|
||
Bug continues in new release:
Name Thunderbird
Version 5.0
User Agent Mozilla/5.0 (X11; Linux i686 on x86_64; rv:5.0)
Gecko/20110624 Thunderbird/5.0
Profile Directory (Local drive)
Application Build ID 20110624132812
Built from http://hg.mozilla.org/releases/mozilla-miramar/rev/3fb6ad7c725e
I can't see this either (in TB10). There must be something special that we do not have in our profiles.
To comment 3, the SelectFolder function is defined here:
messageWindow.js:function SelectFolder (aFolderUri) {
msgMail3PaneWindow.js:function SelectFolder(folderUri)
So is it still happening to anybody? We need more data.
Can anybody still reproduce this with recent versions?
Whiteboard: [CLOSEME 2012-09-01]
Version: unspecified → 2.0
Reporter | ||
Comment 9•12 years ago
|
||
(In reply to :aceman from comment #8)
> Can anybody still reproduce this with recent versions?
Results have changed slightly.
Name Thunderbird
Version 14.0
User Agent Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0
Profile Directory (Local drive)
Application Build ID 20120713141924
Correct display of subsequent message from subsequent folder, yet folder displayed does not update.
Example:
Two folders A and B, each with unread message,
Folder A index open in Folder Pane in Classic View.
Read last unread message in A.
Hit spacebar or 'N' to cycle to next unread message.
Confirm 'Yes'.
Unread message from folder B displays.
Folder Pane in Classic View still shows folder A.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•