Ticket #127 (closed usability: fixed)
Snapshot does not grab window content (incorrect alpha)
| Reported by: | costabel@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Expected | Milestone: | 2.3.1 |
| Component: | xserver | Version: | 2.2.1 (xserver-1.3.0-apple20) |
| Keywords: | Cc: |
Description
This is a summary of what was discussed on the X11-user list on June 10-12, thread "empty screenshot"
Problem: Open an X11 window containing graphics content, created by, for example,
- gnuplot
- a Tek window opened from an xterm drop-down menu (does not work on 2.3.0-rc4, see another bug, to be filed)
- xv
- xpdf
- display from ImageMagick
Then hit cmd-shift-4 and the space bar. This shows a camera symbol. Place it over the X11 window and click.
A snapshot of the window is taken and placed on the Desktop as Picture\ 1.png (count goes up with new snapshots).
An example of what this should show is attached (Picture\ 1.png).
An example of what happens with xquartz-2.2.1 or newer is attached (Picture\ 2.png): The window content is empty.
(Pictures will be attached as soon as I find out how to attach files to this tracker ;-) )
I have not tried to find what version of xquartz is the earliest to show this problem. In any case, the bug is not present in the stock X11 from 10.5.3.
Attachments
Change History
Changed 5 years ago by costabel@…
- Attachment Picture 1.png added
comment:1 Changed 5 years ago by jeremyhu@…
- Status changed from new to assigned
- Version set to 2.2.1 (xserver-1.3)
- Milestone set to 2.3.1
This is probably because of the alpha channel being set to 0 instead of 1 when the window contents are dumped from X11 to the Window Server... We will probably need to migrate over some of the rootless-specific changes that were dropped when fb was moved from xserver into pixman
comment:3 Changed 5 years ago by jeremyhu@…
- Priority changed from minor to critical
- Summary changed from Snapshot does not grab window content to Snapshot does not grab window content (incorrect alpha)

good snapshot