Bug 1379547

Summary: Does not display window content until resized
Product: [Community] Virtualization Tools Reporter: Guido Günther <agx>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: peter, pgrunt, rbalakri, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 09:07:12 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:

Description Guido Günther 2016-09-27 06:12:57 UTC
As of virt-viewer 4.0 (or spice-gtk 0.32) the spice window just displays

"connected to graphic server"

but then doesn't update the window. When one resizes the window (e.g. makes it slightly larger) the image is displayed correctly from there on.

Bringing it back to "normal size" makes the updating stop again.

This looks somewhat related to #1330824.

Users also reported it for virt-manager but I'm not able to reproduce it there.

Comment 1 Peter Wu 2016-10-12 13:43:05 UTC
Can confirm this for a related package (virt-viewer) on Arch Linux.

Initially there is a very tiny black bar with the console (for an Arch Linux guest, no GUI) in the bottom center. Resizing restores the output. Output also contains:

(remote-viewer:25890): Gtk-WARNING **: Allocating size to SpiceDisplay 0x24aa330 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?


Package versions:
virtviewer 4.0-1
spice-gtk3 0.32-2
spice-glib 0.32-1
gtk3 3.22.1-1

spicy (from spice-gtk3) has no issues with the display or screen updates.

Comment 2 Pavel Grunt 2016-10-12 16:27:31 UTC
Should be fixed in spice gtk v0.33

Comment 3 Peter Wu 2016-10-12 17:11:07 UTC
Confirmed that 0.33 fixes the issue for remote-viewer. Thanks!