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

            Bug ID: 522017
           Summary: servicemenus with text file opens unsolicited file
    Classification: Applications
           Product: dolphin
      Version First 26.04.1
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
If you create an action in Dolphin to show a text file, it shows the text file
as well the file you click on.

STEPS TO REPRODUCE
1.  Suppose you have any video file and a text file called myffmpeg-help.md

2.  Create a action for Dolphin
Under /usr/share/kio/servicemenus/

Create a new file: ffmpeg-help.desktop
with content:
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=video/*;
Actions=OpenFFmpegHelp

[Desktop Action OpenFFmpegHelp]
Name=ffmpeg help
Icon=help-browser
Exec=xdg-open "/my/path/to/myffmpeg-help.md"


Save the file and make sure it has execution permission.

2.  In Dolphin go to the location of your video file.
Right-click on the video and go to actions>ffmpeg-help


OBSERVED RESULT
The text editor will open 2 files:
1/ myffmpeg-help.md
2/ the righ-clicked video file !!


EXPECTED RESULT
Only the text file ought to be opened

SOFTWARE/OS VERSIONS
OS: Manjaro KDE latest stable(2026-05-27)
Dolphin 26.04.1

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

Reply via email to