Bug 1379547 - Does not display window content until resized
Summary: Does not display window content until resized
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-27 06:12 UTC by Guido Günther
Modified: 2016-10-18 09:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-10-18 09:07:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 836957 0 None None None 2016-09-27 06:12:56 UTC

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!


Note You need to log in before you can comment on or make changes to this bug.