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

IntelliJ IDEA not showing speed or count progress, but only without using SLF4j #79

Closed
astubbs opened this issue Jun 26, 2020 · 2 comments

Comments

@astubbs
Copy link

astubbs commented Jun 26, 2020

Might be related to #23 and #21, whenever I use the bar from within IDEA (works as expected outside), I only see the bar, I never see the speed or progress counter, I only see them once the progress is complete.

Eg running RangeTest, during run I see:
Screen Shot 2020-06-26 at 12 34 59 PM

Upon completion I see:
Screen Shot 2020-06-26 at 12 35 10 PM

The SLF4J test I get as expected:
Screen Shot 2020-06-26 at 12 35 57 PM

Haven't attempted to fix, but let me know if I can help in any way. Love the library! If I get some time this weekend I might take a crack.

IntelliJ IDEA 2020.1.1 (Community Edition)
Build #IC-201.7223.91, built on April 30, 2020
Runtime version: 11.0.6+8-b765.40 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.5
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Registry: analyze.exceptions.on.the.fly=true, debugger.watches.in.variables=false, compiler.automake.allow.when.app.running=true
Non-Bundled Plugins: awesome.console, claims.bold.intellij.avro, Lombook Plugin, com.thoughtworks.gauge, org.avaje.ebean11.enhancer, org.intellij.scala, org.jetbrains.kotlin, mobi.hsz.idea.gitignore, MavenRunHelper, BashSupport, aws.toolkit, org.asciidoctor.intellij.asciidoc
@astubbs astubbs changed the title Possibly different problem with IntelliJ IDEA but only without using SLF4j IntelliJ IDEA not showing speed or count progress, but only without using SLF4j Jun 26, 2020
@astubbs
Copy link
Author

astubbs commented Jun 26, 2020

It's quite odd, you can see the render is correct, it's somewhere between the print stream#print and what shows up on the console:
Screen Shot 2020-06-26 at 12 44 08 PM
Screen Shot 2020-06-26 at 12 44 03 PM

@ctongfei
Copy link
Owner

Thanks @astubbs !
Oh yeah, I have encountered this myself. This is because IntelliJ's test environment did not flush the output frequently.
If you just use IntelliJ's internal Run/Debug, it works perfectly.
This is probably out of my hand to fix.

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

2 participants