https://bugs.kde.org/show_bug.cgi?id=451394
Bug ID: 451394 Summary: In Wayland session screenshots in Slack do not generate preview Product: Spectacle Version: 21.12.3 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: m...@baloneygeek.com Reporter: b...@mrvanes.com CC: k...@david-redondo.de Target Milestone: --- Created attachment 147439 --> https://bugs.kde.org/attachment.cgi?id=147439&action=edit Screenshot showing the failed preview in Slack SUMMARY Using a Wayland-plasma session screenshots taken in Spectacle and put on clipboard can be pasted in a Slack converstation but Slack fails to generate a preview and shows the paste as an attached file (which quite defeats the point of sharing the screenshot). When I save the screenshot to file, open it in Gwenview and copy-paste to Slack, the preview is generated. This also works in normal X11 session. Slack is running in XWayland, but both Spectacle and Gwenview are native Wayland applications. STEPS TO REPRODUCE 1. Install Slack desktop client from Slack repository (https://packagecloud.io/slacktechnologies/slack/debian/ jessie main) 2. Start Plasma Wayland session 3. Press prnt-scrn to start Spectacle and create screenshot 4. Press "Copy Image to Clipboard" 5. Press Ctrl-V in a Slack conversation OBSERVED RESULT The image is pasted as an attachment instead of preview, and misses the preview in the conversation. EXPECTED RESULT The image pasted as a previewable image inline in the conversation. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.24.3 KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 -- You are receiving this mail because: You are watching all bug changes.