Bug 506781 - Spectacle not copying image to clipboard unless "Copy" is clicked
Summary: Spectacle not copying image to clipboard unless "Copy" is clicked
Status: RESOLVED DUPLICATE of bug 500366
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-09 06:16 UTC by ctj9512
Modified: 2025-12-09 21:49 UTC (History)
7 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 ctj9512 2025-07-09 06:16:50 UTC
SUMMARY

Spectacle not copying image to clipboard unless "Copy" is clicked

STEPS TO REPRODUCE

1. Configure spectacle to "Copy image to clipboard" after taking a screenshot
2. Run "spectacle" (no flags required) and take a screenshot

OBSERVED RESULT

Image is not copied to clipboard. Plasma's Clipboard Contents widget shows the latest clipboard content as a blank item, and clicking the QR code button shows "Creating QR code failed".

Clicking the Copy icon in spectacle copies the image successfully.

EXPECTED RESULT

Image is copied to clipboard

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.10.0
Kernel Version: 6.16.0-rc4-1-mainline (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7735HS with Radeon Graphics
Memory: 96 GiB of RAM (93.5 GiB usable)
Graphics Processor 1: AMD Radeon 680M
Graphics Processor 2: AMD Radeon RX 7700S
Comment 1 NitramO 2025-07-10 13:06:45 UTC
I have the same issue, but actually for me it's especially when I select an area and then press 'Enter' to crop my screenshot, it does not copy the image to the clipboard (while before it worked). But if I click on the 'Accept' button under the area I selected, it copies the image properly and I can paste it!

Here is my kinfo:
- Operating System: KDE neon User Edition
- KDE Plasma Version: 6.4.1
- KDE Frameworks Version: 6.15.0
- Qt Version: 6.9.0
- Kernel Version: 6.11.0-29-generic (64-bit)
- Graphics Platform: Wayland
- Processors: 20 × 13th Gen Intel® Core™ i7-13700H
- Memory: 32 Gio of RAM (31.0 Gio usable)
- Graphics Processor 1: Intel® Graphics
- Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU
Comment 2 andy 2025-08-31 22:25:34 UTC
I'm experiencing this intermittently. Also I've had it seemingly crash or exit when the window of the taken screenshot is simply open on the side. There's nothing in the logs or coredumpctl indicating anything.

Operating System: Arch Linux
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 64 GiB of RAM (62.4 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4050 Laptop GPU
Graphics Processor 2: Intel® Iris® Xe Graphics
Comment 3 Luca76 2025-09-11 08:47:21 UTC
Confirming this issue. I'm using Spectacle almost all days and I'm having this issue also. I'm on latest KDE Neon.
Comment 4 Nate Graham 2025-09-18 21:15:38 UTC
Hmm, I can't reproduce this issue with that setting in use. It's now I normally run Spectacle, and it hasn't broken in all the time I've been using it.

Affected people, what default file format are you saving screenshots in?

And are you using any non-default clipboard settings?
Comment 5 andy 2025-09-18 23:00:33 UTC
~/.config/spectaclerc
```
[General]
clipboardGroup=PostScreenshotCopyImage
launchAction=DoNotTakeScreenshot

[GuiConfig]
captureMode=4
includeDecorations=false
```

What do you mean what format are we saving in? Not doing any saving here.
In System Tray setting I have Clipboard disabled. Don't want my clipboard history tracked.

Trying right now on a fresh boot here, press screenshot button, clicked rectangular region, picked a region, tried pasting it in Kolourpaint. Worked this time.
Second time, did same thing, but Ctrl+V in Kolourpaint pastes nothing (the bug).
Comment 6 Nate Graham 2025-09-23 14:28:30 UTC
> In System Tray setting I have Clipboard disabled

That's probably relevant. If you temporarily re-enable it for testing, does the issue go away?
Comment 7 Bug Janitor Service 2025-10-08 03:47:00 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 8 andy 2025-10-08 05:08:24 UTC
(In reply to Nate Graham from comment #6)
> > In System Tray setting I have Clipboard disabled
> 
> That's probably relevant. If you temporarily re-enable it for testing, does
> the issue go away?

nope just tried it. It takes many attempts sometimes but eventually it does not copy to clipboard when it says it does
Comment 9 NitramO 2025-10-08 10:09:55 UTC
(In reply to Nate Graham from comment #6)
> > In System Tray setting I have Clipboard disabled
> 
> That's probably relevant. If you temporarily re-enable it for testing, does
> the issue go away?

I'm using the clipboard and I have the issue! (as I explained above)
Comment 10 TraceyC 2025-10-10 21:29:06 UTC
I'm not able to reproduce this using the 6.5 Beta in KDE Neon Testing, after 20 attempts

About how many attempts does it take to reproduce this for folks seeing the bug, if you're on Plasma 6.4.5 or later?
Comment 11 Bug Janitor Service 2025-10-25 03:47:49 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 12 NitramO 2025-10-25 05:17:42 UTC
(In reply to TraceyC from comment #10)
> I'm not able to reproduce this using the 6.5 Beta in KDE Neon Testing, after
> 20 attempts
> 
> About how many attempts does it take to reproduce this for folks seeing the
> bug, if you're on Plasma 6.4.5 or later?

It depends, sometimes the first time, sometimes I need to do lot of captures before it fails, sometimes it works if I close the spectacle window after the capture each time and sometimes not... But the most of the time it fails when I capture something else when the spectacle window is still open as I just captured a screenshot. I'll try to do the last KDE Neon/Plasma updates in the next days and test if I still have issues and then I will come back here to do a feedback about it!
Comment 13 andy 2025-12-06 21:09:00 UTC
What I'm getting now in Plasma 6.5 is first screenshot works, then 2nd is giving me red X "An error occurred while taking a screenshot."

journalctl shows blank lines when i hit screenshot button

Dec 06 13:04:52 spectacle[738643]: 
Dec 06 13:04:52 spectacle[738643]: 
Dec 06 13:04:52 spectacle[738643]: 
Dec 06 13:04:52 spectacle[738643]: Could not create delegate for ToolBarLayout
Dec 06 13:04:52 spectacle[738643]: file:///usr/lib/qt6/qml/org/kde/kirigami/ActionToolBar.qml: Object or context destroyed during incubation

Operating System: Arch Linux
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 64 GiB of RAM (62.4 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4050 Laptop GPU
Graphics Processor 2: Intel® Iris® Xe Graphics
Comment 14 Luca76 2025-12-07 05:44:33 UTC
This bug still happens to me in 6.5.3.

Try this:

1. Chat with Google Chat on Google Chrome
2. With Spectacle do a rectangle (any size) on a portion of chat and copy
3. Paste the image to another chat 
Repeat 1, 2 and 3 multiple times

At 99% of times there is one big probability that copy will not work 

My hardware is a Xeon, with no discrete GPU.
Comment 15 NitramO 2025-12-07 06:06:01 UTC
I still have this issue even after last update.

Here is my kinfo:
- Operating System: KDE neon User Edition
- KDE Plasma Version: 6.5.3
- KDE Frameworks Version: 6.20.0
- Qt Version: 6.10.1
- Kernel Version: 6.14.0-36-generic (64-bit)
- Graphics Platform: Wayland
- Processors: 20 × 13th Gen Intel® Core™ i7-13700H
- Memory: 32 Gio of RAM (31.0 Gio usable)
- Graphics Processor 1: NVIDIA GeForce RTX 4060 Laptop GPU
- Graphics Processor 2: Intel® Iris® Xe Graphics
Comment 16 Nate Graham 2025-12-09 21:49:10 UTC

*** This bug has been marked as a duplicate of bug 500366 ***