Bug 602212 - RFE: make keyboard grab act more like vmware server console
Summary: RFE: make keyboard grab act more like vmware server console
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Berrange
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-09 12:12 UTC by Ales Kozumplik
Modified: 2019-03-21 15:02 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2019-03-21 15:02:38 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Ales Kozumplik 2010-06-09 12:12:56 UTC
This is actually several things:

1) when I finish clicking around/entering input into the guest, virt-viewer provides no way of ungrabbing the keyboard that wouldn't involve using the mouse. 

Why would someone want that: if you are quickly switching between the host and the guest, it is really helpful to have a way to do that without having to move the mose cursor in and out the window.

This makes the user experience unpleasant for people who don't like to use mouse much because it's slow.

2) even when the input is grabbed as described above (mouse over window) it is impossible to send the guest ctrl+alt+f1 through keyboard. the user again has to touch the mouse and navigate through menus.

This makes the user experience inconsistent.

How vmware-server-console-1.0.8 is doing it:
when you click into the window/press enter in the console window, both mouse and keyboard are grabbed and trapped in the guest. all the shortcuts work. the 'complete grab' is released when ctrl+alt is pressed *and released* (so ctrl+alt+delete for instance doesn't trigger reboot).

This doesn't have to be the default for virt-viewer, but it should be possible to set it through an option.

Comment 1 Bug Zapper 2011-06-02 11:27:37 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 2 Ales Kozumplik 2011-06-02 11:47:44 UTC
bumping to rawhide so bugzapper doesn't close this.

Comment 3 Cole Robinson 2012-12-14 21:22:40 UTC
Anyone have an opinion on this? The RFE has been kicking around for a 2.5 years without comment, if it's not anything we will ever do it should just be closed IMO

Comment 4 Ales Kozumplik 2012-12-17 07:17:23 UTC
I'm against closing this. The ten years old vmware console is still ten times easier and more consistent to use than virt-viewer.

Comment 5 Christophe Fergeau 2012-12-17 10:09:28 UTC
1) shouldn't be an issue (at least with remote-viewer+SPICE), there's a keyboard shortcut to ungrab the keyboard/mouse (ctrl+alt by default if I'm not mistaken)

As for 2), can ctrl+alt+f1 be passed to guest using a linux vmware client? Same question with ctrl+alt+del with windows vmware clients if you have experience with these.

Comment 6 Ales Kozumplik 2012-12-17 11:07:35 UTC
2) yes. I haven't used these in a while but I remember that unless I pressed and released the ungrab combo (Both CTRLs?) I could send the machine anything, including ctr+alt+f2 --- I remember this pretty clearly as I was working on Anaconda then and the shortcut is used often during debugging. Going to KVM+virt-viewer was a disappointment then.

Comment 7 Ales Kozumplik 2013-08-12 12:46:59 UTC
Still not working optimally in F19. In fact, it's hard to say anything is improving in virt-viewer besides it getting slower.

Comment 8 Cole Robinson 2013-12-16 19:25:47 UTC
Since this is an RFC, moving to the upstream tracker

Comment 10 Daniel Berrange 2019-03-21 15:02:38 UTC
Closing since no one seems to have concrete proposals to actually fix this in 9 years & the original reporter's account is closed. Keeping it open isn't helping

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