absentmindedness

(noun) preoccupation (generic term)

preoccupancy (generic term)
absorption (generic term)
engrossment (generic term)