GNOME Bugzilla – Bug 691551
resize guest doesn't trigger on connect
Last modified: 2016-03-31 13:58:21 UTC
I had a newly installed XP instance and i installed spice-tools, including the qxl driver. I still got 800x600, even when i restarted the VM. I had to resize the window to get it to tell the agent to resize to the window size. I think we need to do this on the first spice connect too.
(In reply to comment #0) > I had a newly installed XP instance and i installed spice-tools, including the > qxl driver. I still got 800x600, even when i restarted the VM. I had to resize > the window to get it to tell the agent to resize to the window size. I think we > need to do this on the first spice connect too. FWIW, one can also set default resolution from unattended file.
Sure, but thats a different problem. This is the general issue that whenever you start the agent and/or the qxl driver with resize-to-window we don't trigger resize-to-window to the initial window size. This may happen in other cases than on an unattended install.
Another case where this happens is when you're starting a VM (in my case a Fedora 17 VM) with a large window. It boots into gdm with a smaller than window resolution, and when i log in (and the agent starts) it doesn't do a resize to the window size. But, after login if i change the window size (to e.g. a somewhat smaller size) it enlarges the resolution to fit the whole window (or at least as near as possible with my driver).
Seems it works when going to/from fullscreen but not when going from windowed to maximized (Assuming QXL drivers are in place).
Oh and seems I can only reproduce against Fedora 18 but not Windows XP.
Do I understand correctly that this is actually a SPICE bug? If so, is there a bug already on SPICE bz?
I'm wondering if http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=801f10d485c5133cd4d27ee43f2f1bc8307a24b5 would help here. Marc-André?
(In reply to comment #7) > I'm wondering if > http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=801f10d485c5133cd4d27ee43f2f1bc8307a24b5 > would help here. Marc-André? yes, that should help, not sure if it solves all cases though.
So I guess the answer to my first question in comment#6 is 'yes'. Since nobody pointed out any spice bug, I assume the answer to the second one is 'no' so I filed a bug on SPICE: https://bugs.freedesktop.org/show_bug.cgi?id=63500 However this bug is set to be a blocker for 3.8 and 3.8.1 is tomorrow so wonder what to do about it.
This is NEEDINFO on Alex or Marc-Andre? In any case, please provide the needed info ASAP so we can close this already. Its one of the last 2 open bugs on 3.8 list now.
I tested against spice-gtk v0.19 and the bug seems to be fixed there. I test against f18 and winxp.