After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652990 - gtk_widget_size_allocate warnings when opening a chat
gtk_widget_size_allocate warnings when opening a chat
Status: RESOLVED DUPLICATE of bug 653079
Product: gtk+
Classification: Platform
Component: .General
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-06-20 10:52 UTC by Guillaume Desmottes
Modified: 2011-06-22 12:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2011-06-20 10:52:31 UTC
I get this in empathy-chat with GTK+3 master when opening a chat.

Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate GtkNotebook's child GtkHBox 0x12c5570. Allocation is 336x1, but minimum required size is 92x16.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff197b974 in g_logv (log_domain=0x7fffe99ef877 "Gtk", log_level=G_LOG_LEVEL_WARNING, 
    format=0x7fffe99f1438 "gtk_widget_size_allocate(): attempt to underallocate %s%s %s %p. Allocation is %dx%d, but minimum required size is %dx%d.", args1=0x7fffffffd7c0) at gmessages.c:552
552			G_BREAKPOINT ();
(gdb) bt
  • #0 g_logv
  • #1 g_log
  • #2 gtk_widget_size_allocate
    at gtkwidget.c line 4803
  • #3 gtk_notebook_page_allocate
    at gtknotebook.c line 6332
  • #4 gtk_notebook_pages_allocate
    at gtknotebook.c line 6151
  • #5 gtk_notebook_set_tab_label_packing
    at gtknotebook.c line 7877
  • #6 gtk_notebook_set_child_property
    at gtknotebook.c line 3954
  • #7 container_set_child_property
    at gtkcontainer.c line 871
  • #8 gtk_container_child_set_property
    at gtkcontainer.c line 1134
  • #9 empathy_chat_window_add_chat
    at empathy-chat-window.c line 2309
  • #10 empathy_chat_window_present_chat
    at empathy-chat-window.c line 2460
  • #11 process_tp_chat
    at empathy-chat-manager.c line 189
  • #12 handle_channels
    at empathy-chat-manager.c line 228
  • #13 handle_channels
    at simple-handler.c line 219
  • #14 handle_channels_context_prepare_cb
    at base-client.c line 1981
  • #15 g_simple_async_result_complete
    at gsimpleasyncresult.c line 749
  • #16 context_check_prepare
    at handle-channels-context.c line 556
  • #17 hcc_channel_prepare_cb
    at handle-channels-context.c line 629
  • #18 g_simple_async_result_complete
    at gsimpleasyncresult.c line 749
  • #19 complete_in_idle_cb
    at gsimpleasyncresult.c line 761
  • #20 g_idle_dispatch
  • #21 g_main_dispatch
    at gmain.c line 2477
  • #22 g_main_context_dispatch
    at gmain.c line 3050
  • #23 g_main_context_iterate
    at gmain.c line 3128
  • #24 g_main_loop_run
    at gmain.c line 3336
  • #25 gtk_main
    at gtkmain.c line 1357
  • #26 gtk_application_run_mainloop
    at gtkapplication.c line 112
  • #27 g_application_run
    at gapplication.c line 1326
  • #28 main
    at empathy-chat.c line 160

Comment 1 Guillaume Desmottes 2011-06-21 08:46:14 UTC
This really looks like a Gtk+ 3.1.x regression.
Comment 2 Matthias Clasen 2011-06-22 12:04:15 UTC

*** This bug has been marked as a duplicate of bug 653079 ***