Bug 337632 - search (alt+q) should select existing text in field for faster search
Summary: search (alt+q) should select existing text in field for faster search
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: search (show other bugs)
Version: 4.13.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-20 13:03 UTC by Pascal d'Hermilly
Modified: 2014-07-22 11:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
:-)