Steps to Reproduce:
After the third step @Tyriar mentioned above, if you do a fourth step Toggle editor group layout which switches back the previous layout, snapping state should be retained at least.
Toggle editor group layout
I'm interested in tackling this feature request. From a quick look, it appears to be relatively straightforward, but I'm curious if there are any potential pitfalls that immediately jump out to be aware of?
#14464 Preserve editor size when switching layout
#14464 Remove KEEP_RATIO from the exposed API