Bug 457167

Summary: appimage permission erros dont make sense
Product: [Applications] dolphin Reporter: johnathan <testing1237a-c>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde, kfm-devel
Priority: NOR    
Version: 22.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: konsole error
dolphin error

Description johnathan 2022-07-26 18:04:41 UTC
Created attachment 150925 [details]
konsole error

SUMMARY
i downloaded an appimage. when i try to double click on it, dolphin complains
"For security reasons, launching executables is not allowed in this context."

this gives me no indication that i should run the appimage by right click > run in konsole.

2. when i do run in konsole, i am presented with 

"Warning: Could not find '/home/user/Downloads/Frappe-Books-0.6.1-beta.0.AppImage', starting '/bin/bash' instead.  Please check your profile settings"

again, this does not inform me that i have to open properties, tick is executable under properties.

after doing that, i still get the same message in dolphin double clicking, i have to go to run in konsole and then the appimage works..


i can say a couple of things about this.
1. we can improve the error description by informing users how appimages are executed and that executable checkbox has to be checked or
2. detect, when double clicking that this is an appimage, that the permission is not set, ask the user if it should be made executable and run it as is without having to open in konsole.



STEPS TO REPRODUCE
1.  download appimage.
2.  double click on it in dolphin. see error.
3.  right click>run in konsole. then see error
4. now check is executable in properties. 
5. now run in konsole works.

OBSERVED RESULT
unhelpful errors in dolphin and konsole that do not inform the users about permissions issue in appimage and no way to just automatically check the permissions button on behalf of the user rather than forcing them to do it, most probably they wont or wont know how

EXPECTED RESULT
appimage should run right off the bat after downloading it. sure,  the software can ask user if they want to run appimages downloaded from the internet but why should users be bothered to go through hoops to run software even if it is for the first time?

Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400
Manufacturer: Dell Inc.
Product Name: Latitude E7440
System Version: 01
Comment 1 johnathan 2022-07-26 18:05:07 UTC
Created attachment 150926 [details]
dolphin error