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 - firefox wayland window screenshot missing window content
Summary: firefox wayland window screenshot missing window content
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ffwayland
TreeView+ depends on / blocked
 
Reported: 2019-02-26 18:00 UTC by Adam Chasen
Modified: 2019-11-05 12:57 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 12:57:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot missing window content (8.18 KB, image/png)
2019-02-26 18:00 UTC, Adam Chasen
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.