Rstudio loses focus on script

  • Sometimes Rstudio loses the 'focus' on the script pane/window.
  • By 'focus' I mean ability to type text.
  • I can regain focus by clicking with the mouse in script pane/window (but this is not optimal).

The problem occurs in different conditions, but I can reproduce one of them:

  • Start Rstudio

  • Create a new script.

  • Pop-out the script in a new window.

  • Type some code (e.g. 2+2), select it, and press ctrl + shift + p to open command pallete and click 'style selection'.

  • Now focus is lost.

  • ctrl + 1 does not regain focus on script, only mouse-click works.

Issues · rstudio/rstudio (

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.