https://bugs.kde.org/show_bug.cgi?id=524704
Bug ID: 524704
Summary: Hard application crash when requesting address details
in Geolocation Editor with negative longitude (W) on
Windows (Qt6 build)
Classification: Applications
Product: digikam
Version First 9.1.0
Reported In:
Platform: Other
OS: Microsoft Windows
Status: REPORTED
Severity: crash
Priority: NOR
Component: Plugin-Generic-GeolocationEdit
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
With help of Google-KI:
Hard application crash when requesting address details in Geolocation Editor
with negative longitude (W) on Windows (Qt6 build)
Product:
digikam
Component:
Geolocation-ReverseGeoCoding
System Information:
*
* digiKam Version: 9.1.0 (Qt6 build)
* KDE Frameworks: 6.26.0
* Qt Version: 6.11.0
* OS: Windows 10 Version 22H2 (Build ABI: x86_64-little_endian-llp64, Kernel:
winnt 10.0.19045)
*
STEPS TO REPRODUCE
1.
2.
3.
Steps to Reproduce:
1. Open Geolocation Editor (Ctrl+Shift+G) on an image.
2. Paste coordinates with West longitude (e.g., 38.6977, -9.2055 for Lisbon)
or coordinates using 'W' suffix from Google Maps.
3. Verify the marker is displayed correctly on the map and the longitude
field shows a negative value.
4. Go to the Reverse Geocoding tab.
5. Request Address Details / Apply Reverse Geocoding.
Observed Result:
*
* When using OpenStreetMap, the coordinates are sent incorrectly to the server
(ignoring the negative sign), pointing to a wrong location in Spain (Andalusia)
instead of Portugal.
* When switching to GeoNames, it returns a wrong address in Portugal, and the
UI text cannot be copied to the clipboard.
* Immediately after attempting to read or process these faulty address details,
digiKam completely freezes/crashes with no error message and must be forcefully
restarted via Windows Task Manager.
*
OBSERVED RESULT
EXPECTED RESULT
Expected Result:
The reverse geocoding parser should correctly keep and process the negative
longitude sign. If an invalid response is received, digiKam should handle it
gracefully with an error popup instead of a hard application crash. The UI text
for address details should also allow clipboard copying.
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.