After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782415 - preview on the panel is broken
preview on the panel is broken
Status: RESOLVED DUPLICATE of bug 788206
Product: gnome-control-center
Classification: Core
Component: Background
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Debarshi Ray
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-10 02:27 UTC by slatchurie
Modified: 2017-11-01 15:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes deprecated functions in cc-background-panel.c (1.10 KB, patch)
2017-05-10 02:27 UTC, slatchurie
none Details | Review

Description slatchurie 2017-05-10 02:27:50 UTC
Created attachment 351502 [details] [review]
fixes deprecated functions in cc-background-panel.c

The top bar doesn't appear in the preview.
When the animations are disabled, the preview is blank.
The debug says it is trying to capture rectangle with an height of 0.

The problem seems to come from the gdk_screen_get_monitor_workarea function, which is deprecated since 3.22.

Here is a patch.
Comment 1 slatchurie 2017-05-10 19:45:56 UTC
Actually, it works with Xorg but not with Wayland.
Comment 2 Rui Matos 2017-11-01 15:40:46 UTC

*** This bug has been marked as a duplicate of bug 788206 ***