Bug 381555

Summary: AppRun script missing quotes
Product: [Applications] kdevelop Reporter: programmerjake
Component: generalAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal CC: mail, mail, probono, programmerjake
Priority: NOR    
Version First Reported In: 5.2.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description programmerjake 2017-06-23 01:34:09 UTC
The AppRun script in the root directory of the AppImage is missing double quotes in several places, one of the symptoms is if you have a file with spaces in the file name and try to open the file by running the AppImage with the file on the command line, then it splits the file name before trying to open it.

Example:
touch "/tmp/test file.txt"
./KDevelop-5.1.1-x86_64.AppImage "/tmp/test file.txt"

opens the nonexistent files "/tmp/test" and "file.txt"
Comment 1 Kevin Funk 2017-06-23 06:35:25 UTC
Confirmed.

@Simon: Is this is a bug in `AppImageKit/AppImageAssistant.AppDir/package`?
Comment 2 Francis Herne 2017-11-20 01:35:09 UTC
Still a problem with the 5.2.0 AppImage.
Comment 3 probono 2017-11-20 07:05:16 UTC
@Kevin: `AppImageKit/AppImageAssistant.AppDir/package` is not maintained anymore since we have switched to a completely different codebase since. Please check out the appimagetool and linuxdeployqt.
Comment 4 Sven Brauch 2017-11-20 12:17:21 UTC
Yeah, I'll have to do that eventually. I fixed the version of the AppImage repo a while ago since it did really weird things on build in newer versions (e.g. download source code of system libraries, compile them, and copy them over the system versions in /usr/lib). I'll happily check out the new code if this is gone.
Comment 5 probono 2017-11-20 17:10:55 UTC
Looks like you have ran into weird issues, please report such things at https://github.com/AppImage/AppImageKit/issues if you can. Our code should not do this. In any case, please have a look at https://github.com/probonopd/linuxdeployqt, too. By the way, the AppImage developers are at #AppImage on irc.freenode.net.