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

            Bug ID: 440726
           Summary: MIME-based actions for copied images
           Product: plasmashell
           Version: 5.22.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Clipboard
          Assignee: plasma-b...@kde.org
          Reporter: corentingirard....@gmail.com
  Target Milestone: 1.0

SUMMARY

Currently, MIME-based actions work for images **when you copied its filename**
(with the `file://` protocol).

It could be cool that it works with copied images too (raw image).

I wanted to use a work-around like this command:

```
xclip -sel clip -t image/png -o > /tmp/clipboard.png && gwenview
/tmp/clipboard.png
```

But I'm not able to create an action for images because it needs a regex.

STEPS TO REPRODUCE
1. Copy a raw image (not from the file explorer)
2. Enable MIME-based actions
3. Click "Invoke action"

OBSERVED RESULT

It shows nothing.

EXPECTED RESULT

It should show MIME-based actions for the image, with the MIME "image/png" for
example.

SOFTWARE/OS VERSIONS
Linux: 5.13.5
KDE Plasma Version: 5.22.4

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

Reply via email to