[Xfce-bugs] [Bug 16806] New: Better way for window screenshot

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed May 6 08:54:06 CEST 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16806

            Bug ID: 16806
           Summary: Better way for window screenshot
    Classification: Apps
           Product: Xfce4-screenshooter
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: cook60020tmp at mail.ru
  Target Milestone: ---

Created attachment 9837
  --> https://bugzilla.xfce.org/attachment.cgi?id=9837&action=edit
gcolor3 xwd & gimp snapshot

I was impressed, how pantheon's screenshot-tool takes isolated rgba images from
gtk3 apps, including transparent shadows, created by gtk stylesheet. It did
same in xfce as well, not just pantheon (so, it probably doesn't use special wm
support). In contrast, xfce4-screenshooter seem to just make desktop region,
automatically set to window geometry.

Yesterday I noticed and tried xwd. Images from this tool are transparent only
if shoted window is unobstructed. In case of gtk3 app with csd - obstructing
shadow part is enough, in this case image gets black background, yet ubstructed
region is not recorded (also black) - visible if you obstruct part of window
itself. I'm not sure, was it case for pantheon screenshot tool, and thus is
there better way to make such window screenshots. So for now I consider window
dumps for proposal.

P.S. When I searched how to convert xwd to popular format, it was strange to
know, that imagemagick doesn't preserve alpha (even as "import -window ID"), as
much as some online image convertion services (though gimp does).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list