Don't think you can claim this is a bug, as Xiaomi has not promised gestures for non-fullscreen devices - " maybe sometime in the future".
I started
a thread about this in the Mi Max / Pro forum.
I'm guessing that gestures only work with Android 8, but I could be wrong.
Perhaps someone knows.