rstudio / rstudio

RStudio is an integrated development environment (IDE) for R
https://posit.co/products/open-source/rstudio/
Other
4.68k stars 1.09k forks source link

Hitting ESC while focused on Source Pane also impacts Console Pane #8254

Closed dantonnoriega closed 3 years ago

dantonnoriega commented 3 years ago

System details

RStudio Edition : Desktop
RStudio Version : Version 1.4.953
OS Version      :  macOS Catalina 10.15.7
R Version       :  R version 3.6.3 Patched (2020-04-28 r78687)

Steps to reproduce the problem

Hitting Esc key while in Editor / Source window always affects Console.

Describe the problem in detail

While editing and running a job, I find that if I hit the ESC key when focused on the editor, it also impacts the console. I don't feel like this was the case before. Super frustrating when running a long job, hitting ESC to say deselect a quick add next, only to find that your job was also cancelled.

(I personally hit ESC frequently when editing code.)

Describe the behavior you expected

I expect that hitting ESC should only impact the focused panel e.g. if focused on editor/source, ESC only affects the editor and that the console be isolated.

kevinushey commented 3 years ago

I see the same behavior in older releases of RStudio (even back in 1.0) so this seems like it's been the case for a while. Are you sure behavior has changed in this regard? Can you elaborate a bit more on when exactly you're seeing this behavior?

If you are willing, older releases of RStudio are available here:

https://rstudio.com/products/rstudio/older-versions/

and you can check whether the behavior has indeed changed as you describe.

dantonnoriega commented 3 years ago

Yeah, I think I'm wrong here. I suppose I just rarely had instances where I had long running code and where I was hitting ESC frequently in the past that it never presented a problem.

I also only recently moved to RStudio from ST3 (basically once ya'll matched ST3 keyboard shortcuts, I opted to switch).

Perhaps I should instead file this as a feature request? I don't understand how folks who, for example, use VIM mode in RStudio don't end up constantly cancelling jobs in the console.

stale[bot] commented 3 years ago

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.

github-actions[bot] commented 3 years ago

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.

stale[bot] commented 3 years ago

This issue has been automatically closed due to inactivity.