Bug 3788 - Please make "Go to previous unread" work as "Go to next unread"
Summary: Please make "Go to previous unread" work as "Go to next unread"
Status: NEW
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI/Message List (show other bugs)
Version: 3.15.0
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2017-03-20 15:44 CET by Andreas Rönnquist
Modified: 2017-06-21 21:43 CEST (History)
0 users

See Also:


Attachments
Patch hopefully fixing the problem (8.77 KB, patch)
2017-03-28 15:45 CEST, Andreas Rönnquist
no flags Details | Diff
Better version of patch (12.62 KB, patch)
2017-03-28 20:58 CEST, Andreas Rönnquist
no flags Details | Diff
Updated patch (19.77 KB, patch)
2017-03-29 07:52 CEST, Andreas Rönnquist
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Rönnquist 2017-03-20 15:44:18 CET
Previously to your changes regarding message sorting, I could do "Go to next unread message" and when there are no more unread messages in folder, it would ask to go (or not if that setting is set, but go at once) to the next folder.

This means I could press 'n' (customized setting) and step through a folder, and then it would continue on the next folder with unread messages, still by pressing 'n'.

Please add this same functionality to the code for "Go to previous unread message", since you have changed the sorting order, so that I can keep my workflow that I have used for ages in Claws.

An alternative could be to make it possible to open the oldest unread mail when opening a folder (That doesn't seem to be possible right now). - then I could use my old workflow with this new functionality.
Comment 1 Andreas Rönnquist 2017-03-21 10:04:33 CET
With this new logic having "first unread email" set in "Selection on folder 
opening" should open the _oldest_ mail, right?

As it is now (I have my messages sorted by date descending), and I have
having 'N' go to "Next unread message", when there are no more _newer_
messages in the current folder, it goes to the top message in the next
folder with unread messages (1 or more), and then if I press 'N' again, 
even if I have more unread message in that folder, it goes to the next
folder again with unread messages.

Is this really the intention?

Also, I would say that bugs that break workflow should have different importance than
"enhancement"...
Comment 2 Paul 2017-03-21 10:31:35 CET
(In reply to comment #1)
Please use the users' mailing list or IRC for general discussion.
Comment 3 Andreas Rönnquist 2017-03-28 15:45:48 CEST
Created attachment 1734 [details]
Patch hopefully fixing the problem

I add a patch, that I believe fixes the problem, adding two new options, "Go to next/prev unread message ignoring sorting", which should work just the way it used to before taking sorting in mind.

This way those who want the old way can have it, and those wanting the new, can have that.
Comment 4 Andreas Rönnquist 2017-03-28 20:58:48 CEST
Created attachment 1735 [details]
Better version of patch
Comment 5 Andreas Rönnquist 2017-03-29 07:52:50 CEST
Created attachment 1736 [details]
Updated patch

Adding possibility to add action to toolbar.
Comment 6 Arno Lutz 2017-06-21 21:43:56 CEST
(In reply to comment #5)
> Created attachment 1736 [details]
> Updated patch
> 
> Adding possibility to add action to toolbar.

I have the same problem.
Using openSuse Leap 42.1 and try compile 3.15.0 this problem comes up.
I always use schortcuts for going next unread mail, ignoring folders.
This work fine til 3.14.
Now i install new Leap 42.2 and try again with 3.15.0
Same problem appears!
There is not a problem with system, only claws.

I checked the patch and i does work, but: without shortcuts.
My easy way all times using easystroke, go with an stroke to next unreaded.
With a lot of accounts/News its the best way :-)

Can you fix and add funcionality for using shorcut?


BTW (maybe OT):
it was the first time then change system, with same old /home that claws chrashed.
All IMAP-Account changed to POP3 that i never use.
Hard work to corrent all existing accounts. Dont know waht happens and why :-(

Thanks
Arno