Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

over-eager population of git branch menu when RStudio is focused #3338

Closed
kevinushey opened this issue Aug 17, 2018 · 1 comment
Closed

over-eager population of git branch menu when RStudio is focused #3338

kevinushey opened this issue Aug 17, 2018 · 1 comment
Assignees
Milestone

Comments

@kevinushey
Copy link
Contributor

kevinushey commented Aug 17, 2018

System details

RStudio Edition : Desktop
RStudio Version : v1.2.907
OS Version      : macOS 10.13.6
R Version       : 3.5.1

Steps to reproduce the problem

Open a project containing a large number of Git branches (e.g. RStudio itself), and ensure the Git pane is open. Then, try unfocusing and refocusing the IDE window.

Describe the problem in detail

On each focus, RStudio re-populates the Git Branch menu, and this operation is expensive when many branches exist.

Describe the behavior you expected

The menu should be populated on-demand, when clicking on the branch menu.

Notes

screen shot 2018-08-17 at 11 23 21 am

Note that in this case, we were stuck waiting for ~3s while the menu was populated.

@kevinushey kevinushey added this to the v1.2 milestone Aug 17, 2018
@jmcphers
Copy link
Member

jmcphers commented Sep 5, 2018

Performance regression (keeping in 1.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants