Public bug reported:

Binary package hint: x11-apps

Something seems wrong with the window ids of xclock windows. I can use xwininfo 
to get the id of the frame window and also that of the window displaying the 
clock. If I use import (from ImageMagick) to capture an image, I can capture 
the interior using the window id, but if I use the window id of the frame I get 
a message that says:
$ import -frame -window 0x1281608 xc1.png
import: unable to read X window image `0x1281608': Resource temporarily 
unavailable @ magick/xwindow.c/XImportImage/4965.

Furthermore, if the clock is on the desktop and I capture the whole
desktop using -window root option of import, I get the clock showing
with the frame. However, If I open a terminal window and prefix the
import command (with -window root) with a sleep 5, so I can drag the
xclock over the terminal window, then the resulting image shows only the
interior of the xclock over the terminal window. If the xclock window is
only partially covering the terminal window, and partially covering the
desktop, then the image shows a frame only around the part over the
desktop and only the interior for the part over the terminal window.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/xclock
NonfreeKernelModules: fglrx
Package: x11-apps 7.3+4
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
SourcePackage: x11-apps
Uname: Linux 2.6.28-16-generic x86_64

** Affects: x11-apps (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Cannot do screen capture of xclock window
https://bugs.launchpad.net/bugs/464031
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to x11-apps in ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to