Bug 349599 - Sort unread messages at the top of incoming list
Summary: Sort unread messages at the top of incoming list
Status: RESOLVED INTENTIONAL
Alias: None
Product: trojita
Classification: Applications
Component: Desktop GUI (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-25 14:40 UTC by Raphael Groner
Modified: 2016-01-25 19:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Groner 2015-06-25 14:40:54 UTC
When I click on the column header for the read states, I can only sort the unread messages at the bottom of the list of incoming mails. Please provide an option to sort all the unread mails at the top. Also, you should insert an option to the sort sub-menu of window menu.

Reproducible: Always

Steps to Reproduce:
1. start trojita and receive some new mails
2. click the column header of read state column
3. look for unread messages

Actual Results:  
when there are unread messages, they are always found at the bottom of the list

Expected Results:  
sort unread messages at the top
Comment 1 Jan Kundrát 2015-07-24 09:15:30 UTC
Thanks for this feature request, and sorry for a late response once more. I've never needed this myself, so I don't think I'll be investing much time into coding this myself. If you would like to help, patches are welcome.

A good place to start is the src/Imap/Model/ThreadingMsgListModel.cpp , but it's a bit complicated code. Right now, all sort operations result in a server roundtrip, so this one needs a special case to work locally (all message flags are already known after all).

You cna already make a choice to only show unread messages, btw -- tha tmight suite you until someone implements this feature (if it ever happens).
Comment 2 Jan Kundrát 2016-01-25 19:58:19 UTC
The "seen status" does not appear to be visible anymore, and therefore sorting by the seen status is not supported.