dogtail-devel [Bug 429347] New: Dogtail's utils.screenshot() not working properly on exported display
- From: "dogtail (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: dogtail-devel-list gnome org
- Subject: dogtail-devel [Bug 429347] New: Dogtail's utils.screenshot() not working properly on exported display
- Date: Fri, 13 Apr 2007 13:25:30 +0000 (UTC)
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=429347
dogtail | Framework | Ver: 0.6.1
Summary: Dogtail's utils.screenshot() not working properly on
exported display
Product: dogtail
Version: 0.6.1
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: Framework
AssignedTo: dogtail-maint gnome bugs
ReportedBy: atodorov redhat com
QAContact: dogtail-maint gnome bugs
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
When an application is running on the same host but is shown on another display
using Dogtail's utils.screenshot() function produces pure black images.
However using other procedural API (e.g. click("Next")) is working fine.
Steps to reproduce:
1. Start a second GNOME session on the same machine.
2. $ export DISPLAY=:0 ## we are running at :1.0
3. $ python
Python 2.4.3 (#1, Dec 11 2006, 11:39:03)
[GCC 4.1.1 20061130 (Red Hat 4.1.1-43)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from dogtail.utils import *
Creating logfile at /tmp/dogtail/logs/log_20070413-151513_debug ...
>>> screenshot()
GTK Accessibility Module initialized
Screenshot taken: /tmp/dogtail/screenshot_20070413-151517.png
'/tmp/dogtail/screenshot_20070413-151517.png'
>>> Ctrl+D
4. Open the image with EOG. It is black.
Actual results:
The produced screenshot is pure black color.
Expected results:
The produced screenshot must show the applications visible on user's desktop.
Does this happen every time?
yes
Other information:
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=429347.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]