View Issue Details

IDProjectCategoryView StatusLast Update
0001510ardourbugspublic2008-11-20 23:57
Reportercth103 Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001510: Mix group names in mixer strips don't update when mix groups are renamed
DescriptionAllocate a mixer strip to a mix group in the mixer window. Rename that mix group by clicking on its name in the mix group list and entering a new one. The mix group name in the mixer strip is not updated.

Additional InformationThe attached patch fixes the problem for me.
TagsNo tags attached.

Activities

2007-02-28 13:15

 

mix-groups-name-update-patch (676 bytes)   
Index: gtk2_ardour/mixer_ui.cc
===================================================================
--- gtk2_ardour/mixer_ui.cc	(revision 1531)
+++ gtk2_ardour/mixer_ui.cc	(working copy)
@@ -896,6 +896,14 @@
 	}
 
 	ENSURE_GUI_THREAD(bind (mem_fun(*this, &Mixer_UI::group_flags_changed), src, group));
+
+	/* force an update of any mixer strips that are using this group,
+	   otherwise mix group names don't change in mixer strips */
+	for (list<MixerStrip *>::iterator i = strips.begin(); i != strips.end(); ++i) {
+		if ((*i)->mix_group() == group) {
+			(*i)->mix_group_changed(0);
+		}
+	}
 	
 	TreeModel::iterator i;
 	TreeModel::Children rows = group_model->children();

paul

2007-02-28 21:31

administrator   ~0003446

patch applied and tested. will be in my next commit. thanks very much.

Issue History

Date Modified Username Field Change
2007-02-28 13:15 cth103 New Issue
2007-02-28 13:15 cth103 File Added: mix-groups-name-update-patch
2007-02-28 21:31 paul Status new => resolved
2007-02-28 21:31 paul Resolution open => fixed
2007-02-28 21:31 paul Assigned To => paul
2007-02-28 21:31 paul Note Added: 0003446
2008-11-20 23:57 seablade Status resolved => closed