ViewPipeSteps icon indicating copy to clipboard operation
ViewPipeSteps copied to clipboard

View tabs appear out of order with many steps

Open daranzolin opened this issue 7 years ago • 2 comments

daranzolin avatar Mar 30 '18 23:03 daranzolin

Noticed this as well. My guess is that it is triggered by View() returning prior to RStudio being done rendering the plane. I briefly looked into whether one can use the Rstudio api to sort the views but no avail. Maybe setting a small delay between the View calls could reduce the issue? But then again, it would make the addin less responsive.

joachim-gassen avatar Sep 08 '18 17:09 joachim-gassen

Right. I did not do extensive testing, but I had previously inserted Sys.sleep(0.02) within the call loop, and it worked for a few cases.

daranzolin avatar Sep 09 '18 03:09 daranzolin