Bug 1109731

Summary: Guest does not resize when entering full screen from menu
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Jamrisko <tjamrisk>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, cfergeau, codong, dblechte, gklein, jjongsma, juzhou, lcui, marcandre.lureau, mzhan, tjamrisk, tzheng, virt-viewer-maint, yeylon
Target Milestone: pre-dev-freeze   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-0.6.0-1.el7 Doc Type: Bug Fix
Doc Text:
In certain circumstances, if remote-viewer was launched via browser plugin, and then fullscreen mode was activated, the guest display wasn't re-configured correctly. Aftering fixing the issue, the guest display was reconfigured when entering fullscreen mode.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-30 01:49:11 UTC Type: Bug
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: 1109400    
Bug Blocks:    
Attachments:
Description Flags
Log from client
none
agent log none

Description Tomas Jamrisko 2014-06-16 09:19:49 UTC
Description of problem:
Connecting to a windows guest in windowed mode and then switching to fullscreen doesn't result in resize.

Version-Release number of selected component (if applicable):
vdagent-win-0.1-18 (and 17)

How reproducible:
100 %

Steps to Reproduce:
1. Connect to a VM in windowed mode
2. Switch to fullscreen using menu

Actual results:
Resolution of the guest remains the same

Expected results:
Guest resizes.

Comment 1 Jonathon Jongsma 2014-06-16 19:55:01 UTC
I haven't been able to reproduce this. Does this only happen when switching to fullscreen mode, or does it also happen when you drag the window larger/smaller? Can you provide debug logs?

Comment 2 Tomas Jamrisko 2014-06-17 13:54:16 UTC
Created attachment 909594 [details]
Log from client

Comment 3 Tomas Jamrisko 2014-06-17 13:56:51 UTC
Created attachment 909595 [details]
agent log

Some further details: 

Client was virt-viewer-0.5.7-7.el7.x86_64. But this same issue was observed on RHEL6 as well.
RHEL guest resizes just fine.
This issue didn't appear when started using the vv file.

Comment 4 Jonathon Jongsma 2014-06-17 19:10:48 UTC
Ah, this looks like the same as Bug 1069735. It's a virt-viewer bug.

Comment 7 zhoujunqin 2014-07-24 06:26:58 UTC
Hi Tomas Jamrisko,
i tried to reproduce this bug issue but failed, can you help me check whether there is some steps missed, thanks for your help.

package version:
rhevm server:
vdagent-win-0.1-17
client:
virt-viewer-0.5.7-7.el7.x86_64
spice-xpi-2.8-4.el7.x86_64
spice-gtk-devel-0.20-8.el7.x86_64
spice-glib-devel-0.20-8.el7.x86_64
spice-server-0.12.4-5.el7.x86_64
spice-gtk-0.20-8.el7.x86_64
spice-gtk3-vala-0.20-8.el7.x86_64
spice-protocol-0.12.6-1.el7.noarch
spice-vdagent-0.14.0-5.el7.x86_64
spice-glib-0.20-8.el7.x86_64
spice-gtk-python-0.20-8.el7.x86_64
spice-gtk3-devel-0.20-8.el7.x86_64
spice-gtk3-0.20-8.el7.x86_64
spice-gtk-tools-0.20-8.el7.x86_64

1. Prepare a win7 guest on rhevm.
2. Connect to rhevm, remote-viewer was launched via browser plugin, opened the win7 guest in windowed mode
3. Switch to fullscreen using menu.

Currently, my result is: guest display was reconfigured when entering fullscreen mode.