Bug 94495 - RFE: Replace AutoDrawer with a gtk3 solution
Summary: RFE: Replace AutoDrawer with a gtk3 solution
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: virt-viewer (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-11 14:41 UTC by Pavel Grunt
Modified: 2016-06-23 15:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.