Bug 491569

Summary: KDE Connect Filesystem plugin needs `storage/emulated/0` appended
Product: [Applications] kdeconnect Reporter: harish.rajagopals
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes, harish.rajagopals, salvuzzo82
Priority: NOR    
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description harish.rajagopals 2024-08-11 09:19:42 UTC
SUMMARY
When using the filesystem expose plugin, the file manager (Thunar) opens with an empty directory. To browse the actual files, one needs to append `storage/emulated/0` to the path, so that the file manager shows the phone's contents.

For reference, see this comment: https://bugs.kde.org/show_bug.cgi?id=473511#c12.

STEPS TO REPRODUCE
1. Pair an Android phone and a Linux desktop.
2. Right click the KDE Connect Indicator's systray icon to open the menu of connected devices.
3. Hover over your Android phone's name, then click on "Browse device".
4. When your file manager opens with an empty directory, append `storage/emulated/0` to the path (essentially traversing to the "storage" directory, then the "emulated" directory, then the "0" directory).

OBSERVED RESULT
The file manager opens with an empty directory (after step 3), but then shows the phone's internal storage contents after step 4.

EXPECTED RESULT
The file manager should directory open with the phone's contents. In other words, it should show a directory called "Internal Storage", which corresponds to the `storage/emulated/0` that was added in step 4.

SOFTWARE/OS VERSIONS
Linux distribution: Arch Linux
KDE Connect (Linux) version: 24.05.2
KDE Connect (Android) version: 1.30.1 from F-Droid
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I haven't updated the Android app to 1.31.1 due to https://bugs.kde.org/show_bug.cgi?id=488644.
Comment 1 snoschese 2025-03-17 11:42:18 UTC
same issue with arch linux and gnome (nautilus) via gsconnect.
atm the only way to access is to add manually /storage/emulated/0 in sftp url.

hope can be fixed.