[virt-tools-list] [PATCH virt-viewer] Do not resize window to minimum when toggling auto-resize

Daniel P. Berrange berrange at redhat.com
Tue Oct 16 21:41:38 UTC 2012


On Tue, Oct 16, 2012 at 08:42:14PM +0200, Marc-André Lureau wrote:
> The virt_viewer_display_idle() will queue a resize event that will
> result in display size requisition of 50x50. If we later resize the
> window to 1x1 in virt_viewer_window_resize() we end up with a tiny
> window.
> 
> It is legitimate not to force that 1x1 window resize when toggling the
> option. After the rest of the logic in virt_viewer_window_resize(), if
> the remote desktop ends up being resize, that will trigger another
> virt_viewer_set_desktop_size() and finally change the window size
> appropriately.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=856610
> ---
>  src/virt-viewer-window.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

ACK

Thanks for investigating this.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list