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
Virtual scroller enabled console truncates output but not associated prompt #7918
RStudio Edition : Server (probably desktop, too, but I only tried server)
RStudio Version : 1.4.878
OS Version : CentOS 7
R Version : 3.6.2
Steps to reproduce the problem
This was noted during a PR #7568 (comment) . Still happens so opening an issue.
Turn on Virtual Scroller: Global Options / Console: "Limit console display to a subset of total content"
In the console, do:
for (i in 1:2000) cat(c(i, "\n"))
Describe the problem in detail
As expected, the output is truncated to about 1000 lines. However, the prompt for the command that generated the truncated output is still shown, making it difficult to realize content was dropped.
Describe the behavior you expected
Same behavior as when Virtual Scroller is off; the prompt gets truncated with the rest of the output.
Note, I don't know how important this is in real-world use. It seems like it could be troublesome, though.
Activity
kevinushey commentedon Oct 15, 2020
I'm still seeing code cut off in unexpected ways with this feature on:
It seems like, after a particular piece of console input, we're only retaining the last 1000 lines of output.
After reloading the UI (Right click -> Reload), I see after trying to scroll back to the top:
So it seems like the console history is then truncated in the "regular" way.
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.
kevinushey commentedon Feb 9, 2021
The original issue still reproduces for me.
astayleraz commentedon Mar 2, 2021
Verified in Version 1.4.1606-1 with the setting on and off and that the truncated text will show when expected and hide when not expected. Added the following QA test/changes for this: https://github.com/rstudio/rstudio-ide-automation/pull/227