Bug 179992 - kmail input focus is on search filter after startup
Summary: kmail input focus is on search filter after startup
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: search (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 199459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-08 08:50 UTC by Andrey Borzenkov
Modified: 2009-07-22 19:25 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 Andrey Borzenkov 2009-01-08 08:50:20 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

After startup kmail opens Inbox, but instead of going to first unread mail (as set in preferences) it goes into search filter field. It requires explicit click on message list to change focus.

Changing folder behaves correctly; it seems to happen on startup only.
Comment 1 Christophe Marin 2009-05-30 20:35:06 UTC
This issue should be fixed now, can you check with a recent KMail version ?
Comment 2 Andrey Borzenkov 2009-05-30 20:38:39 UTC
I do not see it anymore in 4.2.87.
Comment 3 Christophe Marin 2009-05-30 20:52:45 UTC
Thank you for your feedback.
Comment 4 Thomas McGuire 2009-07-11 20:46:32 UTC
SVN commit 995025 by tmcguire:

Don't initally put the focus on the quick search field, but on the view, so that shortcuts like
+ and j work when starting.

This is a workaround, for some reason the setFocus() call in widgetbase.cpp didn't work, the focus_child
of the mainwindow was reset to 0 for some unknown reason afterwards.

BUG: 179992


 M  +2 -0      kmail_part.cpp  
 M  +6 -0      kmmainwidget.cpp  
 M  +3 -1      messagelistview/core/widgetbase.cpp  
 M  +11 -0     messagelistview/pane.cpp  
 M  +5 -0      messagelistview/pane.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=995025
Comment 5 Christophe Marin 2009-07-13 22:57:42 UTC
*** Bug 199459 has been marked as a duplicate of this bug. ***
Comment 6 Allen Winter 2009-07-22 19:25:48 UTC
SVN commit 1001214 by winterz:

Backport r995025 by tmcguire from trunk to the 4.3 branch:

Don't initally put the focus on the quick search field, but on the view, so that shortcuts like
+ and j work when starting.

This is a workaround, for some reason the setFocus() call in widgetbase.cpp didn't work, the focus_child
of the mainwindow was reset to 0 for some unknown reason afterwards.

CCBUG: 179992



 M  +2 -0      kmail_part.cpp  
 M  +6 -0      kmmainwidget.cpp  
 M  +3 -1      messagelistview/core/widgetbase.cpp  
 M  +11 -0     messagelistview/pane.cpp  
 M  +5 -0      messagelistview/pane.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1001214