Bug 422860

Summary: Screenshot taken on Wayland via keyboard shortcuts is neither copied to clipboard nor saved to default location
Product: [Applications] Spectacle Reporter: Patrick Silva <bugseforuns>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: francois5537, kde, madLyfe, meven.car, nate, tsadler
Priority: NOR Keywords: wayland
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=420477
Latest Commit: Version Fixed In: Qt 5.15.2
Sentry Crash Report:

Description Patrick Silva 2020-06-12 10:29:56 UTC
STEPS TO REPRODUCE
1. start Wayland session
2. make sure both "Copy image to clipboard" and "Auto save the image to the default location" options are checked in Spectacle settings
3. take a screenshot by pressing shift+print (full screen) or meta+shift+print (rectangular region) 

OBSERVED RESULT
A notification says "A screenshot was saved to your clipboard"
but the taken screenshot wasn't saved to the clipboard neither to the default location.

EXPECTED RESULT
the screenshot should be copied to the clipboard and saved to the default location 

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Comment 1 kinghat 2020-08-06 17:18:49 UTC
im running across this as well with meta + shift + prtsc. in my case i dont have auto save image enabled, only copy image to clipboard. when i run the shortcut i get a saved image and image in the notification but whats copied to clipboard is the file path of the image instead.

so maybe i have two bugs:
1. image is saved when its not supposed to be.
2. image isnt copied to clipboard.

if i have spectacle open i dont have any of these issues, the image ISNT saved to disk and the image IS copied to clipboard correctly.
Comment 2 kinghat 2020-08-06 17:19:25 UTC
forgot to post my system info:

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.12-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Xeon® CPU E5-1620 v3 @ 3.50GHz
Memory: 62.8 GiB of RAM
Graphics Processor: AMD Radeon ™ RX 470 Graphics
Comment 3 kinghat 2020-08-06 17:33:57 UTC
(In reply to kinghat from comment #2)
> forgot to post my system info:
> 
> Operating System: Manjaro Linux
> KDE Plasma Version: 5.19.4
> KDE Frameworks Version: 5.72.0
> Qt Version: 5.15.0
> Kernel Version: 5.7.12-1-MANJARO
> OS Type: 64-bit
> Processors: 8 × Intel® Xeon® CPU E5-1620 v3 @ 3.50GHz
> Memory: 62.8 GiB of RAM
> Graphics Processor: AMD Radeon ™ RX 470 Graphics

damn, sorry, im not on wayland either.
Comment 4 Bug Janitor Service 2020-10-15 08:30:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/31
Comment 5 Méven Car 2020-10-16 07:54:51 UTC
Upstream bug filled :
https://bugreports.qt.io/browse/QTBUG-87657
Comment 6 Nate Graham 2020-10-16 16:13:40 UTC
*** Bug 427713 has been marked as a duplicate of this bug. ***
Comment 7 Méven Car 2020-10-19 13:12:43 UTC
Fixed in Qt 5.15.2 (next Qt LTS 5.15 release)
https://bugreports.qt.io/browse/QTBUG-87657
Comment 8 Nate Graham 2020-10-24 19:56:54 UTC

*** This bug has been marked as a duplicate of bug 409798 ***
Comment 9 Méven Car 2020-11-25 09:00:27 UTC
*** Bug 429390 has been marked as a duplicate of this bug. ***