View Issue Details

IDProjectCategoryView StatusLast Update
0001227ardourbugspublic2008-11-20 23:47
Reporterslinkp Assigned Totaybin  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001227: Zoom Focus Edit Cursor doesn't work the same as Zoom Focus Playhead
DescriptionWhen I select Zoom Focus -> Edit Cursor, I find that hitting the + key alternates between zooming to the edit cursor and zooming to the start of the session.
It does this consistently.
TagsNo tags attached.

Activities

slinkp

2006-04-26 05:43

reporter   ~0002496

... except when it doesn't :-P
Now it's zooming in (+) just fine.
It's when I zoom OUT (-) that I get the problem.
I could swear it was happening with + too. Odd.

Phobbes

2006-06-09 21:48

reporter   ~0002510

I can confirm this one. I haven't found a solid pattern, but it seems that it averages every 3 or 4 zoom operations jump to the beginning of the session.

2006-11-05 22:25

 

ardour-b1227-r1073.patch (619 bytes)   
Index: gtk2_ardour/editor_ops.cc
===================================================================
--- gtk2_ardour/editor_ops.cc   (revision 1073)
+++ gtk2_ardour/editor_ops.cc   (working copy)
@@ -1088,7 +1088,7 @@

        case ZoomFocusEdit:
                /* try to keep the edit cursor in the center */
-               if (edit_cursor->current_frame > leftmost_frame + (new_page/2)) {
+               if (edit_cursor->current_frame > new_page/2) {
                        leftmost_after_zoom = edit_cursor->current_frame - (new_page/2);
                } else {
                        leftmost_after_zoom = 0;
ardour-b1227-r1073.patch (619 bytes)   

taybin

2006-11-06 17:57

administrator   ~0002675

Thanks for the patch. Will commit.

Issue History

Date Modified Username Field Change
2006-04-26 05:39 slinkp New Issue
2006-04-26 05:43 slinkp Note Added: 0002496
2006-06-09 21:48 Phobbes Note Added: 0002510
2006-11-05 22:25 brianahr File Added: ardour-b1227-r1073.patch
2006-11-06 17:57 taybin Status new => resolved
2006-11-06 17:57 taybin Resolution open => fixed
2006-11-06 17:57 taybin Assigned To => taybin
2006-11-06 17:57 taybin Note Added: 0002675
2008-11-20 23:47 seablade Status resolved => closed