I want to transform the expression x*y*Inactive[Sum][1/n^2,{n,1,Infinity}] to the expression Inactive[Sum][x*y/n^2,{n,1,Infinity}] with the symbolic function Distribute :
It’s distributing across all positions, as it should. If it were inconsistent in this regard, that would be a (serious) bug.
I believe a common approach to this is to use a replacement rule. I am not on a machine with Mathematica at the moment, but something like the following.