Generally speaking, referees expect attacking players to do one of two things when the GK takes possession. One, stand there and don't move...have the GK go around the attacker to distribute the ball. Or two, the attacker moves back a sufficient distance (to me it is at least a couple of yards) and make no moves towards the GK or in front of the GK when they distribute the ball with a throw or a kick.
Anything else goes against the spirit of the game. If the GK drops the ball to play it with their feet when the attacker is right there is just stupid and there should not be a call.
I did a game once where that happened and the GK realizing was in trouble picked the ball up with his hands, he got a card (this was college) and an IDK.