Bug 510519

Summary: ACCESS_MEDIA_LOCATION permission required to prevent stripping exif data when transferring files
Product: [Applications] kdeconnect Reporter: Anders Lund <anders>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED WORKSFORME    
Severity: minor CC: andrew.g.r.holmes
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Other   
OS: Android 13.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Anders Lund 2025-10-12 08:42:47 UTC
SUMMARY

When sharing photos from android, the GPS location data is stripped from the files, if the sharing app does not have ACCESS_MEDIA_LOCATION android permission. 


STEPS TO REPRODUCE
1. Take a photo with location data on your phone. You can check that the data is possible using you gallery app, or by opening it in a map app (that has said permission). In Fossify galery, it is shown in the file properties.
2. transfer the photo to another device
3. check if the exif data is present. Use Gwenview, for example.

OBSERVED RESULT
Exif data stripped

EXPECTED RESULT
Exif data present

SOFTWARE/OS VERSIONS 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2ADDITIONAL INFORMATION

Android: /e/os 3.1, kdeconnect 1.33.7
Comment 1 Albert Vaca Cintora 2025-11-06 23:26:52 UTC
I can't reproduce this. On what Android version are you? And how are you transferring the files: using the "Share file" feature, or using the "Browse remote filesystem" feature and copying them? Also, if sharing are you doing it from within the KDE Connect app -> Share. Or from some external app (eg: the gallery) -> Share -> KDE Connect?
Comment 2 Anders Lund 2025-11-07 08:54:16 UTC
I am using /e/os android 13 on Fairphone FP3.
I share using an app, eg fossify gallery, camera or other, and share to kdeconnect <device> to a laptop running up-to-date archlinux.
Just tested, still the case.
If I open browse device, gps data is present, so the issue happens in the android share functionality - because it needs that permission, if what the internet tells me is correct.
Comment 3 Bug Janitor Service 2025-11-22 03:46:36 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-12-07 03:45:57 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.