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 669184 - Data->Shuffle is broken
Data->Shuffle is broken
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2012-02-01 15:36 UTC by Morten Welinder
Modified: 2012-02-03 03:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2012-02-01 15:36:44 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.
Comment 1 Andreas J. Guelzow 2012-02-03 01:52:31 UTC
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.
Comment 2 Andreas J. Guelzow 2012-02-03 03:27:31 UTC
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.