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

            Bug ID: 518365
           Summary: Executable flag on images will make the context menu
                    show "Run as executable" even though clicking it will
                    just open up the image as usual
    Classification: Applications
           Product: dolphin
      Version First 25.12.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 191162
  --> https://bugs.kde.org/attachment.cgi?id=191162&action=edit
Example of a gif file where the context menu shows "Run as executable" even
though when clicking it, it will just open up in an image editor as usual

SUMMARY

Executable flag on images will make the right click context menu show "Run as
executable" even though clicking it will just open up the image as usual. Since
a single normal left click doesn't bring up the usual dialog asking me what I
want to do but straight up opens it, it seems like Dolphin has some
understanding that this can't be run as an executable after all.

This means that the context menu seems to be wrong about what is going to
happen, which for a security relevant action seems suboptimal.

STEPS TO REPRODUCE

1. Set executable flag to a .gif file for example which cannot be run as an
executable
2. Right-click gif file
3. Close the context menu again without interacting with it
4. Left-click gif file

OBSERVED RESULT

Right-click claims the default action is "Run as executable". However,
left-click doesn't bring up the dialog asking if I want to run it, but just
opens the file regularly, showing the default action isn't what the right-click
menu says it is.

EXPECTED RESULT

Right-click menu default action is always correct, since this is a security
sensitive operation and therefore the user should know what they're triggering.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: postmarketOS
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION

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

Reply via email to