Bug 358486

Summary: Pressing ENTER while in Search Box of Geolocation closes the window instead of searching the location
Product: [Applications] digikam Reporter: Milan Knížek <knizek>
Component: Geolocation-PlacesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0

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