Bug 186162

Summary: selecting message through "find messages" dialog does not update theg message list
Product: [Unmaintained] kmail Reporter: Mike Frysinger <vapier>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: henrik, jtamate, kde-bugzilla, ndbecker2, sts, szo, wa4geg
Priority: NOR    
Version: 1.11.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mike Frysinger 2009-03-04 23:08:23 UTC
Version:           1.11.0 (using KDE 4.2.0)
Compiler:          gcc 4.3.3 x86_64
OS:                Linux
Installed from:    Gentoo Packages

this bug appears to be new to at least kde-4.2.  correct behavior was seen with kde-3.5, but i'm not sure about kde-4.1 as i dont use the "find messages" function too often.

if i perform a search of a folder using "find messages", i get a list of messages as i expect.  if i then double click on a hit, kmail goes to the folder where that message lives.  the message pane is updated correctly, but the message list is not.  whatever i had last selected is still selected.  without the message list being correct, the shortcut keys dont work properly (as they are based on the selected message in the message list, not the message being viewed in the message pane), nor can i browse the thread that the message is from.
Comment 1 Jaime Torres 2009-03-11 20:30:52 UTC
Thank you for taking the time to report this bug and helping to make KDE
better. This particular bug has already been reported and is a duplicate of bug
178759, so it is being marked as such. Please look at the other bug report to
see if there is any missing information that you can provide, or to see if
there is a workaround for the bug. Additionally any further discussion
regarding the bug should occur in the other report. Feel free to continue to
report any other bugs you may find.

*** This bug has been marked as a duplicate of bug 178759 ***
Comment 2 Jaime Torres 2009-03-11 20:36:38 UTC
Sorry, not a duplicate. The other bug is when the search window is closed. This is when the search window is still open.
Comment 3 Szokovacs Robert 2009-04-03 11:33:57 UTC
I see similar behavior, only worse: if I click on the search result, the folder list selection is updated correctly, the message list is not. The message preview pane is not updated at all, if the last selected folder was different than the one we jump to, it becomes empty. If the last selected folder was the same, the message view show only the header of the selected message, the body is missing.
Comment 4 Jaime Torres 2009-04-16 13:19:40 UTC
*** Bug 189165 has been marked as a duplicate of this bug. ***
Comment 5 Jaime Torres 2009-04-16 13:20:02 UTC
*** Bug 189646 has been marked as a duplicate of this bug. ***
Comment 6 byron campbell 2009-05-17 13:31:53 UTC
Bug confirmed on Kubuntu 9.04, in KMail 1.11.3
Comment 7 Henrik Klagges 2009-06-04 12:35:42 UTC
I can confirm this bug in Kubuntu 9.04, KMail 1.11.4, KDE 4.2.4. It is simple to replicate:
- Go to a folder, e.g. sent-mail
- select a message - it will be highlighted in the message list and it will be displayed in the message window
- open the search message dialog
- search for some string or whatever
- select one of the messages found by the search in the searchwindow, it will be displayed
  in the message window
-> the message list is not updated, it will still display the original message selected, even though the message window shows the new message
-> if you do operations, such as "reply", it will replay to the original message, not the one selected from the search.

Quite annoying, because it means you have to manually navigate to the message in the messagelist before you can do useful stuff such as replying to it.

Note: For me, this bug was not in KDE 4.2.3.

Cheers,
    Henrik
Comment 8 Martin Koller 2009-08-27 22:40:28 UTC
SVN commit 1016457 by mkoller:

BUG: 186162

when selecting a mail in the "Find Messages" window, correctly update
the selection in the message list.


 M  +1 -9      kmmainwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016457
Comment 9 Martin Koller 2009-08-27 22:41:35 UTC
SVN commit 1016458 by mkoller:

Backport r1016457 by mkoller from trunk to the 4.3 branch:

CCBUG: 186162

when selecting a mail in the "Find Messages" window, correctly update
the selection in the message list.



 M  +1 -9      kmmainwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1016458
Comment 10 Martin Koller 2009-08-28 00:21:37 UTC
*** Bug 189705 has been marked as a duplicate of this bug. ***