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

Output disappears if too long #3110

Open
DimitrisAndreou opened this issue Dec 26, 2024 · 1 comment
Open

Output disappears if too long #3110

DimitrisAndreou opened this issue Dec 26, 2024 · 1 comment

Comments

@DimitrisAndreou
Copy link

DimitrisAndreou commented Dec 26, 2024

I'm using the latest chrome on a chromebook.

If I run this code, I see the output:

void main() {
  for (var i = 0; i < 111; i++) {
    print('hello ${i + 1}');
  }
}

If I bump that 111 to 112 (or higher), then what I see is the output being generated, and then all of it disappears at the end.
I can still select the text out of the output and paste it somewhere else so I can actually see it. So, this suggest this is merely a UI issue, somehow when the output gets too long, something changes the font color to be that of the background (!), which is very inconvenient to say the least!

@DimitrisAndreou
Copy link
Author

DimitrisAndreou commented Jan 14, 2025

I've heard from others that this is repeatable across platforms/browsers. Strange it doesn't get priority!!

Strangely dartpad can now produce a bit more of output before causing all output to disappear. E.g. previously, in the sample code, "i < 86" would cause the bug (but not < 85), currently one has to try "< 112" to see the bug.

This should reliably reproduce it:

void main() {
for (var i = 0; i < 200; i++) {
print('hello ${i + 1}');
}
}

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

No branches or pull requests

1 participant