Bug 508825

Summary: virt-viewer doesnt have "full screen" hot key
Product: [Fedora] Fedora Reporter: Mohammed Arafa <bugzilla>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: bbenson, berrange, cpanceac, crobinso, markmc, michael.monreal, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-03 14:30:20 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:
Bug Depends On:    
Bug Blocks: 480594    

Description Mohammed Arafa 2009-06-30 05:48:31 UTC
Description of problem:
virt-viewer doesnt have "full screen" hot key. to exit full screen you need to hit "view/full screen". 

Version-Release number of selected component (if applicable):


How reproducible:
every time

Steps to Reproduce:
1. enter "full screen" mode via mouse/menu
2. exit "full screen" mode via menu
3.
  
Actual results:


Expected results:
hit a hot key and enter/exit full screen mode

Additional info:

Comment 1 Mark McLoughlin 2009-07-03 14:19:40 UTC
Seems reasonable to me that F11 should operate on virt-viewer rather than being sent to the guest.

Related is bug #499362, which makes sure key combos like Alt-F go to the guest rather than being handled by virt-viewer.

Dan?

Comment 2 Daniel Berrangé 2009-07-03 14:30:20 UTC
We explicitly pass *all* keys to the guest when keyboard is grabbed.

For the host functions the user always has the option of using the mouse / menu. For guest functions, if we intercept certain keys, there is a very real possibility that the user can be left with no possible way to access something important in the guest OS. 

ie, if we leave F11 for the host there is potentially serious limitation for guest usage. If we pass F11 to guest, there is only mild inconvenience for host usage.

Thus on balance passing everything to the guest is the better solution.

Comment 3 Mohammed Arafa 2009-07-03 22:20:48 UTC
then how about having a preference setting where ctl+alt not only returns the mouse back to host control but also leaves full screen display and leave it up to the end user to make his choice

Comment 4 Mark McLoughlin 2009-10-29 15:32:42 UTC
*** Bug 529656 has been marked as a duplicate of this bug. ***

Comment 5 Bruce O. Benson 2012-06-01 18:11:11 UTC
I can't find anything about using a mouse/menu to switch out of full screen mode in virt-viewer.  Nothing on the virt-manager website.  The virt-viewer man page doesn't really tell how this is done on the fly.

Basically, users get trapped in full screen mode.  Please reopen this until there is some way for users to easily get out of full-screen mode.

Comment 6 cornel panceac 2014-03-21 09:19:50 UTC
This still happens on fedora 20 x64. Please reopen it. The solution in comment #3 seem reasonable to me. If there's no way to exit full screen, the kvm client has to be shutdown.

Comment 7 Cole Robinson 2014-03-21 10:35:36 UTC
I assume you are using VNC? There's a problem with gtk-vnc and the fullscreen toolbar:

https://bugzilla.redhat.com/show_bug.cgi?id=1036824

Affects virt-viewer, vinagre, and virt-manager at least

Comment 8 cornel panceac 2014-03-21 10:41:27 UTC
not using vnc, just switch to full screen from within virt-manager/gnome-shell.

Comment 9 Cole Robinson 2014-03-21 11:25:55 UTC
I meant, your guest is using VNC graphics. sudo virsh dumpxml $vmname | grep vnc

Comment 10 cornel panceac 2014-03-21 12:36:40 UTC
well, this is interesting. i get:

<graphics type='vnc' port='-1' autoport='yes'/>

what can i do about it? if i leave it this way, i can connect through a vpn client (which has a fullscreen toggle)?

Comment 11 Cole Robinson 2014-03-21 12:39:07 UTC
in virt-manager, go to vm details->graphics and change it to 'spice'. fullscreen shouldn't have the issue anymore

Comment 12 cornel panceac 2014-03-21 12:43:08 UTC
yes sir, it works now, thank you very much!