Is Rename tool broken?

I think I've discovered the cause. The IDE apparently assumes that the sketch's folder is also open. That's often the case, but certainly not always for me, especially if I'm working with several sketches.