Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 509808

Summary: "Paused" status should disable 'Send Key' option
Product: Red Hat Enterprise Linux 5 Reporter: Qunfang Zhang <qzhang>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: jialiu, lihuang, pbonzini, xen-maint, yoyzhang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:50:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Disable 'Send Key' options when VM is inactive none

Description Qunfang Zhang 2009-07-06 11:42:57 UTC
Description of problem:
I click "Send key"->"Ctrl+Alt+Del" when the vm is paused. But after I resume the vm, it will resart. It is unsuitable.


Version-Release number of selected component (if applicable):
xen3.0.3-88.el5
virt-manager-0.6.1-4.el5

How reproducible:
Always

Steps to Reproduce:
1.Create a vm and open it
2.log in the vm and display the desktop.
3.Click "Pause" button.
4.Select "Send Key"->"F1", then select "Send Key"->"Ctrl+Alt+Delete"
5.Click "Pause" button again to resume the vm
  
Actual results:
The vm restarts

Expected results:
The vm stays in the desktop.

Additional info:

Comment 1 Paolo Bonzini 2009-07-09 14:36:40 UTC
This looks more like a UI issue.  The Send Key menu items should be disabled while the VM is paused.

Comment 2 Cole Robinson 2009-12-15 02:38:59 UTC
Upstream fix:

http://hg.fedorahosted.org/hg/virt-manager/rev/f714530aff4f

Comment 3 Cole Robinson 2009-12-15 02:39:30 UTC
Sorry, correct link is:

http://hg.fedorahosted.org/hg/virt-manager/rev/6e347f113f40

Comment 4 Cole Robinson 2009-12-15 19:24:44 UTC
Created attachment 378593 [details]
Disable 'Send Key' options when VM is inactive

Comment 5 Cole Robinson 2009-12-15 19:42:35 UTC
Fix built in virt-manager-0_6_1-9_el5

Comment 10 errata-xmlrpc 2010-03-30 08:50:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0281.html