PlasmaWindowManagement: Avoid unbounded recursion and delay in readData
It recurses for each partial read, which can lead to unbounded recursion depth and delay (retryCount isn't passed). Convert the code to be iterative to fix that, which is also much simpler.
Draft because not even compile tested yet.
Edited by Fabian Vogt