Bug 316102 - kmail: folders with email change possition after selected
Summary: kmail: folders with email change possition after selected
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 4.10
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-03-04 09:38 UTC by Mark
Modified: 2018-09-26 17:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2013-03-04 09:38:22 UTC
on the left side of kmail window, there's a subwindows with folders for each email (imap) account and underlying folders for sorting out emails. With the recent (kde 4.10 and beta previews) versions, there's a very annoying bug: when I click on a folder, their ordering changes. This is 1/ annoying for the user, 2/ leads to errors like marking as read all mails in unintended folder. 

Example: 
mark-gmail (name of imap acc)
-> Inbox
-> Work
-> Friends

====shuffle====

mark-gmail
-> Work
->Friends
-> Inbox




Reproducible: Always

Steps to Reproduce:
1. select a folder with unread mail
2.
3.
Actual Results:  
shuffle order

Expected Results:  
fixed order of listing the folders (it used to be possible to define this, im not sure if i found it in recent settings - eg: alphabetically, user-defined order, ...)
Comment 1 Wolfgang Rohdewald 2013-03-05 23:18:40 UTC
this happens to me if folders are sorted by Total and if folders are not synced, so they are shown as having 0 messages. Selecting the folder syncs it, its number of messages changes, and so it changes position in the folder list.

But the correct folder (the clicked one) stays selected.

You select the sorting order by clicking on the column head. There is an arrow showing which column is the sorting column. If you sort by name, this problem should go away.

Can you confirm that this is what happens?

If so, the real problem is that the IMAP folders are out of sync. I never used IMAP, for me it happens with maildir folders which are out of sync because I stresstested maildir.
Comment 2 Mark 2013-03-06 21:59:20 UTC
Wolfgang, thank you for reply! Sorting by name is a workaround for the problem. 

> But the correct folder (the clicked one) stays selected.  
Guilty in both cases :) you are right. The evil's trick is that you select folder (left click), it will resync and shuffle, and then rightclick to 'Mark all as read', will act on a different folder .. and make you lots of trouble. 

I dont know if we want to close this as Invalid, or enhance "sort by unread" to wait with redrawing folders' ordering after the selected folder is synced(so it's more smooth)? 

Thank you, 
mark
Comment 3 Andrew Crouthamel 2018-09-24 02:12:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Wolfgang Rohdewald 2018-09-24 03:55:12 UTC
My bad, I should have removed those status flags
Comment 5 Christophe Marin 2018-09-26 08:46:44 UTC
(In reply to Wolfgang Rohdewald from comment #4)
> My bad, I should have removed those status flags

So you're able to reproduce this issue with recent KMail versions ?
Comment 6 Wolfgang Rohdewald 2018-09-26 09:41:54 UTC
No idea. I stopped using kmail a long time ago, it was far too buggy after switching to Akonadi and never got as stable and usable as it was before that switch. See my bug reports.

I can only say that I should have removed the NEEDSINFO which I now did.

But I think it should not be too difficult for a current user of kmail to check it.