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 924582 - Mouse clicking doesn't work on Save Screenshot dialog after open it by Alt+S+P.
Summary: Mouse clicking doesn't work on Save Screenshot dialog after open it by Alt+S+P.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-gtk
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 924577
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-22 06:37 UTC by hyao@redhat.com
Modified: 2014-02-11 08:17 UTC (History)
10 users (show)

Fixed In Version: spice-gtk-0.20-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 924577
Environment:
Last Closed: 2014-01-24 17:41:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description hyao@redhat.com 2013-03-22 06:37:50 UTC
This bug also reproduce on Rhel7, clone the bug. 

Version-Release number of selected component (if applicable):
virt-viewer-0.5.4-2.el7.x86_64
spice-xpi-2.8-1.el7.x86_64
kernel-3.7.0-0.36.el7.x86_64
libvirt-1.0.3-1.el7.x86_64

+++ This bug was initially created as a clone of Bug #924577 +++

Created attachment 714321 [details]
debug file

Description of problem:
Mouse clicking doesn't work on Save Screenshot dialog after open it by Alt+S+P.

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-18.el6_4.2
spice-server-0.12.0-12.el6.x86_64
spice-vdagent-0.12.0-4.el6_4.1
libvirt-0.10.2-18.el6_4.2
kernel-2.6.32-358.2.1.el6.x86_64
qemu-kvm-0.12.1.2-2.356.el6_4.2

How reproducible:
100%

Steps to Reproduce:
There is running guest on the host.
#virsh list --all
      Id Name State
      ----------------------------------------------------
      13 rhel63 running

1.Guest is opened via virt-viewer.
#virt-viewer rhel63

2.Press Alt+S on the key board.
Send key menu is open

3. Press P to PrintScreen.
Save Screenshot dialog opens in the guest. Use the mouse to click Save button

Actual result:
Nothing happen and can't save the screenshot.
PS. Mouse clicking on the opened Screenshot dialog doesn't work on other buttons, Help Copy to Clipboard, Cancel, Save and Close Window.

Expected result:
The screen shot is saved on the guest desktop.

Additional info:

Comment 1 Marc-Andre Lureau 2013-05-09 13:27:53 UTC
sent proposed fix to ML:
http://lists.freedesktop.org/archives/spice-devel/2013-May/013351.html

Comment 2 Christophe Fergeau 2014-01-24 17:41:12 UTC
This was a spice-gtk bug, but should no longer be happening with current RHEL7 spice-gtk, marking as CURRENTRELEASE

Comment 3 CongDong 2014-01-29 03:22:12 UTC
But I can reproduce this with:
# rpm -qa | grep spice
spice-vdagent-0.14.0-7.el7.x86_64
spice-glib-0.20-8.el7.x86_64
spice-gtk3-0.20-8.el7.x86_64
spice-xpi-2.8-5.el7.x86_64
spice-gtk-0.20-8.el7.x86_64
spice-server-0.12.4-4.el7.x86_64
#rpm -qa libvirt virt-viewer
virt-viewer-0.5.7-5.el7.x86_64
libvirt-1.1.1-20.el7.x86_64

Step:
1. start a guest and connect it with virt-viewer
# virsh start $vm
# virt-viewer $vm
2. Push  "Alt+s"
3. Push  "p"
4. screenshot dialog is open in the guest, click "save" button

Result:
Nothing happen and can't save the screenshot.
PS. Mouse clicking on the opened Screenshot dialog doesn't work on other buttons,.

As the result, the bug is not fixed yet.

Is there any wrong step above?

Comment 4 Christophe Fergeau 2014-01-29 10:52:37 UTC
(In reply to CongDong from comment #3)

> Step:
> 1. start a guest and connect it with virt-viewer
> # virsh start $vm
> # virt-viewer $vm
> 2. Push  "Alt+s"
> 3. Push  "p"
> 4. screenshot dialog is open in the guest, click "save" button
> 
> Result:
> Nothing happen and can't save the screenshot.
> PS. Mouse clicking on the opened Screenshot dialog doesn't work on other
> buttons,.

I'm confused by your results. You say nothing happen, then you talk about an opened Screenshot dialog, which would mean something happened.
I've just tried it with a RHEL7 client connecting to a RHEL6 guest and it's working as expected, "Alt+s" shows the 'send keys' menu, then 'p' sends printscreen to the guest. A screenshot dialog shows up in the guest, and I can use the mouse to cancel it, or get help. You have to make sure the mouse cursor is not in the guest, or the guest will catch the key presses, and the menu will not show up. What I do is I put the mouse cursor on the title bar of the remote-viewer window, and make sure the client is focused.
I've tested with virt-viewer 0.5.7-2 and spice-gtk3-0.20-6

Comment 5 CongDong 2014-02-11 08:17:53 UTC
(In reply to Christophe Fergeau from comment #4)
> (In reply to CongDong from comment #3)
> 
> I'm confused by your results. You say nothing happen, then you talk about an
> opened Screenshot dialog, which would mean something happened.
> I've just tried it with a RHEL7 client connecting to a RHEL6 guest and it's
> working as expected, "Alt+s" shows the 'send keys' menu, then 'p' sends
> printscreen to the guest. A screenshot dialog shows up in the guest, and I
> can use the mouse to cancel it, or get help. You have to make sure the mouse
> cursor is not in the guest, or the guest will catch the key presses, and the
> menu will not show up. What I do is I put the mouse cursor on the title bar
> of the remote-viewer window, and make sure the client is focused.
> I've tested with virt-viewer 0.5.7-2 and spice-gtk3-0.20-6

I tried again with the latest pkgs.
All passed (10/10).
Maybe something wrong with my environment last time.

As the result, it's fixed.


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