Bug 84947 - When new message arrives focus is wrong
Summary: When new message arrives focus is wrong
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.82
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 136320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-11 19:53 UTC by Tom Albers
Modified: 2009-08-26 22:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of wrong focus. (9 bytes, image/png)
2004-07-11 19:54 UTC, Tom Albers
Details
screenie (9 bytes, image/png)
2004-07-17 23:34 UTC, Tom Albers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Albers 2004-07-11 19:53:38 UTC
Version:           1.6.82 (using KDE 3.2.91 (3.3 beta1), compiled sources)
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-3)
OS:                Linux (i686) release 2.6.5-1-k7

When reading a message and new mail arrives, the bar which indicates which messages is being read is shifted to the newly arrived mail, but the preview pane still shows the message I was reading. 

I cannot read the new message because it is already selected...

I'll attach a (small) ksnapshot..
Comment 1 Tom Albers 2004-07-11 19:54:52 UTC
Created attachment 6627 [details]
screenshot of wrong focus.

i'm using online-imap btw
Comment 2 Carsten Burghardt 2004-07-11 23:31:26 UTC
Did you checkout the sources from cvs?  If yes, when did you last update?

Comment 3 Tom Albers 2004-07-11 23:43:29 UTC
beta 1, via konstruct last yesterday.
Comment 4 Till Adam 2004-07-15 11:11:05 UTC
Tom, we believe this to be fixed in cvs. Please re-check with the next beta, and reopen if it still happens there.
Comment 5 Tom Albers 2004-07-17 23:29:20 UTC
Still happens with the cvs-version. I'll attach an example.
Comment 6 Tom Albers 2004-07-17 23:34:16 UTC
Created attachment 6714 [details]
screenie

Was reading first message (selected), then I pretty sure the mail of Ingo
arrived and the view switched to the "Re:Wotm:"-message.
Comment 7 Tom Albers 2004-07-17 23:38:41 UTC
Well rereading the whole bug-report, it struck me that this is different from the first report, but related.
Comment 8 Tom Albers 2004-08-01 13:23:13 UTC
Ok. This is getting pretty annoying now, but I've tracked it down a bit more.

I've sorted the message list on date asc (oldest on top). I have two messages, A and Z. Z is located at the bottom and has a time in the future. 

I am reading message A. Then new mail arrives with a current time, so this will be inserted between the two messages. This happens ok. 

At that moment the preview pane will switch to message Z (the one dated in the future). The messagelist has still got the focus on message A.
Comment 9 Carsten Burghardt 2004-08-01 22:25:39 UTC
Does kmail has to scroll the headerlist to show Z when this happens?
I can't reproduce this currently so there has to be something different in our 
setups...

Comment 10 Tom Albers 2004-08-02 00:57:59 UTC
No, there is no scrollbar needed, just a few messages in the inbox. Some 
settings I have:
- Do not go to first unread message in the folder.
- I use online-imap
- I have threading enabled, but there was no thread in the inbox.
- It was someone who used a wrong timezone, so the list showed the message two 
hours in the future.
Need to know more?

Comment 11 Thomas McGuire 2007-04-08 14:11:54 UTC
*** Bug 136320 has been marked as a duplicate of this bug. ***
Comment 12 Martin Koller 2009-08-26 22:19:50 UTC
as the message list was completely rewritten, can you still see the problem with KDE 4.3 ?
Comment 13 Tom Albers 2009-08-26 22:25:16 UTC
I don't use kmail anymore.
Comment 14 Shaun Thomas 2009-08-26 22:49:40 UTC
I haven't been able to replicate this in recent versions of kmail. I'll leave you guys alone now. ;)