End boundary of a region doesn't match with the length (bug?)

Hi!
Recently I was making a bug report here:
https://tracker.ardour.org/view.php?id=9096
and faced with some strange mismatch between the “End:” and “Length:” of the MIDI region properties. This region is snapped to grid and placed at the beginning of the session (zero “0”). The end of the region is snapped to grid of coarse (750 samples). The “End:” and “Length:” must be the same, as I understand. But The “End: 737” and “Length:750”.
Is this a bug or this is something special in the program behavior?
and_of_selection_bug

1 Like

Further exploration gave another mismatch thing that is related to the previous I think:
range_snap_bug
If we snap the end boundary of region using G-mouse-mod - snap works well, but if we use R-mouse-mod to snap the range end-boundary - there’s a mismatch behavior (the same numbers 737 & 750).

PS: Without the snapping - the range selection matchs to 750 well.