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

            Bug ID: 476600
           Summary: Selecting files in klipper does not make them
                    available to xdg-desktop-portal
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Clipboard
          Assignee: plasma-b...@kde.org
          Reporter: ales.ast...@gmail.com
  Target Milestone: 1.0

When I copy a file in Dolphin it gets "application/vnd.portal.filetransfer" as
a possible mime type, and the file is indeed available to be pasted in
Flatpaks. When selecting the same file, or an older file, in the klipper
history it does not get the same mime type and cannot be pasted in Flatpaks.


STEPS TO REPRODUCE
1. Copy an image file
2. Open the clipboard applet
3. Click the top most entry, that should be the image you just copied
4. CTRL+V in Telegram Desktop

OBSERVED RESULT
Telegram shows the "Send an image" dialog

EXPECTED RESULT
Telegram shows a Toast saying "File /home/foo/bar.jpg is empty and can't be
sent"

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 39 KDE
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
When taking a screenshot with the Spectacle keyboard shortcuts the file path is
copied to the clipboard, but the mime type
"application/vnd.portal.filetransfer" is also missing and the screenshot cannot
be pasted in Flatpaks. This may or may not be the same issue. If not, i will
open the same bug report against spectacle.

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

Reply via email to