Bug 506010 - Unable to paste a screenshot into applications launched after the screenshot
Summary: Unable to paste a screenshot into applications launched after the screenshot
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-23 02:03 UTC by Alexander
Modified: 2025-07-26 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2025-06-23 02:03:02 UTC
SUMMARY
Unable to paste a screenshot into applications launched after the screenshot

STEPS TO REPRODUCE
1. Copy & paste any text, close/tray the target application
2. Create a screenshot with Spectacle using PrtSc Ctrl+C (or PrtSc, "Copy" button in GUI)
3. Open the target application and try pasting the screenshot

OBSERVED RESULT
Screenshot is not pasted into the application, but saved into the Klipper.

EXPECTED RESULT
Screenshot should be pasted into the application.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i5-13500H
Memory: 16 GiB of RAM (15.2 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
1. After the target app has launched, pressing the "Copy" button again solves the issue.
2. If an application was running before the screenshot, Clipboard Manager works.
3. May sound a bit off, but I was able to reproduce this issue more consistently by switching to a workspace different from where screenshot was taken.
Comment 1 Nate Graham 2025-06-24 17:29:12 UTC
Do you have your clipboard history set to 0 or 1 items, or have you disabled the clipboard widget?
Comment 2 Alexander 2025-06-24 20:38:10 UTC
(In reply to Nate Graham from comment #1)
> Do you have your clipboard history set to 0 or 1 items, or have you disabled
> the clipboard widget?

Currently I have a clipboard widget on my panel and history size set to 20.
Comment 3 Nate Graham 2025-06-25 21:51:05 UTC
Thanks. And how have the target apps been packaged? Are they native distro packacing, Flatpak/Snap, or something else? And does the issue happen with every single target app you try, or only some? What are the target apps that you've tried where it happens?
Comment 4 Alexander 2025-06-25 22:14:24 UTC
(In reply to Nate Graham from comment #3)
> Thanks. And how have the target apps been packaged? Are they native distro
> packacing, Flatpak/Snap, or something else? And does the issue happen with
> every single target app you try, or only some? What are the target apps that
> you've tried where it happens?

Im using native packages (pacman and AUR) only. I've tried it in "telegram-desktop", "64gram-desktop", "ayugram", "gimp" and konsole application by running "wl-paste --list-types" command. For GUI applications, nothing is pasted, and konsole prints out "Nothing is copied".
Comment 5 Nate Graham 2025-06-26 15:21:13 UTC
How odd.

Can you reproduce this issue at all in a new clean user account on the same computer?
Comment 6 Alexander 2025-06-26 15:27:40 UTC
(In reply to Nate Graham from comment #5)
> How odd.
> 
> Can you reproduce this issue at all in a new clean user account on the same
> computer?

Yep. I've just reproduced it using a terminal emulator on a root user (KDE Plasma have never been launched on it, welcome screen is present etc.).
Comment 7 Alexander 2025-06-26 15:30:50 UTC
(In reply to Alexander from comment #6)
> (In reply to Nate Graham from comment #5)
> > How odd.
> > 
> > Can you reproduce this issue at all in a new clean user account on the same
> > computer?
> 
> Yep. I've just reproduced it using a terminal emulator on a root user (KDE
> Plasma have never been launched on it, welcome screen is present etc.).

If you want, I will try to reproduce it in the QEMU ArchLinux machine? But it will surely take much more effort and time, because I'll need to set it up first.
Comment 8 Bug Janitor Service 2025-07-11 03:47:41 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2025-07-26 03:46:43 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.