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

            Bug ID: 495732
           Summary: Gwenview mime types when copying images are not the
                    most convenient?
    Classification: Applications
           Product: gwenview
           Version: 24.08.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: bjonnh-...@bjonnh.net
  Target Milestone: ---

Gwenview seems to be the only application on my system where copying an image
doesn't put an image type as the first clipboard mime type.

Using `wl-paste -l`

wl-paste -l
Says that Gwenview offers:
```
application/x-qt-image
application/x-kde-suggestedfilename
text/uri-list
application/x-kde-cutselection
image/png
image/bmp
image/cur
image/icns
image/ico
image/jfif
image/jp2
image/jpeg
image/jpg
image/pbm
image/pgm
image/ppm
image/tif
image/tiff
image/wbmp
image/webp
image/xbm
image/xpm
```

When doing a screenshot with spectacle:
```
image/png
application/x-qt-image
x-kde-force-image-copy
application/x-kde-suggestedfilename
image/bmp
image/cur
image/icns
image/ico
image/jfif
image/jp2
image/jpeg
image/jpg
image/pbm
image/pgm
image/ppm
image/tif
image/tiff
image/wbmp
image/webp
image/xbm
image/xpm
```

One use case is when I try to paste images from gwenview in Electron apps (like
Obsidian) it doesn't work with the default paste. This is the only application
for which it happens. Spectacle, Firefox, Gimp, all have an image type as the
first mime type.

So my proposition is to provide the current file exact mime-type as the first
option and then all the rest (because I imagine some applications may prefer a
path?)

J.

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

Reply via email to