Skip to content

Focus moves to console after commands finish execution #8486

Todo

Description

@david-cortes

Steps to reproduce:

  • Open some R file in the editor.
  • Execute the following statement in the console: Sys.sleep(3).
  • Click some line of the R file in the editor, optionally start typing there.
  • Wait until the command above finishes executing.

Expected behavior: if focus was on the editor at the time the last command finished executing, focus should remain in the editor.

Actual behavior: focus switches to the console.

Setup: RStudio 1.4.1056.

Activity

  1. gtritchie commented on Nov 28, 2020

    @gtritchie
    Member

    I reproduced this on version 1.2.5042, 1.3.1093, and latest daily builds of 1.4, so not a regression.

    From an accessibility point of view, this is a problem; keyboard focus shouldn't suddenly change focus while in the middle of working in the editor.

  2. github-actions commented on May 30, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  3. added
    stale
    on May 30, 2021
  4. david-cortes commented on May 30, 2021

    @david-cortes
    Author

    Still very relevant.

  5. removed
    stale
    on May 30, 2021
  6. added this to the Later milestone on Jul 19, 2021
  7. added theissue type on Nov 26, 2026
  8. modified the milestones: Later, 2027.01 on Nov 26, 2026
  9. self-assigned this
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions