Bug 96376 - message list not updated if folder is changed by typing a folder name's first letter
Summary: message list not updated if folder is changed by typing a folder name's first...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: folder list (show other bugs)
Version: 1.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 126615 131404 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-05 18:02 UTC by Ingo Klöcker
Modified: 2009-09-26 11:15 UTC (History)
4 users (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 Ingo Klöcker 2005-01-05 18:02:40 UTC
Version:           1.7.91 (using KDE 3.3.2, compiled sources)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.111.19-default

Martin Špirk wrote:
When I click to some folder in list of folders, the list of messages displays correct messages, it's ok. But when list of folders somehow gets focus, I can press first letter of some folder name and it will be selected. In this situation the list of messages doesn't react and it displays messages from different folder, than the selected one.


Desired fix:
Prevent folder switching by reimplementing keyPressEvent (or so).
Comment 1 Bram Schoenmakers 2007-03-07 23:43:35 UTC
*** Bug 131404 has been marked as a duplicate of this bug. ***
Comment 2 Thomas McGuire 2007-06-22 14:03:13 UTC
*** Bug 126615 has been marked as a duplicate of this bug. ***
Comment 3 Jaime Torres 2008-08-30 22:39:52 UTC
Still present in 1.10.0 (kde 4.1.60).

If I click in local folders, and then in t, the selected folder is trash, then I press d the selected folder is drafts (in any case, there is no mail shown).
If I click again in local folders, and then in the right arrow, the selected folder is outbox (the first one after Local folders), then pressing again right arrow does nothing. Pressing left arrow goes back to Local Folders.

If I click in the drafts folder with the mouse, the mails are shown. If I press t, then a new mail composer window is launched, If I press left arrow, it goes up in the list of mails.

Comment 4 Martin Koller 2009-09-25 22:18:50 UTC
It seems kmail has the concept of letting the user focus a mail or folder but not select it.
When a folder or mail is focused, you can press CTRL+Space to actually select (==activate) it.
Don't know why this is the way it is, and it also seems a bit inconsistent.
See also bug 149310
Comment 5 Thomas McGuire 2009-09-26 02:08:37 UTC
> When a folder or mail is focused, you can press CTRL+Space to actually select
> (==activate) it.
> Don't know why this is the way it is, and it also seems a bit inconsistent.

The reason that the folder is not directly selected is that it would be slow. Selecting a folder means at least reading the index file, but in case of IMAP, also means triggering network operation. You don't want that to happen if you use Ctrl+Right/Left and then Ctrl+Space to switch between several folders.
Comment 6 Martin Koller 2009-09-26 11:15:05 UTC
In kmail from 4.3 the typing of a letter only focuses the folder and does not select it. So the behavior is as designed. Therefore I close this.