Red Hat Bugzilla – Bug 864038
Window doesn't maximize
Last modified: 2013-05-10 07:58:40 EDT
Description of problem:
Windows 7 -- both guest and client, vdservice running on guest
Having a relatively small (less than half of screen size in both dimensions) remote-viewer windows on client, and attempting to maximize it using the button in upper right corner results in the window not being scaled up properly -- it attempts to maximize, but ends just halfway there
Version-Release number of selected component (if applicable):
Tools from RHEVM3.0
Steps to Reproduce:
1. Connect to a Windows 7 guest from a windows 7 client
2. Resize the window to something relatively small
3. Try to maximize
Window isn't maximized
It should be
****This bug seems to be *FIXED* in the latest packages which are in RHEVM3.1 to be (qxl-win-unsigned-0.1-15, vdagent-win-0.1-12, virtio-serial from virtio-win-prewhql-0.1-39)****
I can't reproduce, can you try with latest mingw-virt-viewer-0.5.3-12 ? Do you have the guest configured with agent & qxl driver? You could also try to record your desktop so we could see what's happening.
Well, as I mentioned -- this problem can't be reproduced when newer versions of vdagent and qxl are installed on the guest -- so if you believe that the problem doesn't need any further fixes in virt-viewer feel free to close it.
*However* the problem still happens with new version of virt-viewer (vdagent and qxl have to be older though).
Created attachment 635678 [details]
This is what happens when one tries to maximize remote-viewer (2 attempts in total) -- cursor isn't captured
As you can see -- the window first maximizes, and change of resolution to best fit the window causes the window to decrease its size (yet the button still shows it's maximized)
thanks for the screencast
(In reply to comment #3)
> As you can see -- the window first maximizes, and change of resolution to
> best fit the window causes the window to decrease its size (yet the button
> still shows it's maximized)
This is a difference of behaviour between gtk on windows and linux. We call gtk_window_resize() even when the window is maximized, and this cause the window to leave the maximize state on Windows. I believe the fix should be in gtk+. Working around that problem in virt-viewer isn't really a practical solution, and will make the code more complicated.
Anyway, given that newer driver/agent solves the issue (since we get exact resolution, we don't need to resize later on), I would lower the issue for now.
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Afaik, this was windows only bug which got fixed in rhev 3.2. right Tomas?
You are right, it was windows only. And yes, it seems to be fixed. But I have honestly no idea about when, Must have been in 3.2, but since this is reported against spice-gtk, which is only in RHEL...
thanks Tomas, let's close as current release then,