Aspects of compactifications and black holes in four-dimensional supergravity door