Bug 493613 - Add Dolphin-like executable file handling safety function
Summary: Add Dolphin-like executable file handling safety function
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.8.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-25 01:42 UTC by Pedro V
Modified: 2024-09-25 01:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro V 2024-09-25 01:42:49 UTC
Currently as likely expected by most users, Krusader executes any executable file without confirmation.
While this is mostly desired, it does come with downsides often not considered:
- Mice tend to get unreliable with age, either missing clicks, or doubling them, the later possibly resulting in unintentional execution
- Surprise file list changes unavoidably make the mouse cursor unreliable for picking the right file every time
- Currently present panel refreshing bugs result in the selection resetting to an earlier state with I/O performance based delay, also making the keyboard not completely reliable for picking the right file
- Handling questionable executable files with no intention of executing any makes the presence of preventative safety features desirable

Initially I figured the issue was too niche and would be mostly met with a "don't be clumsy/paranoid" kind of response, but then I recently ran into something really surprising: Dolphin doesn't just have such a safety guard, it's even enabled by default.

The setting in Dolphin is: Configure -> General -> Confirmations -> When opening an executable file: [Always ask] (default) / [Open in application] / [Run script]

It seems to strike a good balance as low-risk files associated with handlers like pictures shown by a picture viewer can be still opened effortlessly, while opening an executable file pops up a confirmation window defaulting to the Cancel operation, raising the bar for execution to be pretty much intentional, while preserving the freedom of choice the usual KDE way by letting the user disable this feature.