Bug 2078976
| Summary: | gnome-screenshot CLI isn't working on wayland sessions | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Leon Fauster <leonfauster> |
| Component: | gnome-screenshot | Assignee: | David King <dking> |
| Status: | CLOSED ERRATA | QA Contact: | Michal Odehnal <modehnal> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | CentOS Stream | CC: | bstinson, jwboyer, tpelka, zhguo |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | gnome-screenshot-40.0-4.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 10:37:06 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
Leon Fauster
2022-04-26 15:58:20 UTC
$ LANG=C gnome-screenshot ** Message: 18:02:49.740: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. (gnome-screenshot:26413): Gdk-CRITICAL **: 18:02:49.740: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed (gnome-screenshot:26413): GdkPixbuf-CRITICAL **: 18:02:49.740: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gnome-screenshot:26413): GdkPixbuf-CRITICAL **: 18:02:49.740: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed *** BUG *** In pixman_region32_init_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug (gnome-screenshot:26413): GdkPixbuf-CRITICAL **: 18:02:49.740: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gnome-screenshot:26413): GdkPixbuf-CRITICAL **: 18:02:49.740: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gnome-screenshot:26413): Gtk-CRITICAL **: 18:02:49.748: gtk_window_resize: assertion 'width > 0' failed ** (gnome-screenshot:26413): CRITICAL **: 18:02:49.748: Unable to capture a screenshot of any window $ set|grep DISPLAY DISPLAY=:0 GNOME_SETUP_DISPLAY=:1 WAYLAND_DISPLAY=wayland-0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (gnome-screenshot bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8211 |