Bug 464506 - Copy-to-clipboard and pasting doesnt work when launching from "take screenshot" activity
Summary: Copy-to-clipboard and pasting doesnt work when launching from "take screensho...
Status: RESOLVED DUPLICATE of bug 463199
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 22.12.1
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords: efficiency, usability
Depends on:
Blocks:
 
Reported: 2023-01-19 15:18 UTC by Henning
Modified: 2023-01-24 16:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2023-01-19 15:18:17 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Launch Spectacle using a key (like "Print", assigned to "take screenshot" action)
2. double click to copy the image to clipboard
3. wait 10s, try to paste the image in Dolphin

OBSERVED RESULT
The Dialog "enter filename for paste" appears, image is not openable.
If you take a screenshot and copy it to draft manually it works.
In Settings "save screenshot to draft" is enabled, saving the image to a folder is disabled.

EXPECTED RESULT
Working normally also using the shortcut, making it more efficient.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.6-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-01-23 21:24:39 UTC
In step 2, what are you double-clicking to copy the image to the clipboard?

When you manage to copy it, does it appear in the Clipboard popup in the system tray?

What is the "save screenshot to draft" option you're referring to? Where is it; where does it live?
Comment 2 Henning 2023-01-23 23:26:04 UTC
(In reply to Nate Graham from comment #1)
> In step 2, what are you double-clicking to copy the image to the clipboard?
> 
> When you manage to copy it, does it appear in the Clipboard popup in the
> system tray?
> 
> What is the "save screenshot to draft" option you're referring to? Where is
> it; where does it live?

Under KDE shortcuts I select Spectacle and assign the activity "take screenshot of selection" to the Print button.

I select the area and double click in the middle, normally that copies the selection.

I am not sure, I can copy it with the "copy to clipboard button". I need to launch spectacle to do that, an activity I assigned to "meta+print".
If I only use the copy activity, spectacle stays in the background all the time, which is nice.

The "save sceeenshot to draft" button is on the spectacle window, right next to the selected screenshot preview.
Comment 3 Nate Graham 2023-01-24 16:53:15 UTC

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