Bug 358486 - Pressing ENTER while in Search Box of Geolocation closes the window instead of searching the location
Summary: Pressing ENTER while in Search Box of Geolocation closes the window instead o...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-Places (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-24 15:23 UTC by Milan Knížek
Modified: 2017-08-18 19:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Knížek 2016-01-24 15:23:56 UTC
The title says it all.

Reproducible: Always

Steps to Reproduce:
1. Select image in thumbnail view
2. Select Edit // Edit Geolocation
3. Switch to Search tab
4. Type some address in the search bar (OSM engine is preselected)
5. Press ENTER to carry out the search and get some results


Actual Results:  
The Geolocation window closes suddenly, probably because pressing ENTER is the same as mouse clicking on "Close" button.

Expected Results:  
When the cursor is in the search bar, pressing ENTER should be the same as mouse click on "Search" button.
Comment 1 caulier.gilles 2016-01-24 15:54:22 UTC
Can you run digiKam into GDB and give the backtrace please. Look instructions here :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 Maik Qualmann 2016-01-24 17:12:42 UTC
Git commit 122071904fec7e26de66b65a0789d36585da78b2 by Maik Qualmann.
Committed on 24/01/2016 at 17:04.
Pushed by mqualmann into branch 'master'.

disable close button as default button in the Edit Geolocation dialog
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +1    -2    utilities/geolocation/editor/dialog/geolocationedit.cpp

http://commits.kde.org/digikam/122071904fec7e26de66b65a0789d36585da78b2