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 166987 - CC Graphical shell window freeze when resized
CC Graphical shell window freeze when resized
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
2.9.x
Other Linux
: High major
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 166986 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-10 20:31 UTC by Baptiste Mille-Mathias
Modified: 2005-05-16 14:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
icon alignment (89.96 KB, image/png)
2005-02-17 19:45 UTC, Sebastien Bacher
Details

Description Baptiste Mille-Mathias 2005-02-10 20:31:27 UTC
Distribution/Version: Ubuntu

I launch the command gnome-control-center from a terminal, and I resized the
window, then cc crashed.

please find a back trace.

Thread 1 (Thread -1222990656 (LWP 9743))

  • #0 g_type_instance_get_private
    from /usr/lib/libgobject-2.0.so.0
  • #1 pango_fc_font_get_glyph
    from /usr/lib/libpangoft2-1.0.so.0
  • #2 ??
    from /usr/lib/pango/1.4.0/modules/pango-basic-fc.so
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
    from /usr/lib/pango/1.4.0/modules/pango-basic-fc.so
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 g_type_check_instance_is_a
    from /usr/lib/libgobject-2.0.so.0
  • #19 _pango_engine_shape_shape
    from /usr/lib/libpango-1.0.so.0
  • #20 pango_shape
    from /usr/lib/libpango-1.0.so.0
  • #21 pango_layout_get_pixel_size
    from /usr/lib/libpango-1.0.so.0
  • #22 pango_layout_get_pixel_size
    from /usr/lib/libpango-1.0.so.0
  • #23 pango_layout_get_pixel_size
    from /usr/lib/libpango-1.0.so.0
  • #24 pango_layout_get_pixel_size
    from /usr/lib/libpango-1.0.so.0
  • #25 pango_layout_get_pixel_size
    from /usr/lib/libpango-1.0.so.0
  • #26 pango_layout_get_cursor_pos
    from /usr/lib/libpango-1.0.so.0
  • #27 pango_layout_get_extents
    from /usr/lib/libpango-1.0.so.0
  • #28 pango_layout_get_pixel_extents
    from /usr/lib/libpango-1.0.so.0
  • #29 control_center_information_free
  • #30 control_center_information_free
  • #31 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #36 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 gtk_scrolled_window_get_shadow_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #39 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #40 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #44 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 bonobo_dock_get_type
    from /usr/lib/libbonoboui-2.so.0
  • #46 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #48 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #52 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #53 gtk_vbox_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #55 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #56 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #57 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #58 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #59 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #60 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #61 gtk_window_reshow_with_initial_size
    from /usr/lib/libgtk-x11-2.0.so.0
  • #62 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #63 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #64 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #65 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #66 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #67 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #68 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #69 _gtk_window_unset_focus_and_default
    from /usr/lib/libgtk-x11-2.0.so.0
  • #70 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #71 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #72 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #73 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #74 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #75 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #76 gtk_container_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #77 gtk_container_set_reallocate_redraws
    from /usr/lib/libgtk-x11-2.0.so.0
  • #78 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #79 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #80 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #81 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #82 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #83 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #84 main
  • #0 g_type_instance_get_private
    from /usr/lib/libgobject-2.0.so.0

Comment 1 Baptiste Mille-Mathias 2005-02-10 20:32:44 UTC
*** Bug 166986 has been marked as a duplicate of this bug. ***
Comment 2 Baptiste Mille-Mathias 2005-02-10 20:50:50 UTC
To be more precise, cc desn't really crashed but it stopped to redraw the
content of the control-center window.
This bug is really reproductible here (it appears twice in 10 min after I've
opened the bug)
Comment 3 Sebastien Bacher 2005-02-10 20:52:54 UTC
it hangs here to. The issue is created by this patch:

2005-01-26  Jody Goldberg <jody@gnome.org>

        * control-center.c (relayout_canvas) : skip lines that are finished,
          but keep processing up coming lines.  This should make alignment
          work again.  While we're here add a bit more padding at the bottom.

And the patch doesn't fix the alignment here.
Comment 4 Jody Goldberg 2005-02-10 21:26:30 UTC
It fixed it for me.
How are you triggereing the hang ?
Comment 5 Baptiste Mille-Mathias 2005-02-10 21:34:43 UTC
Hello Jody,

the hang appears when I resize the control-center window. Not immediatly but if
try during 30 secondes maximum the hang appears. (I just made it happen again
rigth now)
Comment 6 Baptiste Mille-Mathias 2005-02-11 08:02:18 UTC
I changed the title as is it not very clear
Comment 7 Jody Goldberg 2005-02-11 18:49:41 UTC
I had a theory for a moment that this was somehow locale specific but I'm not
seeing anything in fr_FR.

Can people try to replicate this in the 'C' locale ?
Comment 8 Sebastien Bacher 2005-02-12 00:12:02 UTC
I've tried with different fonts/locales/themes, no change.
Comment 9 Sebastien Bacher 2005-02-17 19:45:53 UTC
Created attachment 37614 [details]
icon alignment

the icons alignment doesn't seems to be good
Comment 10 Baptiste Mille-Mathias 2005-02-17 20:04:24 UTC
I add 2 more comments but don't know if related,
When I resize the CC shell, it is very unresponsive (not like when I resize a
nautilus window).
When the CC shell, the gnome-control-center use all the CPU available.
Comment 11 Christian Kirbach 2005-04-12 19:57:28 UTC
FYI: Bug 300256 claims to have a patch that reverses alphabetical order
of the items - the way it should be.
Comment 12 Baptiste Mille-Mathias 2005-04-13 06:30:11 UTC
I think this patch concern more the bug 167736 (I've opened it few months ago).
Comment 13 Carlos Garnacho 2005-05-16 14:44:40 UTC
it seems that the last commit (with a reworked layout function) fixes this, feel
free to reopen if this happens for you again

The patch has been committed to HEAD