The quoted condition is removal with only a slight action. Excessive movement can create another reason to invalidate prayer.
Opening interactive controls...
Case 3: removing leather socks with a small movement
Hadath during Prayer: Building, Restarting and Twelve Final-Sitting Cases
The quoted condition is removal with only a slight action. Excessive movement can create another reason to invalidate prayer.