After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691551 - resize guest doesn't trigger on connect
resize guest doesn't trigger on connect
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks: 686781
 
 
Reported: 2013-01-11 14:29 UTC by Alexander Larsson
Modified: 2016-03-31 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2013-01-11 14:29:10 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.
Comment 1 Zeeshan Ali 2013-01-11 14:51:06 UTC
(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.
Comment 2 Alexander Larsson 2013-01-21 08:27:52 UTC
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.
Comment 3 Alexander Larsson 2013-01-21 10:04:08 UTC
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).
Comment 4 Zeeshan Ali 2013-03-01 00:48:20 UTC
Seems it works when going to/from fullscreen but not when going from windowed to maximized (Assuming QXL drivers are in place).
Comment 5 Zeeshan Ali 2013-03-01 00:50:07 UTC
Oh and seems I can only reproduce against Fedora 18 but not Windows XP.
Comment 6 Zeeshan Ali 2013-04-09 22:09:29 UTC
Do I understand correctly that this is actually a SPICE bug? If so, is there a bug already on SPICE bz?
Comment 7 Christophe Fergeau 2013-04-10 08:01:22 UTC
I'm wondering if http://cgit.freedesktop.org/spice/spice-gtk/commit/?id=801f10d485c5133cd4d27ee43f2f1bc8307a24b5 would help here. Marc-André?
Comment 8 Marc-Andre Lureau 2013-04-10 08:29:39 UTC
(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.
Comment 9 Zeeshan Ali 2013-04-13 14:52:14 UTC
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.
Comment 10 Zeeshan Ali 2013-04-19 16:39:52 UTC
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.
Comment 11 Zeeshan Ali 2013-04-19 19:32:17 UTC
I tested against spice-gtk v0.19 and the bug seems to be fixed there. I test against f18 and winxp.