I installed this patch on 3.22.10, it did not solve the problem of no menu entries listed when menu headings chosen in virt-manager. I also tried the latest upstream version, 3.22.21, which still has the same problem via x11 and no other time.
The errors in the paste below occur when the "File" menu item is clicked once in the virt-manager via ssh / x11 forwarding (obviously it works locally). The relevant error is:
(virt-manager:12201): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
a few times, followed by
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
(virt-manager:12201): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
(virt-manager:12201): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
I installed this patch on 3.22.10, it did not solve the problem of no menu entries listed when menu headings chosen in virt-manager. I also tried the latest upstream version, 3.22.21, which still has the same problem via x11 and no other time.
The errors in the paste below occur when the "File" menu item is clicked once in the virt-manager via ssh / x11 forwarding (obviously it works locally). The relevant error is:
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed region32_ init_rect: Invalid rectangle passed
a few times, followed by
*** BUG ***
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
[administrator@ ceo1homenx ~]$ virt-manager --debug virt-manager/ virt-manager --debug virt-manager/ virtManager/ __init_ _.pyc'>
[Mon, 02 Oct 2017 20:51:21 virt-manager 12201] DEBUG (cli:261) Launched with command line: /usr/share/
[Mon, 02 Oct 2017 20:51:21 virt-manager 12201] DEBUG (virt-manager:183) virt-manager version: 1.4.1
[Mon, 02 Oct 2017 20:51:21 virt-manager 12201] DEBUG (virt-manager:184) virtManager import: <module 'virtManager' from '/usr/share/
[Mon, 02 Oct 2017 20:51:23 virt-manager 12201] DEBUG (virt-manager:214) PyGObject version: 3.22.0
[Mon, 02 Oct 2017 20:51:23 virt-manager 12201] DEBUG (virt-manager:218) GTK version: 3.22.10
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (engine:496) libguestfs inspection support: False
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (systray:156) Showing systray: False
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (engine:1037) processing cli command uri= show_window= domain=
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (engine:1039) No cli action requested, launching default window
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (manager:203) Showing manager
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (engine:401) window counter incremented to 1
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (engine:161) Loading stored URIs:
qemu+ssh://<email address hidden>/system
qemu+ssh://<email address hidden>/system
qemu+ssh://<email address hidden>/system
qemu+ssh://<email address hidden>/system
qemu:///system
[Mon, 02 Oct 2017 20:51:24 virt-manager 12201] DEBUG (engine:140) Initial gtkapplication activated
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed region32_ init_rect: Invalid rectangle passed
*** BUG ***
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** region32_ init_rect: Invalid rectangle passed
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
(virt-manager: 12201): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu) region32_ init_rect: Invalid rectangle passed
*** BUG ***
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkMenuItem)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed
(virt-manager: 12201): Gtk-CRITICAL **: gtk_widget_ get_preferred_ height_ for_width: assertion 'width >= 0' failed region32_ init_rect: Invalid rectangle passed
*** BUG ***
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** region32_ init_rect: Invalid rectangle passed
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
(virt-manager: 12201): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node arrow, owner GtkMenu) region32_ init_rect: Invalid rectangle passed
*** BUG ***
In pixman_
Set a breakpoint on '_pixman_log_error' to debug
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)
(virt-manager: 12201): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating gadget (node menuitem, owner GtkImageMenuItem)