GNOME Bugzilla – Bug 780394
Screenshot of CSD windows is broken
Last modified: 2017-10-03 23:24:19 UTC
Hi, on my system taking a screenshot of a window with client side decorations does not always work. See the attached image with a centered window. I get a clipped image depending on the window position: if the window is on the top-left part of the screen a smaller portion of the image gets clipped, if the window is on the bottom-right of the screen the clipped area increases. Maybe it's video driver problem rather than a gnome-flashback one? I also noticed that in the case of CSD windows the include_cursor option gets ignored, and the include_frame option does not seem to have the usual effect: the windows frame is always displayed, it's the shadow which seems to be affected by the setting. Thanks, Antonio
Created attachment 348475 [details] Screenshot a CSD window Actually adding the attachment.
I can not reproduce problem visible in screenhost. Do I need to do something special to get that? Does that happens with all csd windows? Yes, cursor is ignored right now, this must be fixed. With CSD there is no frame, would you really want screenshot with nautilus that would not have header bar? Maybe we should not include shadow always? Don't remember, what gnome shell does with CSD windows with frame and without frame option?
Cursor should be fixed in master and will be in 3.26 release. Unfortunately now I also have CSD window bug... :( But I think that it is not bug in gnome-flashback.
CSD window screenshots works in virtualbox and also my laptop (intal), but not on my pc (nvidia)...