Bug 409426 - Make ability to run scripts more obvious
Summary: Make ability to run scripts more obvious
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 18.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 16:58 UTC by Alan Dacey Sr.
Modified: 2019-07-15 03:24 UTC (History)
2 users (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 Alan Dacey Sr. 2019-07-02 16:58:25 UTC
SUMMARY
Did a new install of Kubuntu 19.04 to use as a mobile workstation. I have shell scripts in Dropbox that I need for my work. When I tried to execute the scripts from my new laptop they opened in kate instead of doing what I needed them to do. They've been working for quite a while on my main workstation running Kubuntu 18.04 LTS
I finally found that I needed to click the checkbox under Control--> Configure Dolphin --> General --> Confirmations --> under "Ask for permission..." section --> "Executing scripts or desktop files" This is most likely never discoverable to the average user. 
After I checked the correct checkbox a dialog came up asking me what I wanted to do. This dialog should appear whether or not the checkbox is checked.

STEPS TO REPRODUCE
1. Install new OS
2. Click on an existing shell script
3. Opens in kate instead of running

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-07-15 03:24:55 UTC
> This dialog should appear whether or not the checkbox is checked.
That's clearly not possible since then the checkbox would have no effect, eliminating its reason for existence. :)

The checkbox in question is checked by default, so if you found that it wasn't checked for you, then one of the following happened:
1. Ubuntu alters the default to uncheck this checkbox by default
2. You or someone else unchecked it by mistake
3. Though you reinstalled the OS, you migrated settings from a previous install, and among them was this checkbox being unchecked

If you create a new account and it's unchecked for that user, then #1 is the culprit, and I would encourage you to take it up with the Ubuntu people and ask them to stop overriding the upstream default for this. Otherwise, it was #2 or #3 :)