Red Hat Bugzilla – Bug 434812
[RHEL5.2]: virt-viewer doesn't capture Alt-s, even when the focus is "grabbed"
Last modified: 2008-05-21 10:27:02 EDT
Description of problem:
When using virt-install to install a fully-virt domain using the graphical
console, virt-install ends up calling out to virt-viewer for the console. This
is fine, however, trying to use Alt-s, Alt-f, or Alt-h *inside* the guest always
calls out to the GTK accelerator, instead of sending inside the guest. When the
mouse is grabbed, I would expect the Alt- key combinations to be passed through
to the guest automatically.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Well, this all has to do with the accelerator keys; I've posted a patch to
et-mgmt-tools list that seems to fix this particular issue. I'll attach it here
for reference as well.
Created attachment 296680 [details]
Disable the accelerators when the pointer is grabbed
This request was previously evaluated by Red Hat Product Management
for inclusion in the current Red Hat Enterprise Linux release, but
Red Hat was unable to resolve it in time. This request will be
reviewed for a future Red Hat Enterprise Linux release.
this is a regression (esp. for things like virt-install). Marking as a regression.
This bugzilla has Keywords: Regression.
Since no regressions are allowed between releases,
it is also being proposed as a blocker for this release.
Please resolve ASAP.
Set dev ack for Dan.
Built into virt-viewer-0.0.2-2.el5
Not sure what's going on here.. But sending alt+s when the mouse pointer is
grabbed in virt-viewer is locking console up.
It works fine for my testing.
I tested a RHEL-5 guest
- Run X inside the guest.
- Open a gnome-terminal
- Run 'xev' in the terminal
- Active the pointer grab
- Type 'Alt+s' and observe the keys are reported correctly by xev.
I can reproduce this but in a different config.
The guest is RHEL5 gold hvm, running in runlevel 3 ..
- Open the guest up in virt manager, let it grab the focus.
- Type something , send ALT+S , type something ..
- Press CTRL+ALT to claim the focus, send ALT+S ..
- Then the console acts up. You can get it to act normal again by pressing
alt+S again. it seems like when ALT+S is sent to the virt-viewer while the focus
grabbed by it, still leaves the ALT key on, so everything else sent afterwards
looks like it's been sent with ALT+thekey.
Please stop mixing up virt-manager & virt-viewer in testing. This bug is against
virt-viewer only - i make no claims as to whether virt-manager traps Alt+S or
not. I have only fixed virt-viewer. File a separate bug if there are issues in
I apologize for the typo , i did indeed do this with virt-viewer .
Moving this back to ON-QA as this issue is fixed. Please create another bug for
additional issues. Thanks.
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 the 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.