This can happen if the viewport is not redrawn before calling an operator (frequent in python scripting). Related to T64805