View Issue Details

IDProjectCategoryView StatusLast Update
0009842ardourbugspublic2024-11-03 13:19
ReporterlaIK4ndPDScproJyv9ofA Assigned Tox42  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0009842: Tempo change doesn't update arrangement rectangles
DescriptionChanging tempo would leave arrangement rectangles out of sync with markers.

Attached is a patch that fixes that.
Steps To Reproduce1. Create two or more arrangement markers
2. Change tempo
TagsNo tags attached.

Activities

laIK4ndPDScproJyv9ofA

2024-10-30 15:51

reporter  

commit-ef530e2 (732 bytes)   
From ef530e21965404fba2405a98a8d02153472b38c5 Mon Sep 17 00:00:00 2001
From: laIK4ndPDScproJyv9ofA <laik4ndpdscprojyv9ofa@noreply.codeberg.org>
Date: Thu, 31 Oct 2024 01:27:57 +1300
Subject: Redraw arrangement rectangles upon tempo change

Previously, changing tempo would leave arrangement rectangles out of sync with markers.

diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index eaf7727098..58906dc47a 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -303,6 +303,7 @@ Editor::tempo_map_changed ()
 
 	 reset_metric_marks ();
 	 update_tempo_based_rulers ();
+	 update_section_rects();
 	 update_all_marker_lanes ();
 	 maybe_draw_grid_lines ();
 }
commit-ef530e2 (732 bytes)   

x42

2024-11-03 13:19

administrator   ~0029093

Merged as 9.0-pre0-347-g4208680160
Thanks!

Issue History

Date Modified Username Field Change
2024-10-30 15:51 laIK4ndPDScproJyv9ofA New Issue
2024-10-30 15:51 laIK4ndPDScproJyv9ofA File Added: commit-ef530e2
2024-11-03 13:19 x42 Note Added: 0029093
2024-11-03 13:19 x42 Assigned To => x42
2024-11-03 13:19 x42 Status new => resolved
2024-11-03 13:19 x42 Resolution open => fixed