Last Comment Bug 323391 - Opens only items from one group when the "group-by"-bar is included in selection
: Opens only items from one group when the "group-by"-bar is included in selection
Status: RESOLVED FIXED
:
Product: Thunderbird
Classification: Client Software
Component: Mail Window Front End (show other bugs)
: Trunk
: All All
-- minor (vote)
: Thunderbird 45.0
Assigned To: alta88
:
:
Mentors:
Depends on: 544489
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-14 02:30 PST by Ulf
Modified: 2015-09-21 12:50 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Shows the back-to-back marking of the emails to reproduce the failure. (17.51 KB, image/gif)
2006-01-14 02:37 PST, Ulf
no flags Details
Second marking with the group-by bar to reproduce the bug (14.14 KB, image/gif)
2006-01-14 02:40 PST, Ulf
no flags Details
selectMessages2.patch (5.63 KB, patch)
2015-09-09 14:05 PDT, alta88
no flags Details | Diff | Splinter Review
selectMessages2.patch (6.42 KB, patch)
2015-09-10 07:42 PDT, alta88
mkmelin+mozilla: review+
Details | Diff | Splinter Review

Description User image Ulf 2006-01-14 02:30:01 PST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111 Firefox/1.5

When you navigate in a directory in TB with a sort by date and group-by-sort sorting (grouping) you mark two or more unread emails from two groups back-to-back. Only the one in the last group you marked would be opened.

Example:
Sort by date and group by sort gives you a view with groups "today", "yesterday" a.s.o. Mark two (or more) emails from two groups in series (over the gray-bar with group-title (for example: "yesterday") away) or not back-to-back but you have to mark the gray "group-by"-bar (use strg-button). Than only emails from the "younger" group-by-part are opened.

Reproducible: Always

Steps to Reproduce:
1. Mark two (or more) emails, two from different group-by-sortings (maybe yesterday and today).
2. Hold the strg button to mark the grey "group by" bar.
3. Than press enter.


Actual Results:  
Only the emails from the "younger" (newer) group are opened. When you marked from the groups "yesterday" and "today" only those from "today" are opened.

Expected Results:  
TB have to opened all(!) marked emails. Not only those from a newer group.
Maybe it would be fix this problem if you can´t mark the grey group-by-bar

I use TB 1.5 under WinXP with SP 2.
Sort by date and group-by-sort.
I try this in a extra folder (not inbox or sent) where I move my emails with a filter-rule.

I use no special theme. I use enigmail (but the mails I opened are not encrypted), quote collapse/colors, minimize to tray.

My mails are sorting descending
Comment 1 User image Ulf 2006-01-14 02:37:48 PST
Created attachment 208468 [details]
Shows the back-to-back marking of the emails to reproduce the failure.

View this attachment to see how to mark the emails back-to-back. The gray (here blue because it´s marked) bar from the group-by-sort view is marked.
On the grey bar you can read "Letzte Woche" (en: last weak).
Comment 2 User image Ulf 2006-01-14 02:40:21 PST
Created attachment 208469 [details]
Second marking with the group-by bar to reproduce the bug

Mark your emails in a sort by date and group-by-sort view like in the picture. It´s anymay if you mark the grey (here blue because it´s marked) group-by bar with hold strg-button or back-to-back like in the first attachment ( 2006-01-14 02:37 PST ).
Comment 3 User image Ulf 2006-01-14 02:42:18 PST
Comment on attachment 208469 [details]
Second marking with the group-by bar to reproduce the bug

"Letzte Woche" = last week.

"Gestern" = yesterday
Comment 4 User image Mike Cowperthwaite 2006-01-14 08:58:20 PST
Reproduced with TB 1.5, TB 1.6a1-0105.
Comment 5 User image alta88 2015-09-09 14:00:10 PDT
Bug 544489 mostly fixes this, except for the case of multiselection that includes a collapsed group header row.  In this case, the thread must be expanded for the cloned view to find the selected messages (applies only when the mail.operate_on_msgs_in_collapsed_threads pref is true).
Comment 6 User image alta88 2015-09-09 14:05:00 PDT
Created attachment 8658911 [details] [diff] [review]
selectMessages2.patch
Comment 7 User image alta88 2015-09-10 07:42:00 PDT
Created attachment 8659284 [details] [diff] [review]
selectMessages2.patch
Comment 8 User image Magnus Melin 2015-09-21 12:39:00 PDT
Comment on attachment 8659284 [details] [diff] [review]
selectMessages2.patch

Review of attachment 8659284 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, r=mkmelin

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