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 170958 - sheet tab context menu stays enabled while gurus are active
sheet tab context menu stays enabled while gurus are active
Status: VERIFIED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
1.4.x
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-03-20 03:15 UTC by sum1
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2005-03-20 03:15:28 UTC
Steps to reproduce:
1.4.3rc1 on Windows XP.

Steps to reproduce:
- Edit > Sheet > Manage Sheets
- Right-click on the Sheet3 tab and select Remove
- Press OK in the sheets dialog
- Undo

Stack trace:
Program received signal SIGSEGV, Segmentation fault.
0x10027ccf in workbook_sheet_by_index ()
   from c:\Program Files\GnuGTK\bin\libgnumeric-0.dll
(gdb) bt
  • #0 workbook_sheet_by_index
    from c:\Program
  • #1 libgnumeric-0!cmd_reorganize_sheets
    from c:\Program
  • #2 libgnumeric-0!dialog_search_replace_query
    from c:\Program
  • #3 libgobject-2!g_closure_invoke
    from c:\Program
  • #4 libgobject-2!g_signal_has_handler_pending
    from c:\Program
  • #5 libgobject-2!g_signal_emit_valist
    from c:\Program
  • #6 libgobject-2!g_signal_emit
    from c:\Program
  • #7 libgtk-win32-2!gtk_button_get_alignment
    from c:\Program
  • #8 libgobject-2!g_closure_invoke
    from c:\Program
  • #9 libgobject-2!g_signal_has_handler_pending
    from c:\Program
  • #10 libgobject-2!g_signal_emit_valist
    from c:\Program
  • #11 libgobject-2!g_signal_emit
    from c:\Program
  • #12 libgtk-win32-2!gtk_button_set_relief
    from c:\Program
  • #13 libgtk-win32-2!gtk_marshal_VOID__UINT_STRING
  • #14 libgobject-2!g_closure_invoke
    from c:\Program
  • #15 libgobject-2!g_signal_has_handler_pending
    from c:\Program
  • #16 libgobject-2!g_signal_emit_valist
    from c:\Program
  • #17 libgobject-2!g_signal_emit
    from c:\Program
  • #18 libgtk-win32-2!gtk_widget_activate
  • #19 libgtk-win32-2!gtk_propagate_event
  • #20 libgtk-win32-2!gtk_main_do_event
  • #21 libgdk-win32-2!gdk_event_get_graphics_expose
    from c:\Program
  • #22 libglib-2!g_source_remove_poll
    from c:\Program
  • #23 libglib-2!g_main_context_acquire
    from c:\Program
  • #24 libglib-2!g_main_loop_run
    from c:\Program
  • #25 libgtk-win32-2!gtk_main
  • #26 libart_version
  • #27 libgobject-2!g_param_spec_types

Other information:
Comment 1 Morten Welinder 2005-03-20 04:24:18 UTC
Confirmed.  I get a CRITICAL, not a crash, but that's probably random.

It looks like that dialog ought to be workbook-modal so you cannot
mess with sheets underneath it.
Comment 2 Andreas J. Guelzow 2005-03-20 07:00:36 UTC
The dialog is supposed to be workbook modal. And in fact one doesn't seem to be
able to do anything, (with the exception that the sheet tab contect menu is
still active.) I guess the latter is the bug.
Comment 3 Andreas J. Guelzow 2005-03-20 07:06:00 UTC
In fact you can get the same effect by opening the sort dialog, clicking in the
range box and selecting a region in the active sheet for sorting, then change
focus to differnet dialog item, then deleting the active sheet via the sheet tab
context menu and finally clicking `okay' in the sort dialog, boom!
Comment 4 Andreas J. Guelzow 2005-03-22 17:31:48 UTC
I am changing the topic to:

sheet tab context menu stays enabled while gurus are active
Comment 5 Morten Welinder 2005-03-22 17:39:38 UTC
We would need to teach wbcg_update_action_sensitivity about the sheet tabs.
Comment 6 Morten Welinder 2005-03-22 18:08:55 UTC
Fixed in cvs.
Comment 7 sum1 2005-05-31 00:01:53 UTC
Fix looks good with 1.5.1rc1, thanks.
Comment 8 Jon Kåre Hellan 2005-07-14 07:21:34 UTC
Closing