This is a behaviour that makes sense. At least when the view is aligned in some natural way (the rotate snapping feature depends on the view) . But do you do this in Edit mode?
In the comments to the question at StackExchange above there is a link to an answer to a post about how to rotate a cube (sorry, but this forum thinks my post is spam and prevents a direct link) . He aligns the view and snapping works on vertices since he is in Edit mode (i.e. he has “access” to the vertices and can use them for snapping). If you are not in Edit mode, and the view is not aligned properly, the behaviour is not very understandable as shown below (images from the linked question on StackExchange):