I'm having this issue for a long time. Sometimes (rarely) when I select a text range and hit Ctrl+R it has Scope -> Global selected. I really can't reproduce it, but it happens eventually. If you don't notice that, bad things might happen. That's why I always check if Scope -> Selected text is chosen by hitting alt+s after ctrl+r window appears. That is annoying, and the problem is that if I file a bug, it will surely be closed as "Can not reproduce".
I am asking if anyone ever came across this issue? I come across it on diffrent machines, in different versions of OS and IDEA itself, thus this is not a concrete software/hardware setup problem. It just happens in 1 of 100 cases and bugs me.