Bug 337632

Summary: search (alt+q) should select existing text in field for faster search
Product: [Applications] kmail2 Reporter: Pascal d'Hermilly <pascal>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: me, montel
Priority: NOR    
Version: 4.13.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.14

Description Pascal d'Hermilly 2014-07-20 13:03:47 UTC
Selecting text in the search query field when clicking or pressing shortcut would increase the speed of doing consecutive searches.
Search in email already works this way. Ctrl+f

Reproducible: Always
Comment 1 Laurent Montel 2014-07-22 07:45:07 UTC
could you explain more ?
alt+q will open search dialog ?
alt+q will copy select text in quicksearch line ?
Comment 2 Pascal d'Hermilly 2014-07-22 08:05:28 UTC
Sorry for being unclear.
I'm suggesting that upon focus in the search field: the existing text in the field is selected such that any typing will start a new text instead of having to hold down backspace.

Scenario:
I'm looking for a mail about a meeting and only a few people could have sent it. First I search after Nina, then after Ole and then after David.
Not having to press backspace 4 times to clear Nina from the first search query makes it faster and more focused to search for Ole. Instead I just type Ole
Comment 3 Laurent Montel 2014-07-22 11:54:17 UTC
Git commit 3d90cb66b93cadd2fc18b8c48a8a0203d763b6fe by Montel Laurent.
Committed on 22/07/2014 at 11:53.
Pushed by mlaurent into branch 'KDE/4.14'.

Fix Bug 337632 - search (alt+q) should select existing text in field for faster search

FIXED-IN: 4.14

M  +2    -1    kmail/kmmainwidget.cpp
M  +4    -1    messagelist/core/quicksearchline.cpp
M  +1    -1    messagelist/core/quicksearchline.h
M  +2    -2    messagelist/core/view.cpp
M  +1    -1    messagelist/core/view.h
M  +2    -2    messagelist/core/widgetbase.cpp
M  +1    -1    messagelist/core/widgetbase.h
M  +2    -2    messagelist/pane.cpp
M  +1    -1    messagelist/pane.h
M  +2    -2    messagelist/widget.cpp
M  +1    -1    messagelist/widget.h

http://commits.kde.org/kdepim/3d90cb66b93cadd2fc18b8c48a8a0203d763b6fe
Comment 4 Pascal d'Hermilly 2014-07-22 11:58:04 UTC
:-)