Bug 376638 - KDE Connect 1.6 loosing file extension
Summary: KDE Connect 1.6 loosing file extension
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Linux
: NOR major
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-18 21:55 UTC by Björn Ballard
Modified: 2017-02-20 19:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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