GNOME Bugzilla – Bug 669184
Data->Shuffle is broken
Last modified: 2012-02-03 03:27:31 UTC
I just put it back on the menu again after -- at least -- 8 years out in the cold. It looks like it needs a bit of life support though.
It looks to me like somebody was rewriting the shuffle code and stop midstream: shuffle_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button, ShuffleState *state) { (...) /* This is free'ed by cmd_data_shuffle_finalize. */ dao = g_new (data_analysis_output_t, 1); input = gnm_expr_entry_parse_as_value ( GNM_EXPR_ENTRY (state->input_entry), state->sheet); type = gnm_gui_group_value (state->gui, shuffle_by); ds = data_shuffling (WORKBOOK_CONTROL (state->wbcg), dao, state->sheet, input, type); Note that the dao contains random info when passed to data_shuffling. data_shuffling is then calling dao_prepare_output (wbc, dao, _("Shuffled")); Which of course will yield to interesting results.
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.