https://bugs.kde.org/show_bug.cgi?id=435560

            Bug ID: 435560
           Summary: Add an option to ask for action when double-clicking
                    on script file
           Product: plasmashell
           Version: 5.21.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Folder
          Assignee: h...@kde.org
          Reporter: popov...@ukr.net
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY

When "Open by double-clicking" option is enabled, double-clicking on a script
file executes it, which is unsafe (the same for single-clicking, when that
option is disabled). It is necessary to add an option (like in the Dolphin)
that allows the user to choose what to do with the file being opened: execute,
open in a text editor or always ask.

STEPS TO REPRODUCE

1. Create a script file on the desktop, for example:

> #!/bin/bash
> touch test.txt
2. Open it by double-clicking (or single-clicking, depending on whether the
"Open by double-clicking" option is enabled or not)

OBSERVED RESULT

Script file is executed

EXPECTED RESULT

The user is asked for what to do with the script file

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: openSUSE Tumbleweed 20210406 / X11
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.15.2
Qt Version: 5.80.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to