You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Focus console after executing from source" setting not working #18635
RStudio Edition : Desktop
RStudio Version : RStudio 2026.08.1+195 "Yellow Yarrow" Release (8d474bc4cfad0e317095cd171e8ef44db6887068, 2026-08-14) for Ubuntu Jammy
OS Version : Ubuntu 24.04.4
R Version : 4.6.1
Steps to reproduce the problem
I have not been able to make a reproducible example that works on a different system.
Describe the problem in detail
When I execute code in RStudio with the Source Editor popped out, the cursor moves to the console automatically. However, Tools > Global Options > Code > Execution > "Focus console [...]" is not ticked.
I have tried (restarting each time):
Tools > Global Options > Code > Execution > toggling "Focus console [...]" ON, restarting R, toggling OFF
In ~/.config/rstudio/rstudio-prefs.json, adding "focus_console_after_exec": false to the JSON.
Activity
restack the main window instead of leaving it alone when it is visible
merge main
re-add the NEWS entry for #18635
hand focus back when de-miniaturizing had to activate the main window
don't bounce OS focus when surfacing the main window behind a satelli…
symbalex commentedon Oct 1, 2026
Closed in #18642
Thank you Kevin and Gary.