Bug 431005

Summary: paste decimal coordinates fails
Product: [Applications] digikam Reporter: Thibaud <alcor.mizar>
Component: Plugin-Generic-GeolocationEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.5.0
Sentry Crash Report:
Attachments: attachment-22883-0.html

Description Thibaud 2020-12-31 13:27:08 UTC
SUMMARY


STEPS TO REPRODUCE
1. choose a picture without GPS coordinates
2. copy coordinates from a text editor, with decimal point 
3. paste in coordinate editor

OBSERVED RESULT
paste doesn't work. 
Entering coordinates by hand doesn't work either, decimal separator won't appear, only integer coordinates are possible.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-12-31 14:08:06 UTC
Decimal coordinates definitely work. Do you use the AppImage? It may be related to the locale error. Start digikam to test in the terminal with "LANG=C digikam.appimage". Please also give an example of the text coordinates

Maik
Comment 2 Thibaud 2021-01-03 17:22:43 UTC
Created attachment 134516 [details]
attachment-22883-0.html

 Hello Maik, 

thanks for your support. Indeed, with "export LANG=C" then "digikam" on the CLI, I can use decimal in GPS coordinates eg 45.45 for latitude, 6.15 for longitude
Without export LANG=C, I can't.
My setup :
- Fedora 33 on AMD® Ryzen 7 3700x 8-core processor × 16 
- Gnome desktop 3.38.2- Wayland

Thanks for supporting Digikam, it's an amazing tool !
Thibaud.
    Le jeudi 31 décembre 2020 à 15:08:10 UTC+1, Maik Qualmann <bugzilla_noreply@kde.org> a écrit :  
 
 https://bugs.kde.org/show_bug.cgi?id=431005

Maik Qualmann <metzpinguin@gmail.com> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
                CC|                            |metzpinguin@gmail.com

--- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> ---
Decimal coordinates definitely work. Do you use the AppImage? It may be related
to the locale error. Start digikam to test in the terminal with "LANG=C
digikam.appimage". Please also give an example of the text coordinates

Maik
Comment 3 caulier.gilles 2022-01-09 15:26:13 UTC
Thibaud,

Do you seen the last message from Maik ?
Can you test with current digiKam 7.5.0 pre-release bundle available here : https://files.kde.org/digikam/

Thanks in advance and happy new year

GilleS Caulier
Comment 4 Maik Qualmann 2022-01-09 16:44:00 UTC
This is now fixed with Bug 447815.

We can now detect whether a comma or point is available as a decimal separator, hopefully also across different languages.

Maik