Bug 272247 - Make Ctrl-F automatically switch to and focus search input box
Summary: Make Ctrl-F automatically switch to and focus search input box
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 1.1.0
Assignee: marble-bugs
URL:
Keywords:
: 276324 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-02 15:38 UTC by Kai Uwe Broulik
Modified: 2012-01-09 20:23 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 Kai Uwe Broulik 2011-05-02 15:38:43 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

I usually play around with the various maps there are. When I want to navigate to a certain city, I need to click on the “Navigation” tab, click the input box and enter my search term.
It should be possible to just press Ctrl-F (or any other keystroke you configured) to automatically switch to the search box and focus it, so you can instantly navigate without having to think of the tab you are on at the moment.

Reproducible: Always
Comment 1 Shriramana Sharma 2011-06-23 15:00:06 UTC
Should this be marked as a bug of bug 276324? Or the other way around? 

Rather than "Find", I personally feel "Goto" is better for such things -- see Stellarium's handling of celestial locations -- terrestrial locations should be handled similarly IMHO.
Comment 2 Dennis Nienhüser 2012-01-09 20:22:24 UTC
*** Bug 276324 has been marked as a duplicate of this bug. ***
Comment 3 Dennis Nienhüser 2012-01-09 20:23:01 UTC
Git commit 4ef163e8dcee370536adde538b3a977e6dcce02d by Dennis Nienhüser.
Committed on 09/01/2012 at 21:19.
Pushed by nienhueser into branch 'master'.

Global search bar (KDE).

M  +3    -1    src/KdeMainWindow.cpp
M  +2    -1    src/lib/SearchInputWidget.h
M  +17   -0    src/marble_part.cpp
M  +4    -0    src/marble_part.h
M  +1    -1    src/marbleui.rc

http://commits.kde.org/marble/4ef163e8dcee370536adde538b3a977e6dcce02d