GNOME Bugzilla – Bug 557153
crash: deleting the last visible sheet
Last modified: 2008-11-20 14:44:40 UTC
start gnumeric 3 sheets make two invisible using the manage sheet dialog close the dialog right click on the last sheet tab and select remove use a menu item... crash
Well, we are counting both visible and non-visible sheets: static void wbcg_menu_state_sheet_count (WBCGtk *wbcg) { int const sheet_count = g_list_length (wbcg->notebook->children); /* Should we enable commands requiring multiple sheets */ gboolean const multi_sheet = (sheet_count > 1); /* Scrollable if there are more than 3 tabs */ gtk_notebook_set_scrollable (wbcg->notebook, sheet_count > 3); wbc_gtk_set_action_sensitivity (wbcg, "SheetRemove", multi_sheet); } We should only be counting visible ones.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.