View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006750 | ardour | bugs | public | 2016-01-25 16:43 | 2016-01-28 03:55 |
Reporter | don3 | Assigned To | |||
Priority | low | Severity | tweak | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | PC | OS | Linux | OS Version | Fedora 21+CCRMA |
Product Version | 4.4 | ||||
Summary | 0006750: Zoom in/out with Zoom Focus set to Playhead causes Editor to move to playhead location | ||||
Description | Ardour version 4.x. Tested recently on 4.6, 4.6.96. Mentioned originally in bug 0006722: "... setting Zoom Focus to Playhead, and zooming in or out using the '+' or '-' buttons (or keys bound to them) causes the playhead to move to the center of the screen. This is inconsistent with other Zoom Focus behaviors, such as Mouse, or Edit point with the Edit Point set to Mouse, Marker, or (even) Playhead: none of the others settings cause any movement in the focus point (until one zooms out quite far [which is possibly another topic])" I'm not sure whether this behavior is intentional. | ||||
Steps To Reproduce | 1: Open a session with some non-uniform audio in track(s), zoomed to a level that certain "landmarks" (distinct recognizable shapes) in the waveform(s) can be seen. (Or just some set of regions, marks, regions, etc that is visually distinct.) 2: Position the waveform horizontally such that some "landmark" is toward the left side of the Editor track area. 3: Place the playhead toward the right side of the Editor track area. 4: Set Zoom Focus to Mouse, move the mouse cursor to the "landmark" area toward the left, try scrolling in and out with the mouse scroll wheel. Notice that zooming is centered on the mouse position. (Zooming in a step or two will probably push the playhead off the screen, but zooming back out will bring it back.) Avoid zooming too far out (beyond approx the level of the whole session) where things get shifted horizontally -- that's a different issue. 5: With the same starting arrangement (mouse and playhead in the same places), try zooming in and out using keyboard keys bound to '+' and '-' zoom buttons ('=' and '-' for me). Behavior should be the same as with mouse scroll wheel. 6: With the same starting arrangement, place a marker near the "landmark" toward the left (or use an existing one), and make sure the marker is selected. Set Zoom Focus to Edit point, set Edit Point to Marker. Zoom in and out using keyboard keys. Zooming should now be centered on the marker, instead of the mouse, but otherwise the behavior is the same as with the mouse. 7: With the same starting arrangement, set Zoom Focus to Edit point, set Edit Point to Playhead. Zoom in and out using keyboard keys. Zooming should now be centered on the playhead, but otherwise the same as above. 8: With the same starting arrangement, set Zoom Focus to Playhead. Zoom in and out using keyboard keys. Result: Editing area moves abruptly to center playhead on the canvas, then zooming is centered around playhead. Expected behavior (I think): Zooming should be focused on playhead, in place -- ie, no horizontal movement -- similar to other modes. Presumably this should behave the same as in step 7. | ||||
Tags | No tags attached. | ||||
|
Unfortunately I don't see a way to edit original bug fields, so... "... none of the others settings cause any movement in the focus point (until one zooms out quite far [which is possibly another topic])" . . . "Avoid zooming too far out (beyond approx the level of the whole session) where things get shifted horizontally -- that's a different issue." Pretty sure it isn't really a matter of how far out one zooms, but that the GUI won't allow display of "negative time". I'd love to see this restriction removed someday, but I'm guessing it wouldn't be a small thing, and in any case it's OT here -- except to say that indeed zooming out "too far" may mess up the original positioning of things, so some extra fiddling may be needed within the procedure above. It may help to start the regions or area of interest at some offset, like +10 minutes, or +1 hour, which is what I normally do anyway. |
|
I now see what you mean. I think it would be more consistent to implement it the way you suggest and looking back through the commit history it looks like it did at one point work that way but was changed in commit(81fd8dd960). So perhaps there is a good reason for the current behaviour or it suits a particular work flow. You may need to wait for feedback from others before it can be changed. My opinion is that the playhead should be centered if off screen and try to keep it in place otherwise. |
|
Thanks for locating the commit. Yes it does look to be intentional, the preference of Carl and oofus, at least, so it must suit their work flow - although they did allow that others might want to make it optional. Interesting that they only changed the ZoomFocusPlayhead case. This isn't a big deal for me, as I don't use these modes often, and as far as I can tell, setting Zoom Focus to Edit point and Edit Point to Playhead gets the same thing but with centering behavior consistent with all the other modes. So we can close this unless others feel more strongly that it should be changed (or optioned). Just wanted to make sure it was documented. :-) |