Bug 376638

Summary: KDE Connect 1.6 loosing file extension
Product: [Applications] kdeconnect Reporter: Björn Ballard <bjorn.ballard>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: major CC: guido
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Björn Ballard 2017-02-18 21:55:12 UTC
When sending a file from PC to phone the extension of the file is removed. For example: sending "master.kdb" results in file named "master" on phone.
Comment 1 Guido Schmidt 2017-02-19 23:47:33 UTC
Exactly the same thing happend to here an my tablet. 
Version on tablet is 1.6, on Desktop 1.0.1-1.4.
Comment 2 Albert Vaca Cintora 2017-02-20 19:20:59 UTC
Git commit ecad7ccea220f75880ae64e545ee37490d41757a by Albert Vaca.
Committed on 20/02/2017 at 19:20.
Pushed by albertvaka into branch '1.x'.

Try not to lose filename extensions.

Android's Storage Access Framework abstraction wants us to use mimetypes
instead of file extensions, but for some file types it can't guess a useful
mimetype. In those cases, provide the extension as part of the base name.

M  +6    -2    src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java

https://commits.kde.org/kdeconnect-android/ecad7ccea220f75880ae64e545ee37490d41757a