Closed Bug 306322 Opened 19 years ago Closed 19 years ago

sort by - grouped by sort disabled after changing sort order

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mailbox, Assigned: mscott)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050828 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050828 Firefox/1.0+

If I click on a column in message-list like "Date"  "Sender" Receipient" or
anything else, grouped by sort, threaded and unthreaded are disabled in menu
view -> sort-by and I can't use them.

If I restart TB, grouped-by sort works again. 

TB 1.0+ 20050828 branch


Reproducible: Always

Steps to Reproduce:
1. sort your messages with grouped by sort
2. click on some columens in message-list like "Sender" or "Receipient"
3. click key "G" to grouped by sort your messages - it doesn't work. Additional,
grouped by sort is disabled in menu view -> sortby
Here, you see that grouped by sort is disabled -  why ?
do you see any exceptions in the js console? This wfm on a trunk build...
(In reply to comment #3)
> do you see any exceptions in the js console? This wfm on a trunk build...

yes, thanks for that hint.


Error: [Exception... "Component returned failure code: 0x80004003
(NS_ERROR_INVALID_POINTER) [nsIMessenger.messageServiceFromURI]"  nsresult:
"0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
chrome://messenger/content/mailCommands.js :: processNext :: line 646"  data: no]
Source File: chrome://messenger/content/mailCommands.js
Line: 646

---

function analyzeMessages(messages)
{
  function processNext()
  {
    if (counter < messages.length) 
    {
      var messageUri = messages[counter];
this is LINE 646 --> var message =
messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);
      ++counter;
      analyze(message, processNext);
     }
     else 
       performActionOnJunkMsgs();
  }

  getJunkmailComponent();
  var counter = 0;
  processNext();
}


Do you have any extensions installed? I don't see any code like that in the core
Thunderbird.
(In reply to comment #5)
> Do you have any extensions installed? I don't see any code like that in the core
> Thunderbird.

Yes,

- contacts sidebar
- minimize to tray  <-- that's the problem!!!
- compactfolder (it's just a toolbar button)
- talkback

I've deactivated minimize to tray and now it works.

thanks.

and now? who solves that problem with that extension ?



(In reply to comment #6)
> (In reply to comment #5)
> > Do you have any extensions installed? I don't see any code like that in the core
> > Thunderbird.
> 
> Yes,
> 
> - contacts sidebar
> - minimize to tray  <-- that's the problem!!!
> - compactfolder (it's just a toolbar button)
> - talkback
> 
> I've deactivated minimize to tray and now it works.
> 
> thanks.
> 
> and now? who solves that problem with that extension ?


Although I've deactivated all extensions, the problem still occurs if I click
more than 3 times on key "g".

I think, all extensions are fine, because I've deactivated them all.
version 1.6a1 (20050828)

Works for me. What is the error message you get after pressing "G" three times.
(Because if it's the same, then the extension is still to blame.)
(In reply to comment #8)
> version 1.6a1 (20050828)
> 
> Works for me. What is the error message you get after pressing "G" three times.
> (Because if it's the same, then the extension is still to blame.)

error message?  there's no error message and now, there's no entry in js-console.

Another problem: why does my attachment for this bug don't work? it's a gif file
which can be displayed on my pc... but not on bugzilla...
I am unable to view those screenshots attached to this bug -- are you sure those 
are GIFs?

> Although I've deactivated all extensions, the problem still occurs if I click
> more than 3 times on key "g".

If you type 'G' when there is no grouping, TB will change the view to Grouped.  
It does *not* ungroup when you type 'G' again (xref bug 275871, bug 309010).

However: I notice that when you turn off the grouping using the menu (View | 
SortBy | Threaded or Unthreaded), the focus is shifted into the QuickSearch 
field.  If you type G while this is active, the G goes into the quicksearch and 
the search activates, at which point the SortBy|Group/Threaded/Unthreaded is 
turned off because search results can't be grouped or threaded.  

Andreas, is that the problem you're seeing?
Attachment #194174 - Attachment is obsolete: true
Attached image another try....
(In reply to comment #10)
> I am unable to view those screenshots attached to this bug -- are you sure those 
> are GIFs?

Yes, but now the attachment works.

(In reply to comment #0)

> Steps to Reproduce:
> 1. sort your messages with grouped by sort
> 2. click on some columens in message-list like "Sender" or "Receipient"
> 3. click key "G" to grouped by sort your messages - it doesn't work.
> Additional, grouped by sort is disabled in menu view -> sortby

As seen in attachment 197047 [details], the problem is that the 'g' keystroke was entered into the QuickSearch field (where the focus must have been); once this happens, the mail is filtered to show only messages with 'g' in the subject or sender (or whichever criterion is selected for QuickSearch).  Also, when QuickSearch is active, message threading and grouping is disabled.

(Or rather, threading and grouping *were* disabled.  Current 1.6a1 nightly builds have a fix to allow threading and grouping of QuickSearch and MailView results and virtual folders.)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: