When zoomed out far, zooming in can lead the user to zooming into empty space. This should be prevented so that the trace always remains in the view.
When you implement the limitation, please make sure to not remove the option
of zooming in and leaving some room "to the left of absolute 0". Labels for
decoder annotation rows usually "cover" part of the data, which is why I find
myself constantly moving the trace a little to the right.
In other words: It's OK to enforce that _some_ of the trace is seen, and the
data never completely goes off screen. But enforcing absence of any space, or
the presence of only data at either end of the trace, might be undesirable.
It's also helpful when setting markers (to extract a selected range) to see at least some empty space, to be certain that the beginning or end is included in the range.
I personally like some space to be available as well, I move the traces to various sides/edges of the window intentionally sometimes (for various reasons). Always enforcing that there can't be empty space at top/bottom/left/right of the actual traces would be a bit limiting, IHMO. I quite like the current setup, personally.
What about just enforcing that the beginning and end of the capture always stay left / right of the middle the screen ? When zooming in left of the beginning, no matter how much, the beginning will at worst be in the middle of the screen. Same thing on the other side.