RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1029765 - virt-viewer can not get the perfect screenshot of the display without icons
Summary: virt-viewer can not get the perfect screenshot of the display without icons
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-gtk
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1029761
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-13 07:15 UTC by CongDong
Modified: 2014-10-14 06:46 UTC (History)
11 users (show)

Fixed In Version: spice-gtk-0.22-3.el6
Doc Type: Bug Fix
Doc Text:
Cause: Taking screenshot on secondary displays. Consequence: The screenshot is invalid. Fix: Screenshot memory region for secondary displays. Result: The screenshot is correct.
Clone Of: 1029761
Environment:
Last Closed: 2014-10-14 06:46:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1487 0 normal SHIPPED_LIVE spice-gtk bug fix and enhancement update 2014-10-14 01:28:31 UTC

Description CongDong 2013-11-13 07:15:01 UTC
+++ This bug was initially created as a clone of Bug #1029761 +++

This bug can be reproduce on RHEL6.5 with:
# rpm -qa virt-viewer spice*
spice-glib-0.20-11.el6.x86_64
spice-server-0.12.4-6.el6.x86_64
spice-gtk-python-0.20-11.el6.x86_64
spice-vdagent-0.14.0-2.el6.x86_64
spice-gtk-0.20-11.el6.x86_64
virt-viewer-0.5.6-8.el6.x86_64

So clone the bug.

Description of problem:
virt-viewer can not get the perfect screenshot of the display without desktop icons.
No problems with screenshot of the display with desktop icons.


Version-Release number of selected component (if applicable):
spice-glib-0.20-6.el7.x86_64
spice-server-0.12.4-3.el7.x86_64
spice-gtk3-0.20-6.el7.x86_64
virt-viewer-0.5.7-2.el7.x86_64
spice-xpi-2.8-4.el7.x86_64
spice-vdagent-0.14.0-5.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare a spice guest with  two displays
2. # virsh start vm1
3. # virt-viewer vm1
4. Open all the displays of the guest
5. On the guest display without desktop icons:
   File -> Screenshot -> Save(can save it with ".jpg", ".png", ".bmp")
6. On the guest display with desktop icons:
   File -> Screenshot -> Save(can save it with ".jpg", ".png", ".bmp")

Actual results:
Step 5. The screenshot of the display without icons is black background with some white lines
Step 5. screenshot for display with icons is perfect.
".jpg", ".png", ".bmp" all have the problems

Expected results:
Every display can get the perfect screenshot.


Additional info:

--- Additional comment from CongDong on 2013-11-13 02:08:11 EST ---

Sorry there is a typo, correct it:

> Step 5. screenshot for display with icons is perfect.
> ".jpg", ".png", ".bmp" all have the problems

 Step 6. screenshot for display with icons is perfect.
 ".jpg", ".png", ".bmp" all have the problems

--- Additional comment from CongDong on 2013-11-13 02:08:59 EST ---

Comment 1 hyao@redhat.com 2013-11-20 07:06:38 UTC
I can reproduce the bug with the following packages: 
[root@7-204 images]# rpm -qa virt-viewer spice*
spice-gtk-0.20-11.el6.x86_64
spice-server-0.12.4-6.el6.x86_64
spice-gtk-python-0.20-11.el6.x86_64
virt-viewer-0.5.6-8.el6.x86_64
spice-vdagent-0.14.0-2.el6.x86_64
spice-glib-0.20-11.el6.x86_64

The screenshot of the desktop without icon is not perfect.

Comment 2 Marc-Andre Lureau 2014-04-03 11:42:32 UTC
bug 1029761 in POST.

Comment 6 errata-xmlrpc 2014-10-14 06:46:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1487.html


Note You need to log in before you can comment on or make changes to this bug.