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 780394 - Screenshot of CSD windows is broken
Screenshot of CSD windows is broken
Status: RESOLVED FIXED
Product: gnome-flashback
Classification: Other
Component: screenshot
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Flashback Maintainers
GNOME Flashback Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-22 12:30 UTC by Antonio Ospite
Modified: 2017-10-03 23:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot a CSD window (4.42 KB, image/png)
2017-03-22 12:32 UTC, Antonio Ospite
Details

Description Antonio Ospite 2017-03-22 12:30:55 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
Comment 1 Antonio Ospite 2017-03-22 12:32:16 UTC
Created attachment 348475 [details]
Screenshot a CSD window

Actually adding the attachment.
Comment 2 Alberts Muktupāvels 2017-03-23 23:26:09 UTC
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?
Comment 3 Alberts Muktupāvels 2017-10-03 20:39:04 UTC
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.
Comment 4 Alberts Muktupāvels 2017-10-03 23:24:19 UTC
CSD window screenshots works in virtualbox and also my laptop (intal), but not on my pc (nvidia)...