Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1766616

Summary: [regression] gsd-media-keys unable to put screenshot into clipboard
Product: [Fedora] Fedora Reporter: Jonathan Haas <jonha87>
Component: gnome-settings-daemonAssignee: Rui Matos <tiagomatos>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: awilliam, bepvte+bugzilla, cgarnach, djasa, faber, fmuellner, gnome-sig, mcatanzaro+wrong-account-do-not-cc, mkasik, ofourdan, robin.a.meade, rstrode, tiagomatos, vesuri, yaneti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-17 00:11:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Haas 2019-10-29 14:03:45 UTC
Description of problem:

The fix for Bug 1763875 regressed the ability to save a screenshot to clipboard by pressing ctrl+printscreen and related key combos (which was reported and temporarily fixed earlier in Bug 1751646). See also discussion here: 

https://gitlab.gnome.org/GNOME/mutter/issues/789#note_631293

Version-Release number of selected component (if applicable):
gnome-settings-daemon-3.34.1-1.fc31.x86_64

How reproducible:
Always

Steps to Reproduce:
See bug 1751646 comment 0 for steps to reproduce

Comment 1 Jonathan Haas 2019-10-29 14:07:29 UTC
I believe this deserves a CommonBugs entry, see bug 1751646 comment 23, as it's a major regression for people who use this keyboard combination and a proper fix is unlikely to happen before Gnome 3.36.

Comment 2 David Jaša 2019-10-31 13:46:36 UTC
Workaround with clearing clipboard before taking screenshot still works for me using the command/script from bug 1751646:

#!/bin/sh
echo -n | xclip -selection clipboard

Comment 3 bepvte+bugzilla 2019-11-10 17:06:49 UTC
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/139 This merge request (for 3.34) solves the issue.

Comment 4 bepvte+bugzilla 2019-11-21 15:10:21 UTC
I recommend this patch be backported.

Comment 5 Michael Catanzaro 2019-12-07 17:49:43 UTC
There are also two crash fixes on master, so ideally we'd release gnome-settings-daemon 3.34.2 so other distros benefit rather than just backporting here. Carlos, do you have time for it?

Comment 6 Adam Williamson 2020-03-17 00:11:33 UTC
A 3.34.2 happened and was built on Dec 18, then went stable on Dec 20:

https://bodhi.fedoraproject.org/updates/FEDORA-2019-b71870b03e

so I'm gonna go ahead and figure this is fixed now.