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
Restore focus when using Server main menu with mouse #7907
RStudio Edition : Server
RStudio Version : 1.0 and above
OS Version : any
R Version : any
Steps to reproduce the problem
In RStudio Server, note where the keyboard focus is located (say the Console).
Using the mouse, click on the main menu and do something such as Help / About
Dismiss that dialog
Look where keyboard focus is located now
Describe the problem in detail
Unless the action triggered from the menu did something to set focus, it will usually end up on the page body itself (you can see this if you start hitting the Tab key, or have a Live Expression in Chrome devtools of document.activeElement)
Modal Dialogs have a mechanism to save/restore focus, but when invoked from the Server main menu keyboard focus has already gone to the menus themselves, so that mechanism is not functional
Describe the behavior you expected
Focus should return to where it was before user brought up the main menu
Agree this is very low priority; keyboard-only users aren't impacted, and pointing-device users have a clear workaround and haven't complained about this.
Activity
stale commentedon Feb 4, 2021
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.
gtritchie commentedon Feb 4, 2021
Agree this is very low priority; keyboard-only users aren't impacted, and pointing-device users have a clear workaround and haven't complained about this.
Closing as "won't fix".