View Issue Details

IDProjectCategoryView StatusLast Update
0004284ardourbugspublic2020-04-19 20:15
Reporterrytmenpinne Assigned Tocth103  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0-alpha10 
Target Version3.0-beta1 
Summary0004284: [PATCH] Start/End markers are removed when clearing all ranges..
Descriptionnothing more to it really.. it's quite annoying tho :)
TagsNo tags attached.

Activities

2011-08-20 21:36

 

4284.patch (819 bytes)   
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 07aeda3..ad65d4e 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1838,11 +1838,13 @@ Editor::clear_ranges ()
 
 		Location * looploc = _session->locations()->auto_loop_location();
 		Location * punchloc = _session->locations()->auto_punch_location();
+		Location * sessionloc = _session->locations()->session_range_location();
 
 		_session->locations()->clear_ranges ();
 		// re-add these
 		if (looploc) _session->locations()->add (looploc);
 		if (punchloc) _session->locations()->add (punchloc);
+		if (sessionloc) _session->locations()->add (sessionloc);
 
 		XMLNode &after = _session->locations()->get_state();
 		_session->add_command(new MementoCommand<Locations>(*(_session->locations()), &before, &after));
4284.patch (819 bytes)   

royvegard

2011-08-20 21:39

reporter   ~0011390

Attached patch seems to fix this.

cth103

2011-09-06 00:20

administrator   ~0011444

Patch applied as SVN 10055. Thanks!

system

2020-04-19 20:15

developer   ~0022725

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2011-08-20 19:52 rytmenpinne New Issue
2011-08-20 21:36 royvegard File Added: 4284.patch
2011-08-20 21:39 royvegard Note Added: 0011390
2011-08-22 13:19 cth103 cost => 0.00
2011-08-22 13:19 cth103 Target Version => 3.0-beta1
2011-08-22 13:20 cth103 Summary Start/End markers are removed when clearing all ranges.. => [PATCH] Start/End markers are removed when clearing all ranges..
2011-09-06 00:20 cth103 Note Added: 0011444
2011-09-06 00:20 cth103 Status new => resolved
2011-09-06 00:20 cth103 Resolution open => fixed
2011-09-06 00:20 cth103 Assigned To => cth103
2020-04-19 20:15 system Note Added: 0022725
2020-04-19 20:15 system Status resolved => closed