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 1683378

Summary: firefox wayland window screenshot missing window content
Product: [Fedora] Fedora Reporter: Adam Chasen <adam>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: 0xalen+redhat, anto.trande, dimitris, fedora, fmuellner, gecko-bugs-nobody, gnome-sig, jadahl, jan.public, jhorak, john.j5live, kengert, otaylor, pjasicek, rhughes, rstrode, sandmann, stransky
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: 2019-11-05 12:57:24 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:
Bug Depends On:    
Bug Blocks: 1054334    
Attachments:
Description Flags
screenshot missing window content none

Description Adam Chasen 2019-02-26 18:00:27 UTC
Created attachment 1538940 [details]
screenshot missing window content

Description of problem:
Screenshot of window (alt+prtsc) produces image of appropriate size and title bar, but content of window is transparent.

firefox-wayland-65.0.1-1.fc29.x86_64

How reproducible:
Consistent


Steps to Reproduce:
1. Open firefox-wayland
2. Trigger Gnome screenshot active window with alt+prtsc

Actual results:
Transparent area where window content is expected.

Expected results:
Screenshot of window with content.


Additional info:
Does not affect non-wayland firefox.

User selection screenshot (shift+prtsc) is able to capture the window content.

Comment 1 Martin Stransky 2019-02-27 08:06:52 UTC
Firefox renders its content to subsurface attached to main window which can cause this.

Comment 2 Christian Stadelmann 2019-02-27 20:31:27 UTC
This is an old bug in Gtk/Wayland/[some underlying graphics library] and affects other applications as well such as gnome-maps (see bug #1384560 and upstream bug https://gitlab.gnome.org/GNOME/gnome-maps/issues/156). Also present on Fedora 29.

Another workaround is taking a screenshot of the whole desktop (PrtScr key).

Comment 3 Ben Cotton 2019-10-31 19:20:39 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Dimitris 2019-11-01 06:07:46 UTC
Still happening with F30

Comment 5 Jonas Ã…dahl 2019-11-01 08:15:21 UTC
Should be fixed in F31.

Comment 6 Martin Stransky 2019-11-05 12:57:24 UTC
WFM, Firefox 70 / F31.