Hello David,

I've only tested on Linux via ssh -X and don't see this. I'll try with Xquartz. I'm testing on 10.11. If that works, I guess there's a missing dep. Which platform are you testing on?

Russell



On 30/09/16 18:59, MacPorts wrote:
#52246: Portfile for l3afpad (GTK+ 3 fork of leafpad)
------------------------------+----------------------
   Reporter:  russell.jones@…  |      Owner:  devans@…
       Type:  submission       |     Status:  assigned
   Priority:  Normal           |  Milestone:
  Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
       Port:  l3afpad          |
------------------------------+----------------------

Comment (by devans@…):

  I was able to build the port but the menus don't function properly.  When
  clicking on say File, instead of a pulldown menu there, only a bold
  horizontal line is drawn.  Terminal output as follows.
  {{{
  Davids-Mac-mini:l3afpad devans$ !!
  l3afpad

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate toplevel GtkWindow 0x7fa1f3820520. Allocation is 1x1, but
  minimum required size is 216x66.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkWindow's child GtkMenu 0x7fa1f38602c0. Allocation is 1x1,
  but minimum required size is 216x66.

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
  *** BUG ***
  In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int,
  unsigned int): Invalid rectangle passed
  Set a breakpoint on '_pixman_log_error' to debug

  *** BUG ***
  In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int,
  unsigned int): Invalid rectangle passed
  Set a breakpoint on '_pixman_log_error' to debug


  (l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1,
  extents 4x4) while allocating gadget (node arrow, owner GtkMenu)

  (l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1,
  extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
  *** BUG ***
  In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int,
  unsigned int): Invalid rectangle passed
  Set a breakpoint on '_pixman_log_error' to debug


  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869470. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38665b0.
  Allocation is 1x138551288, but minimum required size is 27x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869640. Allocation
  is 1x138551296, but minimum required size is 56x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38667a0.
  Allocation is 1x138551288, but minimum required size is 44x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869810. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866990.
  Allocation is 1x138551288, but minimum required size is 31x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f38699e0. Allocation
  is 1x138551296, but minimum required size is 73x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866b80.
  Allocation is 1x138551288, but minimum required size is 61x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869bb0. Allocation
  is 1x138551296, but minimum required size is 77x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866d70.
  Allocation is 1x138551288, but minimum required size is 65x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869d80. Allocation
  is 1x138551296, but minimum required size is 91x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f3866f60.
  Allocation is 1x138551288, but minimum required size is 79x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869f50. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38711f0.
  Allocation is 1x138551288, but minimum required size is 39x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3873200. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38713e0.
  Allocation is 1x138551288, but minimum required size is 25x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate toplevel GtkWindow 0x7fa1f3820520. Allocation is 1x1, but
  minimum required size is 216x66.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkWindow's child GtkMenu 0x7fa1f38602c0. Allocation is 1x1,
  but minimum required size is 216x66.

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

  (l3afpad:6558): Gtk-CRITICAL **:
  gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed
  *** BUG ***
  In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int,
  unsigned int): Invalid rectangle passed
  Set a breakpoint on '_pixman_log_error' to debug

  *** BUG ***
  In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int,
  unsigned int): Invalid rectangle passed
  Set a breakpoint on '_pixman_log_error' to debug


  (l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1,
  extents 4x4) while allocating gadget (node arrow, owner GtkMenu)

  (l3afpad:6558): Gtk-WARNING **: Negative content width -7 (allocation 1,
  extents 4x4) while allocating gadget (node arrow, owner GtkMenu)
  *** BUG ***
  In void pixman_region32_init_rect(region_type_t *, int, int, unsigned int,
  unsigned int): Invalid rectangle passed
  Set a breakpoint on '_pixman_log_error' to debug


  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869470. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: Negative content width -11 (allocation 1,
  extents 6x6) while allocating gadget (node menuitem, owner
  GtkImageMenuItem)

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkImageMenuItem's child GtkAccelLabel 0x7fa1f38665b0.
  Allocation is 1x138551288, but minimum required size is 27x14.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869640. Allocation
  is 1x138551296, but minimum required size is 56x24.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869810. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f38699e0. Allocation
  is 1x138551296, but minimum required size is 73x24.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869bb0. Allocation
  is 1x138551296, but minimum required size is 77x24.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869d80. Allocation
  is 1x138551296, but minimum required size is 91x24.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3869f50. Allocation
  is 1x138551296, but minimum required size is 52x24.

  (l3afpad:6558): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
  underallocate GtkMenu's child GtkImageMenuItem 0x7fa1f3873200. Allocation
  is 1x138551296, but minimum required size is 52x24.

  }}}

  Apparently the menu heights and widths are not being correctly allocated.


_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to