Bug 94495

Summary: RFE: Replace AutoDrawer with a gtk3 solution
Product: Spice Reporter: Pavel Grunt <pavelgrunt>
Component: virt-viewerAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pavel Grunt 2016-03-11 14:41:38 UTC
With the recent version of gtk3 (> 3.19) virt-viewer produces some runtime warnings: 
Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node box owner ViewAutoDrawer)
Gtk-WARNING **: Allocating size to SpiceDisplay 0xcffa50 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

They seem to be related to AutoDrawer

Would be nice to drop AutoDrawer and use gtk3 (GtkOverlay) for its functionality (top slider in the fullscreen mode)
Comment 1 Marc-Andre Lureau 2016-04-28 10:49:55 UTC
btw, same issue with virt-manager which uses similar code (in python though)
Comment 2 Cole Robinson 2016-05-17 22:09:26 UTC
Note I just switched to Gtk Overlay + Gtk Revealer in virt-manager and dropped autodrawer, it's much simpler and all those runtime warnings are gone now. Mandates gtk 3.10 for Revealer though...

https://github.com/virt-manager/virt-manager/commit/dc05600324f6b9a82b68581fc0a9c145f9889ce9

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.